diff options
Diffstat (limited to 'sdcc-sdcc_z80_enable_incbin.patch')
-rw-r--r-- | sdcc-sdcc_z80_enable_incbin.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sdcc-sdcc_z80_enable_incbin.patch b/sdcc-sdcc_z80_enable_incbin.patch new file mode 100644 index 0000000..d2918f1 --- /dev/null +++ b/sdcc-sdcc_z80_enable_incbin.patch @@ -0,0 +1,26 @@ +diff --git a/sdas/asz80/z80pst.c b/sdas/asz80/z80pst.c +index 66f481b..0e91b43 100644 +--- a/sdas/asz80/z80pst.c ++++ b/sdas/asz80/z80pst.c +@@ -44,20 +44,21 @@ struct mne mne[] = { + { NULL, "ABS", S_ATYP, 0, A_ABS }, + { NULL, "NOPAG", S_ATYP, 0, A_NOPAG }, + { NULL, "PAG", S_ATYP, 0, A_PAG }, + + + { NULL, ".page", S_PAGE, 0, 0 }, + { NULL, ".title", S_HEADER, 0, O_TITLE }, + { NULL, ".sbttl", S_HEADER, 0, O_SBTTL }, + { NULL, ".module", S_MODUL, 0, 0 }, + { NULL, ".include", S_INCL, 0, 0 }, ++ { NULL, ".incbin", S_INCL, 0, I_BNRY }, + { NULL, ".area", S_AREA, 0, 0 }, + + { NULL, ".org", S_ORG, 0, 0 }, + { NULL, ".radix", S_RADIX, 0, 0 }, + { NULL, ".globl", S_GLOBL, 0, 0 }, + { NULL, ".local", S_LOCAL, 0, 0 }, + { NULL, ".if", S_CONDITIONAL, 0, O_IF }, + { NULL, ".iff", S_CONDITIONAL, 0, O_IFF }, + { NULL, ".ift", S_CONDITIONAL, 0, O_IFT }, + { NULL, ".iftf", S_CONDITIONAL, 0, O_IFTF }, |