This commit is contained in:
Kat
2019-09-01 20:14:21 -04:00
parent 6eab68f92e
commit 8bc6b294cc
2 changed files with 5 additions and 6 deletions

View File

@@ -33,12 +33,12 @@ PollService:
LDA !RX_BUFFER+1 : STA !RX_SEQUENCE ; mark this as handled
LDA !RX_BUFFER+2 : STA !RX_SEQUENCE+1
LDA !RX_BUFFER : CMP.b #03 : BNE +
LDA !RX_BUFFER + 8 : TAX
LDA !RX_BUFFER + 9 : STA $7E012E, X ; set sound effect, could possibly make this STA not-long
LDA.l !RX_BUFFER+8 : TAX
LDA.l !RX_BUFFER+9 : STA $7E012E, X ; set sound effect, could possibly make this STA not-long
REP #$30 ; set 16-bit accumulator and index registers
LDA !RX_BUFFER + 10 : TAX
LDA !RX_BUFFER + 12
JSL.L DoToast
LDA !RX_BUFFER+10 : TAX
LDA !RX_BUFFER+12
JSL.l DoToast
SEP #$30 ; set 8-bit accumulator and index registers
+
LDA #$00 : STA !RX_STATUS ; release lock

View File

@@ -1,6 +1,5 @@
!TOAST_BUFFER = "$7F5400" ; for now
!TOAST_BUFFER_LOW = "$5400" ; for now
!
;--------------------------------------------------------------------------------
; DoToast:
; in: A(w) - VRAM Destination