Used an easier-to-remember way of creating a program that uses graphics RAM for other purposes.

This commit is contained in:
Greg King
2014-12-13 09:52:39 -05:00
parent 8d5bb55281
commit d9df576fa6
2 changed files with 18 additions and 9 deletions

View File

@@ -2,10 +2,10 @@ SYMBOLS {
__TAPEHDR__: type = import;
__BASHDR__: type = import;
__PROGFLAG__: type = weak, value = $00; # $00=BASIC, $80=machine code
__AUTORUN__: type = weak, value = $00; # $C7=run, $00=only load
__AUTORUN__: type = weak, value = $00; # $00=only load, $C7=run
__STACKSIZE__: type = weak, value = $0800; # 2K stack
__RAMEND__: type = weak, value = $9800; # graphics RAM not grabbed
# __RAMEND__: type = weak, value = $B400; # graphics RAM grabbed
__GRAB__: type = weak, value = 0; # 0=don't grab graphics RAM, 1=grab graphics RAM
__RAMEND__: type = weak, value = $9800 + $1C00 * __GRAB__;
}
MEMORY {
ZP: file = "", define = yes, start = $00E2, size = $001A;