changeset 25:9593401d23cf

Rearrange some direct page stuff Collapse two blocks of direct page stuff to be contiguous.
author William Astle <lost@l-w.ca>
date Sun, 13 Nov 2022 22:07:38 -0700
parents 9586c547fcfa
children 001b9ab63731
files src/lwbasic.s
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/lwbasic.s	Thu Nov 10 21:29:47 2022 -0700
+++ b/src/lwbasic.s	Sun Nov 13 22:07:38 2022 -0700
@@ -205,9 +205,6 @@
 objecttab       rmb 2                           ; pointer to start of arrays and other variable sized objects
 freestart       rmb 2                           ; pointer to start of unallocated memory
 readlinenoecho  rmb 1                           ; if nonzero, the readline routine won't echo its input
-                rmb 0x71-*                      ; align RSTFLG/RSTVEC for stock ROM compatibility
-RSTFLG          rmb 1                           ; 0x55 if RSTVEC is valid
-RSTVEC          rmb 2                           ; points to warm start routine (must start with NOP)
 console_curptr  rmb 2                           ; current cursor pointer for console driver
 console_blnkdel rmb 1                           ; cursor blink delay
 console_truelc  rmb 1                           ; set to nonzero if the console supports true lower case (gfx, etc.)
@@ -219,6 +216,9 @@
 keyb_curscan    rmb 1                           ; current repeating scan code
 keyb_buffw      rmb 2                           ; keyboard ring buffer write pointer
 keyb_buffr      rmb 2                           ; keyboard ring buffer read pointer
+                rmb 0x71-*                      ; align RSTFLG/RSTVEC for stock ROM compatibility
+RSTFLG          rmb 1                           ; 0x55 if RSTVEC is valid
+RSTVEC          rmb 2                           ; points to warm start routine (must start with NOP)
                 rmb 0x100-*                     ; make sure the stuff that isn't direct page is outside of it
 SW3VEC          rmb 3                           ; SWI3 vector (for compatibility)
 SW2VEC          rmb 3                           ; SWI2 vector (for compatibility)