bf289b0a67
Use straight VARIABLE instead of Z80MEM+. Initially, I used this system to allow z80a to be embedded in a system binary, but now I don't think it's worth it. Compiled, z80a is 2.5k. Sure, it's a sizeable amount of RAM, but I think that even with it in RAM, I'll manage a bootstrap within my most constrained machine, the SMS with 8K.
17 lines
702 B
Plaintext
17 lines
702 B
Plaintext
RAMSTART FUTURE USES +3c BLK(*
|
|
+02 CURRENT +3e FUTURE USES
|
|
+04 HERE
|
|
+06 C<? +51 CURRENTPTR
|
|
+08 C<* override +53 (emit) override
|
|
+0a NLPTR +55 (key) override
|
|
+0c C<* +57 FUTURE USES
|
|
+0e WORDBUF
|
|
+2e BOOT C< PTR +5d adev's variables
|
|
+30 IN> +5f FUTURE USES
|
|
+32 IN(* +70 DRIVERS
|
|
+34 BLK@* +80 RAMEND
|
|
+36 BLK!*
|
|
+38 BLK>
|
|
+3a BLKDTY
|
|
(cont.)
|