/*****************************************************************************/
-
+
#include "binfmt.h"
#include "tgtcfg.h"
static const char CfgAtari [] =
"MEMORY {"
+ "ZP: start = $D2, size = $1A, type = rw;"
"HEADER: start = $0000, size = $6, file = %O;"
"RAM: start = $1F00, size = $9D1F, file = %O;" /* 9D1F: matches upper bound BC1F */
"}"
"RODATA: load = RAM, type = wprot;"
"DATA: load = RAM, type = rw;"
"BSS: load = RAM, type = bss, define = yes;"
+ "ZEROPAGE: load = ZP, type = zp;"
"AUTOSTRT: load = RAM, type = wprot;"
"}";
static const char CfgC64 [] =
"MEMORY {"
+ "ZP: start = $02, size = $1A, type = rw;"
"RAM: start = $7FF, size = $c801, file = %O;"
"}"
"SEGMENTS {"
"RODATA: load = RAM, type = wprot;"
"DATA: load = RAM, type = rw;"
"BSS: load = RAM, type = bss, define = yes;"
+ "ZEROPAGE: load = ZP, type = zp;"
"}";
static const char CfgC128 [] =
"MEMORY {"
+ "ZP: start = $02, size = $1A, type = rw;"
"RAM: start = $1bff, size = $a401, file = %O;"
"}"
"SEGMENTS {"
"RODATA: load = RAM, type = wprot;"
"DATA: load = RAM, type = rw;"
"BSS: load = RAM, type = bss, define = yes;"
+ "ZEROPAGE: load = ZP, type = zp;"
"}";
static const char CfgAce [] =
static const char CfgPlus4 [] =
"MEMORY {"
+ "ZP: start = $02, size = $1A, type = rw;"
"RAM: start = $0fff, size = $7001, file = %O;"
"}"
"SEGMENTS {"
"RODATA: load = RAM, type = wprot;"
"DATA: load = RAM, type = rw;"
"BSS: load = RAM, type = bss, define = yes;"
+ "ZEROPAGE: load = ZP, type = zp;"
"}";
static const char CfgCBM610 [] =
"MEMORY {"
+ "ZP: start = $02, size = $1A, type = rw;"
"RAM: start = $0001, size = $FFF0, file = %O;"
"}"
"SEGMENTS {"
"RODATA: load = RAM, type = wprot;"
"DATA: load = RAM, type = rw;"
"BSS: load = RAM, type = bss, define = yes;"
+ "ZEROPAGE: load = ZP, type = zp;"
"}";
static const char CfgPET [] =
"MEMORY {"
+ "ZP: start = $02, size = $1A, type = rw;"
"RAM: start = $03FF, size = $7BFF, file = %O;"
"}"
"SEGMENTS {"
"RODATA: load = RAM, type = wprot;"
"DATA: load = RAM, type = rw;"
"BSS: load = RAM, type = bss, define = yes;"
+ "ZEROPAGE: load = ZP, type = zp;"
"}";
static const char CfgNES [] =
static const char CfgApple2 [] =
"MEMORY {"
+ "ZP: start = $00, size = $1A, type = rw;"
"RAM: start = $800, size = $8E00, file = %O;"
"}"
"SEGMENTS { "
"RODATA: load = RAM, type = ro;"
"DATA: load = RAM, type = rw;"
"BSS: load = RAM, type = bss, define = yes;"
+ "ZEROPAGE: load = ZP, type = zp;"
"}";
static const char CfgGeos [] =
{ BINFMT_BINARY, CfgCBM610 },
{ BINFMT_BINARY, CfgPET },
{ BINFMT_BINARY, CfgNES },
+#if 0
{ BINFMT_O65, CfgLunix },
{ BINFMT_O65, CfgOSA65 },
+#endif
{ BINFMT_BINARY, CfgApple2 },
{ BINFMT_BINARY, CfgGeos },
};