Shring the bootloader by 20 bytes and remove restrictions on file size

git-svn-id: svn://svn.cc65.org/cc65/trunk@5824 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
karri
2012-09-11 13:01:39 +00:00
parent 574c8fa273
commit 2222df9143
7 changed files with 32 additions and 61 deletions

View File

@@ -122,20 +122,12 @@ flagsok:
lda _FileStartBlock
sta _FileCurrBlock
jsr lynxblock
lda _FileBlockOffset+1
eor #$FF
tay
lda _FileBlockOffset
ldx _FileBlockOffset+1
phx ; The BLL kit uses negative offsets
plx ; while tha basic Lynx uses positive
bmi @1 ; Make all offsets negative
eor #$FF
pha
txa
eor #$FF
bra @2
@1: pha
txa
@2: tay
plx
tax
jsr lynxskip0
jsr stax0sp
jmp incsp8