ram.asm initial commit. Replaced all address defines with labels
Value defines styled without quotes, # moved to load/store/cmp site Added registers.asm (copied from spannerisms JP disassembly) Added a bunch of length annotations Deleted old or trivial commented out code Deleted: ganonfixes.asm, map.asm, seedtag.asm Replaced obsolete credits.asm with creditsnew.asm Moved scratch space at $7F5020-3F to mirrored WRAM (7E1E70-8F) Moved clock RAM to mirrored WRAM (7E1E90-9F) dialog.asm: FreeDungeonItemNotice preserves callee-preserved scratch RAM Toast buffer moved to mirrored WRAM (7E1E0E-0F) servicerequest.asm: long store to $012E converted to word length store
This commit is contained in:
12
toast.asm
12
toast.asm
@@ -1,14 +1,12 @@
|
||||
!TOAST_BUFFER = "$7F5400" ; for now
|
||||
!TOAST_BUFFER_LOW = "$5400" ; for now
|
||||
;--------------------------------------------------------------------------------
|
||||
; DoToast:
|
||||
; in: A(w) - VRAM Destination
|
||||
; in: X(w) - Length in Tiles
|
||||
;--------------------------------------------------------------------------------
|
||||
DoToast:
|
||||
PHY : PHP
|
||||
LDY.w !TOAST_BUFFER_LOW
|
||||
JSL.l WriteVRAMBlock
|
||||
PLP : PLY
|
||||
PHY : PHP
|
||||
LDY.w ToastBuffer
|
||||
JSL.l WriteVRAMBlock
|
||||
PLP : PLY
|
||||
RTL
|
||||
;--------------------------------------------------------------------------------
|
||||
;--------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user