This commit is contained in:
Kat
2019-09-01 20:11:51 -04:00
parent a2dbc57810
commit 6eab68f92e
2 changed files with 29 additions and 5 deletions

View File

@@ -0,0 +1,15 @@
!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
RTL
;--------------------------------------------------------------------------------