mirror of
https://github.com/cc65/cc65.git
synced 2024-06-07 07:29:33 +00:00
Replaced references to __BLOCKSIZE__ with __BANK0BLOCKSIZE__
This commit is contained in:
parent
2e56dcc521
commit
ad90a3a421
|
@ -18,7 +18,7 @@
|
||||||
.import ldeaxysp, decsp2, pushax, incsp8
|
.import ldeaxysp, decsp2, pushax, incsp8
|
||||||
.import tosandeax,decax1,tosdiveax,axlong,ldaxysp
|
.import tosandeax,decax1,tosdiveax,axlong,ldaxysp
|
||||||
.import lynxskip0, lynxblock,tosasreax
|
.import lynxskip0, lynxblock,tosasreax
|
||||||
.import __BLOCKSIZE__
|
.import __BANK0BLOCKSIZE__
|
||||||
.importzp _FileCurrBlock
|
.importzp _FileCurrBlock
|
||||||
|
|
||||||
.segment "CODE"
|
.segment "CODE"
|
||||||
|
@ -32,15 +32,15 @@
|
||||||
jsr ldeaxysp
|
jsr ldeaxysp
|
||||||
jsr pusheax
|
jsr pusheax
|
||||||
ldx #$00
|
ldx #$00
|
||||||
lda #<(__BLOCKSIZE__/1024 + 9)
|
lda #<(__BANK0BLOCKSIZE__/1024 + 9)
|
||||||
jsr tosasreax
|
jsr tosasreax
|
||||||
sta _FileCurrBlock
|
sta _FileCurrBlock
|
||||||
jsr lynxblock
|
jsr lynxblock
|
||||||
ldy #$05
|
ldy #$05
|
||||||
jsr ldeaxysp
|
jsr ldeaxysp
|
||||||
jsr pusheax
|
jsr pusheax
|
||||||
lda #<(__BLOCKSIZE__-1)
|
lda #<(__BANK0BLOCKSIZE__-1)
|
||||||
ldx #>(__BLOCKSIZE__-1)
|
ldx #>(__BANK0BLOCKSIZE__-1)
|
||||||
jsr axlong
|
jsr axlong
|
||||||
jsr tosandeax
|
jsr tosandeax
|
||||||
eor #$FF
|
eor #$FF
|
||||||
|
|
Loading…
Reference in New Issue
Block a user