2017-12-06 23:23:30 +00:00
|
|
|
; Commodore 64
|
|
|
|
; assuming a program loaded from disk or tape
|
|
|
|
|
|
|
|
[compilation]
|
|
|
|
; CPU architecture: nmos, strictnmos, ricoh, strictricoh, cmos
|
|
|
|
arch=nmos
|
|
|
|
; modules to load
|
2018-01-08 00:17:25 +00:00
|
|
|
modules=c64_hardware,loader_0801,c64_kernal,c64_panic,stdlib
|
2017-12-06 23:23:30 +00:00
|
|
|
; optionally: default flags
|
2018-03-15 22:09:19 +00:00
|
|
|
emit_illegals=true
|
2017-12-06 23:23:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
[allocation]
|
2018-02-27 10:58:18 +00:00
|
|
|
; list of free zp pointer locations (these assume that some BASIC routines will keep working)
|
|
|
|
zp_pointers=$C1,$C3,$FB,$FD,$39,$3B,$3D,$43,$45,$47,$4B
|
2018-03-15 22:09:19 +00:00
|
|
|
segments=default
|
|
|
|
default_code_segment=default
|
|
|
|
segment_default_start=$80D
|
|
|
|
segment_default_codeend=$9fff
|
|
|
|
segment_default_datastart=after_code
|
|
|
|
segment_default_end=$cfff
|
|
|
|
|
2017-12-06 23:23:30 +00:00
|
|
|
|
|
|
|
[output]
|
|
|
|
; how the banks are laid out in the output files; so far, there is no bank support in the compiler yet
|
2018-03-15 22:09:19 +00:00
|
|
|
style=single
|
2017-12-06 23:23:30 +00:00
|
|
|
; output file format
|
|
|
|
; startaddr - little-endian address of the first used byte in the bank
|
|
|
|
; endaddr - little-endian address of the last used byte in the bank
|
|
|
|
; allocated - all used bytes in the bank
|
|
|
|
; <addr>:<addr> - bytes from the current bank
|
|
|
|
; <bank>:addr>:<addr> - bytes from arbitrary bank
|
|
|
|
; <byte> - single byte
|
|
|
|
format=startaddr,allocated
|
|
|
|
; default output file extension
|
|
|
|
extension=prg
|
|
|
|
|
|
|
|
|