HP-33C works! Message #7 Posted by Eric Smith on 9 Apr 2004, 6:16 a.m., in response to message #1 by Eric Smith
I've now got the HP-33C working in Nonpareil. As I suspected, the 0520 instruction is rotate left A. I'll try to get a 0.31 release out within the next few days.
I've only done limited testing, but the 33C seems to work correctly, including the logarithmic and exponential functions that are not working on the 25.
On the other hand, the 32E and 37E have problems. On the 32E, number entry always thinks there's a decimal point after the first digit, and addition and subtraction always seem to overflow. Multiplication and division work correctly though, as do many other functions. On the 37E number entry is OK, but it has the addition and subtraction problem, and e^x doesn't work. I suspect that these problems are all due to the same bug causing problems on the 25.
I have not yet implemented a way to save the continuous memory, so for now the 33C always starts up with "Pr Error". And I haven't yet added the instruction that checksums the ROM (1460 octal), so the self-test always gets "Error 9".
I knew the Spice architecture was fairly similar to the Woodstock, but I have been pleasantly surprised at how easy it was to get the 33C going.
I can't try the 34C, 38E, and 38C yet because I haven't implemented the necessary ROM bank switching. I don't know how it works, although I suspect that fetching the opcode 1060 simply toggles the bank selection for the ROMs containing the current address.
|