static char _defaultRules[] =
{
- ""
+#include "peeph.rul"
+#include "peeph-gbz80.rul"
};
static char *_gbz80_keywords[] = { NULL };
static void _gbz80_finaliseOptions(void)
{
+ port->mem.default_local_map = data;
+ port->mem.default_globl_map = data;
}
static void _gbz80_setDefaultOptions(void)
MUST be terminated with a NULL.
*/
static const char *_linkCmd[] = {
- "link-gb", "-nf", "$1", NULL
+ "link-gbz80", "-nf", "$1", NULL
};
static const char *_asmCmd[] = {
- "as-gb", "-plosgff", "$1.o", "$1.asm", NULL
+ "as-gbz80", "-plosgff", "$1.o", "$1.asm", NULL
};
/* Globals */
PORT gbz80_port = {
"gbz80",
"Gameboy Z80-like", /* Target name */
+ {
+ FALSE,
+ },
{
_asmCmd,
"-plosgff", /* Options with debug */
"_BSEG",
"_RSEG",
"_GSINIT",
- "_OVERLAY"
+ "_OVERLAY",
+ "_GSFINAL",
+ NULL,
+ NULL
},
{
-1, 0, 0, 4, 0