Save/Restore Display Mode
|
05-20-2015, 01:45 AM
Post: #3
|
|||
|
|||
RE: Save/Restore Display Mode
Store display mode from the PPC ROM P.400 ...
"SD" saves flags 16-55 in a register defined by X, so that the user may then change the contents of register d (particularly display format and trig mode) during a program yet, have the capability of restoring the original format at the end of the program by by calling "RD". Code: LBL "SD" Store Display mode Complete Instructions for SD 1. Insert into X a register number. 2. XEQ "SD" 3. After execution of the program, the register that was chosen will contain an alpha string consisting of a star and the final five bytes of register d. 4. The same register number, followed by XEQ "SD", will restore the previous status of flags 16-55 (just prior to XEQ "SD"). 5. "SD" saves Y, Z, and T in X, Y, and Z. X is placed in L. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Recall display mode, from the PPC ROM P.374 ... "RD" is designed to be used to restore the status of flags 16-55 of register d after "SD" was used to save them. "RD" maintains the status of flags 0-15 when restoring the remaining flags. If you should wish to clear flags 0-15, execute "RF" , then "RD". Code: LBL "RD" Recall Display mode Complete Instructions for RD 1. Insert into X the number of the register that was initialized by "SD". 2. XEQ "RD" to restore flags 16-55. 3. "RD" saves Y, Z, and T in X, Y, and Z. X is placed in L. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Save/Restore Display Mode - Dave Britten - 05-19-2015, 01:06 PM
RE: Save/Restore Display Mode - Dieter - 05-19-2015, 06:07 PM
RE: Save/Restore Display Mode - Sylvain Cote - 05-20-2015 01:45 AM
RE: Save/Restore Display Mode - Dieter - 05-21-2015, 12:12 PM
RE: Save/Restore Display Mode - Sylvain Cote - 05-22-2015, 12:25 AM
|
User(s) browsing this thread: 1 Guest(s)