WIP: moving displays part 3

This commit is contained in:
2022-09-17 14:36:36 -04:00
parent 2addb0905e
commit 415bfbba2b
4 changed files with 41 additions and 44 deletions
-25
View File
@@ -306,13 +306,11 @@ GoToActivation
lda #@dmactl(narrow|dma) ; narrow screen width, DL on, P/M off
sta dmactls
.IF target != 5200
lda #song_supermarket
bit IsInventory
bpl @+
lda #song_inventory
@ jsr RmtSongSelect
.ENDIF
ldx tankNr
lda TankStatusColoursTable,x
@@ -2519,28 +2517,5 @@ NextChar02
rts
.endp
;-------------------------------------------------
.proc CopyFromROM
;copy from CART to RAM
; trashes Y
; temp: source
; temp2: destination
; modify: destination-end
;usage:
; mwa #DisplayCopyRom temp
; mwa #display temp2
; mwa #DisplayCopyEnd+1 modify
; jsr CopyFromROM
ldy #0
@ lda (temp),y
sta (temp2),y
inw temp
inw temp2
cpw temp2 modify
bne @-
rts
.endp
.endif