HP97 The journey begins
|
11-30-2019, 01:22 PM
Post: #165
|
|||
|
|||
RE: HP97 The journey begins
(11-30-2019 12:12 PM)Harald Wrote: Hi Tony, Hi Harald, The new merged key codes are written to or read from the card just as any other data would be. This is an example of a subroutine that will display the message stored in index position 00. The message will display, while a PAUSE is executed, then the program continues. f LBL A 0 [h] [B] // merged key code for a Pause Msg RTN if "HELLO" is message #00, then "HELLO" will be displayed during the PAUSE. These codes tell the new CPU to jump to a subroutine that processes the messages. This does not exist in the original CPU and I expect the new codes execute similar to a NOP. I will test that in next day or so, but that's what happens in the emulator when these codes are disabled. In the original CPU, pressing [h] [A] for example, does an f GSB A and the PRGM mode display will show 31 22 11. The new CPU will show 31 11. You have to bear in mind however, the stack is raised in the original and new CPU's when the message index is entered as it ends up in the X register. cheers Tony |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)