shave some bytes

This commit is contained in:
Peter Ferrie 2021-10-08 07:13:05 -07:00
parent e63d2f473d
commit 0a95733c42
2 changed files with 1 additions and 2 deletions

View File

@ -38,7 +38,7 @@ groups = "*=0\n" + "!le16 " + entries.length.toString() + ", 0\n"
for (i = 0; i < entries.length; i++) for (i = 0; i < entries.length; i++)
{ {
groups += "!byte " + (1 + 1 + entries[i].length + 1 + 3).toString() + "\n" + "!byte " + entries[i].length.toString() + "\n" + "!text \"" + entries[i] + "\"\n" + "!byte 3"+ "\n" + "!be24 " + fx_off.toString() + "\n" groups += "!byte " + (1 + 1 + entries[i].length + 3).toString() + "\n" + "!byte " + entries[i].length.toString() + "\n" + "!text \"" + entries[i] + "\"\n" + "!be24 " + fx_off.toString() + "\n"
fx_off += a.getfile(y + entries[i]).size fx_off += a.getfile(y + entries[i]).size
} }

View File

@ -75,7 +75,6 @@ LoadFX
ldy #0 ; SMC ldy #0 ; SMC
lda (zpword), y lda (zpword), y
tay tay
iny
- iny - iny
lda (zpword), y lda (zpword), y
sta @offset, x sta @offset, x