mirror of
https://github.com/irmen/prog8.git
synced 2026-11-26 14:22:04 +00:00
45 lines
1.5 KiB
Properties
45 lines
1.5 KiB
Properties
# configuration file for a C64 like Prog8 compilation target
|
|
# launch the atari emulator like this: "atari800 -xl -xl-rev 2 -nobasic -run hello.xex >/dev/null 2>/dev/null" or second one: "Altirra64.exe hello.xex"
|
|
|
|
cpu = 6502
|
|
encoding = atascii
|
|
output_type = XEX
|
|
launcher = none
|
|
load_address = $2000
|
|
memtop = $ffff
|
|
bss_highram_start = 0
|
|
bss_highram_end = 0
|
|
bss_goldenram_start = 0
|
|
bss_goldenram_end = 0
|
|
supports_banked_calls = false
|
|
|
|
# io_regions specifies memory-mapped I/O registers that should be treated differentely.
|
|
# it can be zero or more memory address ranges (inclusive) separated by comma
|
|
io_regions = $d000-$dfff
|
|
|
|
# zeropage scratch variables. zp_scratch_reg must always be zp_scratch_b1+1 !
|
|
zp_scratch_b1 = $cb
|
|
zp_scratch_reg = $cc
|
|
zp_scratch_w1 = $cd
|
|
zp_scratch_w2 = $cf
|
|
zp_scratch_ptr = $d1
|
|
|
|
# free zeropage locations for the various zp usage methods
|
|
# zero or more zeropage address ranges (inclusive).
|
|
zp_fullsafe = $00-$ff
|
|
zp_kernalsafe = $80-$ff
|
|
zp_basicsafe = $80-$ff
|
|
|
|
# the start of the 32 bytes used by the R0-R15 virtual registers. Can be in Zeropage or elsewhere.
|
|
virtual_registers = $1b00
|
|
|
|
# Where can we find the standard library (syslib.p8). You can still add more paths manually using -srcdirs
|
|
library = ./libraries/atari
|
|
|
|
# if a non-empty custom launcher code string is supplied, the compiler won't output ANY launcher / init code by itself,
|
|
# and instead outputs whatever is specified here. (You can use \n here for newline and \ for line continuantions)
|
|
custom_launcher_code =
|
|
|
|
# additional options passed to the assembler program
|
|
assembler_options =
|