Syntax | Example | Notes |
|
|
|
|
| ||
| SETOFFD | Set offset of display inside disp0 in bytes from C[X]&7FF. | ||
| HSCREEN | Return how many lines the screen contains to Ca. | ||
| UNCNFGD | Unconfigure the 4KB block containing the top | ||
|
| This will refresh the header on the display. | ||
| GETTIME | Emulates gettime function in ROM, and also updates the 8192Hz timer | ||
|
| accordingly. |
|
|
|
| Purpose: Get current time: | ||
|
| Return CS iff time appears corrupt. | ||
|
| Entry: Timer2 Running | ||
|
| Exit: Timer2 Running | ||
|
| CC - A:NEXTIRQ (ticks) | ||
|
| C:Time | (ticks) | |
|
| D:Timer2 | (sign extended ticks) | |
|
| P:0, HEX | ||
|
| CS - Same as the | ||
|
| is corrupt because of one of: | ||
|
| (1) TIMESUM # CRC(NEXTIRQ) | ||
|
| (2) | TIMER2 was not running on entry. | |
|
| (3) | Time not in range: [BegofTime, EndofTime) | |
| MIDAPP? | Carry=1 on HP 48gII, 0 otherwise. | ||
| CONFIGD | Configure a 4KB block containing the top | ||
|
| C.A = Start address of the block (must be multiple of 4KB). | ||
|
| If already configured, unconfig, refresh and | ||
| BIGAPP? | Carry=1 on HP 49g+ or 50g, 0 otherwise. | ||
| RESETOS | Reset the calculator (including the OS). | ||
|
| This code doesn’t return, the calculator restarts at 00000000. | ||
| REFRESHD | Force to refresh the header on the display. | ||
| AUTOTEST | - 003AA: AUTO_USER_TEST | ||
|
| - 003A3: MANU_USER_TEST | ||
|
| - 0039C: MANUFACTURE_TEST | ||
|
| - Other: signed index, | ||
| ACCESSSD | SD Card functions (depending on P, see HP’s vgeraccess for more details. | ||
| PORTTAG? | Return port number depending on tag name. | ||
|
| Entry: D1: name (size+chars) | ||
|
| Exit: A[A]: port number | ||
|
| D1: after name | ||
|
| Carry: clear if ok, set if wrong name |
The Development Library