Added CODE and DATA type headers, and using offsets for LDI and SVI. Not bothering with multitasking and context switching for now.

This commit is contained in:
Russell-S-Harper
2019-04-26 20:37:50 -04:00
parent 8576353b73
commit 99fc2c9feb
7 changed files with 67 additions and 55 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ page6.obj: rom.h macros.h globals.h page6.src
xa -C -M page6.asm -l page6.lbl -o page6.obj
globals.h: common.obj
grep -E -v '^(_|CMN_CD|CMN_DT|FN_FX)' common.lbl | sed -e 's/, 0, 0x0000//' -e 's/, / = /' -e 's/ 0x/ \x24/' > globals.h
grep -E -v '^(_|CMN_CD|CMN_DT|FN_FX|CODE|DATA)' common.lbl | sed -e 's/, 0, 0x0000//' -e 's/, / = /' -e 's/ 0x/ \x24/' > globals.h
clean:
rm -f globals.h page6.asm common.obj page6.obj common.lbl page6.lbl system.obj