mirror of
https://github.com/lscharen/iigs-game-engine.git
synced 2024-12-27 11:30:10 +00:00
Add a few missed files
This commit is contained in:
parent
e00b47a88d
commit
9137440d41
@ -15,6 +15,20 @@ _Deref MAC
|
||||
plb ; restore the caller's data bank register
|
||||
<<<
|
||||
|
||||
_Mul4096 mac
|
||||
xba
|
||||
asl
|
||||
asl
|
||||
asl
|
||||
asl
|
||||
<<<
|
||||
|
||||
_Div16 mac
|
||||
lsr
|
||||
lsr
|
||||
lsr
|
||||
lsr
|
||||
<<<
|
||||
|
||||
****************************************
|
||||
* Basic Error Macro *
|
||||
@ -30,3 +44,5 @@ _Err mac
|
||||
NoErr eom
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -195,3 +195,15 @@ CodeFieldOddBRA
|
||||
bra *+12 ; 80
|
||||
bra *+9 ; 81 -- need to skip over two JMP instructions
|
||||
|
||||
]step equ $2000
|
||||
ScreenAddr lup 200
|
||||
dw ]step
|
||||
]step = ]step+160
|
||||
--^
|
||||
|
||||
; This is a double-length table that holds the right-edge adresses of the playfield on the physical
|
||||
; screen. At most, it needs to hold 200 addresses for a full height playfield. It is double-length
|
||||
; so that code can pick an offset and copy values without needing to check for a wrap-around. If the
|
||||
; playfield is less than 200 lines tall, then any values after 2 * PLAYFIELD_HEIGHT are undefine.
|
||||
RTable ds 400
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user