cpeekcolor: don't stash and restore I flag or CRAM2K
This commit is contained in:
@@ -18,18 +18,17 @@ _cpeekcolor:
|
|||||||
lda SCREEN_PTR
|
lda SCREEN_PTR
|
||||||
sta ptr1
|
sta ptr1
|
||||||
|
|
||||||
php
|
|
||||||
sei
|
sei
|
||||||
lda $D030
|
lda $D030
|
||||||
pha
|
|
||||||
ora #$01
|
ora #$01
|
||||||
sta $D030
|
sta $D030
|
||||||
ldy #0
|
ldy #0
|
||||||
lda (ptr1),y
|
lda (ptr1),y
|
||||||
tay
|
tay
|
||||||
pla
|
lda $D030
|
||||||
|
and #$FE
|
||||||
sta $D030
|
sta $D030
|
||||||
plp
|
cli
|
||||||
tya
|
tya
|
||||||
|
|
||||||
ldx #>$0000
|
ldx #>$0000
|
||||||
|
|||||||
Reference in New Issue
Block a user