diff src/vars.s @ 132:917b4893bb3d

Checkpoint before redoing a bunch of code for clarity
author William Astle <lost@l-w.ca>
date Mon, 24 Jun 2024 23:44:39 -0600
parents 9f23ddc5165f
children e49bd0493baf
line wrap: on
line diff
--- a/src/vars.s	Sat May 18 00:41:46 2024 -0600
+++ b/src/vars.s	Mon Jun 24 23:44:39 2024 -0600
@@ -11,8 +11,10 @@
 freetop         rmb 2                           ; top of free memory (bottom of string space)
 stringtab       rmb 2                           ; bottom of used string space
 cstackptr       rmb 2                           ; bottom of the "stack frame" stack (the actual stack is below here)
-progtext        rmb 2                           ; pointer to start of program text
-vartab          rmb 2                           ; pointer to start of integer scalars
+prog_linetab    rmb 2                           ; pointer to start of the program line table
+prog_linetabp   rmb 2                           ; pointer to the first free program line table entry
+prog_text       rmb 2                           ; start of the program text data (immediately after the line table)
+vartab          rmb 2                           ; pointer to start of integer scalars (the runtime heap)
 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