mirror of
https://github.com/lscharen/iigs-game-engine.git
synced 2025-08-13 17:25:01 +00:00
Fix some addressing and offset calculations
This commit is contained in:
@@ -79,7 +79,9 @@ SHR_SCB equ $E19D00
|
|||||||
|
|
||||||
]step equ 0
|
]step equ 0
|
||||||
lup 13
|
lup 13
|
||||||
lda BlitBuff+]step+2
|
ldx #BlitBuff
|
||||||
|
lda #^BlitBuff
|
||||||
|
ldy #]step
|
||||||
jsr BuildBank
|
jsr BuildBank
|
||||||
]step equ ]step+4
|
]step equ ]step+4
|
||||||
--^
|
--^
|
||||||
@@ -187,8 +189,6 @@ DoFrame
|
|||||||
ldx #16*2
|
ldx #16*2
|
||||||
jsr SetConst
|
jsr SetConst
|
||||||
|
|
||||||
jsr SetNextLine ; Link the lines together
|
|
||||||
|
|
||||||
lda #{$2000+159+15*160} ; Set the stack address to the right edge of the screen
|
lda #{$2000+159+15*160} ; Set the stack address to the right edge of the screen
|
||||||
ldy #0
|
ldy #0
|
||||||
ldx #16*2
|
ldx #16*2
|
||||||
@@ -666,6 +666,13 @@ qtRec adrl $0000
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user