fix missing cfg file

This commit is contained in:
Brooke Vibber 2022-12-11 12:00:02 -08:00
parent 3a0dbd084f
commit 4361b4054d
2 changed files with 29 additions and 4 deletions

8
.gitignore vendored
View file

@ -5,9 +5,9 @@ node_modules
*.pxd
canvas*.png
sample*.s
sample*.s.png
sample*.s.*.png
sample*.s.gif
sample*.s.mp4
*.s.png
*.s.*.png
*.s.gif
*.s.mp4
chickens.wav
chickens.s

25
atari-asm-xex.cfg Normal file
View file

@ -0,0 +1,25 @@
FEATURES {
STARTADDRESS: default = $2E00;
}
SYMBOLS {
__STARTADDRESS__: type = export, value = %S;
}
MEMORY {
ZP: file = "", define = yes, start = $0082, size = $007E;
MAIN: file = %O, define = yes, start = %S, size = $BC20 - %S;
}
FILES {
%O: format = atari;
}
FORMATS {
atari: runad = start;
}
SEGMENTS {
ZEROPAGE: load = ZP, type = zp, optional = yes;
EXTZP: load = ZP, type = zp, optional = yes; # to enable modules to be able to link to C and assembler programs
CODE: load = MAIN, type = rw, define = yes;
RODATA: load = MAIN, type = ro optional = yes;
DATA: load = MAIN, type = rw optional = yes;
BSS: load = MAIN, type = bss, optional = yes, define = yes;
BUFFERS: load = MAIN, type = ro, optional = yes, define = yes, align = 4096;
}