4cade/src/demo/genetic.drift.a

39 lines
689 B
Plaintext
Raw Normal View History

2022-05-23 04:30:16 +00:00
;license:MIT
;(c) 2022 by qkumba
!cpu 6502
!to "res/DEMO/GENETIC.DRIFT",plain
*=$300
!source "src/constants.a" ; no code in these
!source "src/macros.a"
2022-09-10 04:58:15 +00:00
+ENABLE_ACCEL
+LOAD_XSINGLE title
2022-05-23 04:30:16 +00:00
lda #$60
sta $846
jsr $800 ; decompress
lda #$60
sta $8439
lda #$4C
sta $FC9
ldx #0
stx $FCA
inx
stx $FCB
jsr $8490 ; decompress more
2022-09-10 04:58:15 +00:00
2022-05-23 04:30:16 +00:00
+DISABLE_ACCEL
2022-09-10 04:58:15 +00:00
2022-05-23 04:30:16 +00:00
jsr $F00
jmp $100
2022-09-10 04:58:15 +00:00
title !byte x_e-x_b
x_b !text "GENETIC.DRIFT"
x_e
2022-05-23 04:30:16 +00:00
!if * > $3F0 {
!error "code is too large, ends at ", *
}