Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
documentation:monitor:directpage [2014/03/22 22:02] – [3A: TEMPO] pulkomandy | documentations:monitor:directpage [2015/02/28 18:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 43: | Line 43: | ||
* Bit 1: double height | * Bit 1: double height | ||
* Bit 6: foreground color change for whole screen | * Bit 6: foreground color change for whole screen | ||
- | * Bit 7: background color chnage | + | * Bit 7: background color change |
===== 2B: COLOR ===== | ===== 2B: COLOR ===== | ||
Line 159: | Line 159: | ||
* bit 6: not formatted | * bit 6: not formatted | ||
- | Used as information about the type of controller | + | Used as information about the type of controller |
* 43 (' | * 43 (' | ||
* 44 (' | * 44 (' | ||
Line 170: | Line 170: | ||
====== Keyboard scanning, interrupts, custom character tables ====== | ====== Keyboard scanning, interrupts, custom character tables ====== | ||
+ | ===== 59: SEQUCE - Screen rendering state ===== | ||
+ | This is used as state saving for the screen display state machine. In particular, it allows rendering of multi-byte accented characters. | ||
+ | ===== 5A: US1 ===== | ||
+ | Temporary parameter storage for US escape sequences | ||
+ | |||
+ | ===== 5B: ACCENT ===== | ||
+ | Temporary storage for multi-byte accented characters | ||
+ | |||
+ | ===== 5C,5D: SS2GET, SS3GET ===== | ||
+ | Screen State machine temporary storage. These store the two parameters for multi-byte accent sequences. | ||
+ | |||
+ | ===== 5E-5F: SWIPT - Software interrupt table pointer ===== | ||
+ | This points to the table of system calls used by the SWI handler. Modifying this value allows redirecting the handlers for your own use. | ||
+ | |||
+ | ===== 61-62: TIMEPT - Ticker routine pointer ===== | ||
+ | This points to a routine to be called on every interrupt. | ||
+ | |||
+ | ===== 63: SEMIRQ ===== | ||
+ | Set to a non-zero value to re-route the IRQ handler using the IRQPT below | ||
+ | |||
+ | ===== 64-65: IRQPT ===== | ||
+ | Pointer to a routine to call on interrupt when SEMIRQ is set. | ||
+ | |||
+ | ===== 67-68: FIRQPT ===== | ||
+ | Pointer to a routine to call on FIRQ. This is either the lightpen scan, or the barcode reader. | ||
+ | |||
+ | ===== 6A-6B: SIMUL ===== | ||
+ | ===== 6D-6E: CHRPTR ===== | ||
+ | Pointer to keyboard decoding table (used by GETCH) | ||
+ | |||
+ | ===== 70-71: USERAFF ===== | ||
+ | Pointer to user characters for codes 128-255. | ||
+ | |||
+ | ===== 73-74: GENPTR ===== | ||
+ | Pointer to characters for codes 32-127. Characters are stored bottom to top. | ||
+ | |||
+ | ===== 76: LATCLV - Keyboard repeat delay ===== | ||
+ | |||
+ | ===== 77: GRCODE ===== | ||
+ | Control char to send to printer to switch to graphic mode. | ||
+ | |||
+ | ===== 78: DECALG ===== | ||
+ | Lightpen calibration offset | ||
+ | |||
+ | ===== 7F: DEFDST ===== | ||
+ | Default density for current floppy controller. | ||
+ | |||
+ | ===== 80: DKFLG ===== | ||
+ | Set to FF if there is a floppy controller connected. | ||
+ | |||
+ | ===== 82-85: serial port variables ===== | ||
+ | These are not used for anything in the ROM, but the software provided with the RF57 serial extension uses this area. | ||
+ | |||
+ | |||
+ | ===== 81-CC: system stack ===== | ||
+ | The stack grows downwards. | ||
+ | |||
+ | ===== CD-E4: LPBUF ===== | ||
+ | Working area for the lightpen reading code. | ||
+ | |||
+ | ===== FE-FF: FSTRST - Fast Reset ===== | ||
+ | This is set on first boot after the direct-page has been initialized. The Reset handler checks for this, and doesn' |