mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-20 22:34:21 +02:00
WIP: moving displays part 3
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user