diff --git a/.gitignore b/.gitignore index 4988efd..bba581c 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/atari-asm-xex.cfg b/atari-asm-xex.cfg new file mode 100644 index 0000000..e8888e9 --- /dev/null +++ b/atari-asm-xex.cfg @@ -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; +}