comparison src/defs.s @ 137:18940aa42dcf

Clean up some details in cold start initialization
author William Astle <lost@l-w.ca>
date Sat, 13 Jul 2024 12:56:05 -0600
parents 917b4893bb3d
children
comparison
equal deleted inserted replaced
136:e49bd0493baf 137:18940aa42dcf
11 keyb_ctrl equ 0x02 ; ctrl pressed 11 keyb_ctrl equ 0x02 ; ctrl pressed
12 keyb_shift equ 0x01 ; shift pressed 12 keyb_shift equ 0x01 ; shift pressed
13 linebuffsize equ 0x100 ; the line input buffer (256 bytes) 13 linebuffsize equ 0x100 ; the line input buffer (256 bytes)
14 stringstacknum equ 20 ; number of entries on the anonymous string descriptor stack 14 stringstacknum equ 20 ; number of entries on the anonymous string descriptor stack
15 stackheadroom equ 50 ; required headroom for the stack on OM checks 15 stackheadroom equ 50 ; required headroom for the stack on OM checks
16 stringspacedef equ 200 ; default string space allocation
16 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 17 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
17 ; Program storage structure 18 ; Program storage structure
18 ; 19 ;
19 ; The program itself consists of two sets of data. The first is a table of line numbers. Each consists of a 16 bit 20 ; The program itself consists of two sets of data. The first is a table of line numbers. Each consists of a 16 bit
20 ; pointer to the line data and a 16 bit unsigned line number. These entries are stored in line number order. The line 21 ; pointer to the line data and a 16 bit unsigned line number. These entries are stored in line number order. The line