Quote:
The "chk" and the "ass" programs to not provide the required checksums and neither does the MROM28.
Basicly the checksum of the CHK program must be OK first. It makes no sense to build a checksum with a wrong checksum program.
For the HP28S we have to use this program:
CHK [1142] for HP28S Rev. 2BB
<< RCLF STD HEX 64 STWS 48 CF SWAP RCL ->STR 16 STWS
DUP # 0h 1 ROT SIZE
FOR j
OVER j j SUB NUM R->B XOR RL
NEXT
->STR 3 OVER SIZE 1 - SUB ROT STOF SWAP DROP
>>
Of course the text <<, >> and -> have to replaced by the correct characters (otherwise you get a syntax error either). It's of course also important that the cases are matching, so a
... OVER J J SUB ...
is different to a
... OVER j j SUB ...
You can't do something wrong with the whitespaces. The code part "RCL ->STR" format the code always in the same way (on the HP28S with ROM rev 2BB, because of this the code for the HP28C looks different).
When you have the correct calculator and typed in the corresponding program correctly the return of
'CHK' CHK
must be "1142" in stack level 1.
Cheers
Christoph