mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-22 21:32:39 +00:00
shave some bytes
This commit is contained in:
parent
139fc8fa3e
commit
cde09f66a1
@ -10,7 +10,6 @@
|
||||
sty $FE, x
|
||||
dex
|
||||
bne -
|
||||
|
||||
jmp loop
|
||||
|
||||
start
|
||||
@ -22,23 +21,19 @@ loop1 eor #$05 ; LFSR form 0x0500 with period 2047
|
||||
wait inx
|
||||
bpl wait
|
||||
tax
|
||||
loop2 tya
|
||||
and #$78
|
||||
cmp #$78
|
||||
beq next
|
||||
txa
|
||||
loop2 txa
|
||||
ora #$04
|
||||
sta <dst+2
|
||||
txa
|
||||
;C=0
|
||||
clc
|
||||
adc #$7C
|
||||
sta <src+2
|
||||
bpl src
|
||||
sta $C004
|
||||
bmi src
|
||||
sta $C005
|
||||
src lda $FD00, y ; SMC high byte
|
||||
dst sta $FD00, y ; SMC high byte
|
||||
next sta $C005
|
||||
txa
|
||||
next txa
|
||||
lsr
|
||||
tax
|
||||
tya
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 10952992
|
||||
!be24 10952986
|
||||
!le16 448
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 10953440
|
||||
!be24 10953434
|
||||
!le16 303
|
||||
|
@ -5,4 +5,4 @@
|
||||
;
|
||||
!byte 0
|
||||
!be24 10952712
|
||||
!le16 79
|
||||
!le16 73
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 10952791
|
||||
!be24 10952785
|
||||
!le16 201
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 10953743
|
||||
!be24 10953737
|
||||
!le16 2370
|
||||
|
Loading…
Reference in New Issue
Block a user