Post Reply 
Classic, Woodstock and Spice Emulators
06-19-2016, 06:51 AM (This post was last modified: 06-19-2016 06:57 AM by Harald.)
Post: #41
RE: Classic, Woodstock and Spice Emulators
(06-18-2016 04:48 PM)Dieter Wrote:  
(06-17-2016 08:27 AM)Harald Wrote:  And here comes the "User Diagnostic" program for the emulator:

This program does not run on Bernhard's HP67 emulator since it uses the old syntax (e.g. tests without "?", "CL REG", ":" etc.).

But you also wrote:

; (Note that a real HP-67 returns -8.888888888-88 since it doesn't round the last digit correctly.)

The program calculates 1/9E+87 which is 1,111111111Eā€“88 and then this is multiplied by ā€“8, which is ā€“8,888888888Eā€“88. This is exactly what the HP67 emulator returns (and I hope a real HP67 does so as well). Why should it display 8,88...9 instead?


Hi Dieter,

I have posted both versions of the program to show the difference in the mnemonics.
The other version runs, but as Bernhard said the flags were not set correctly. I assumed the flags would be set correctly, but the way Bernhard has written the emulator, loading a card does not set flag 3. Instead it loads the flags as set in the program file.

The comments are taken from Willi Kunz's version for his emulator. I was too lazy to type the program and instead took it from Willi's website.

Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Classic, Woodstock and Spice Emulators - Harald - 06-19-2016 06:51 AM

User(s) browsing this thread: 1 Guest(s)