add Genetic Drift demo

This commit is contained in:
Peter Ferrie 2022-05-22 21:30:16 -07:00
parent 4ffdf57686
commit 577a2c152d
41 changed files with 78 additions and 37 deletions

View File

@ -5,5 +5,6 @@
GENETIC.DRIFT=C
GENETIC.DRIFT=A
GENETIC.DRIFT=0
[eof]

BIN
res/DEMO/GENETIC.DRIFT Normal file

Binary file not shown.

View File

@ -37,6 +37,7 @@ FIREBUG=Type(06),AuxType(0200),Access(C3)
FLIP.OUT=Type(06),AuxType(0300),Access(C3)
GALAXIAN=Type(06),AuxType(0300),Access(C3)
GAMMA.GOBLINS=Type(06),AuxType(B000),Access(C3)
GENETIC.DRIFT=Type(06),AuxType(0300),Access(C3)
THE.GOONIES=Type(06),AuxType(0300),Access(C3)
GUMBALL=Type(06),AuxType(0210),Access(C3)
HARD.HAT.MACK=Type(06),AuxType(0200),Access(C3)

39
src/demo/genetic.drift.a Normal file
View File

@ -0,0 +1,39 @@
;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"
+READ_RAM2_WRITE_RAM2
jsr EnableAccelerator
+LOAD_FILE_AT genetic_drift, 0
+READ_ROM_NO_WRITE
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
+DISABLE_ACCEL
jsr $F00
jmp $100
genetic_drift
!byte genetic_drift_e-genetic_drift_b
genetic_drift_b
!text "X/GENETIC.DRIFT/GENETIC.DRIFT"
genetic_drift_e
!if * > $3F0 {
!error "code is too large, ends at ", *
}

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11465638
!be24 11465655
!le16 4580

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11416851
!be24 11416868
!le16 5294

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11357213
!be24 11357230
!le16 3654

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11369994
!be24 11370011
!le16 4064

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11386034
!be24 11386051
!le16 5245

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11404548
!be24 11404565
!le16 5870

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11470218
!be24 11470235
!le16 410

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11470972
!be24 11470989
!le16 448

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11471420
!be24 11471437
!le16 303

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11424291
!be24 11424308
!le16 1242

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11470704
!be24 11470721
!le16 67

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11465579
!be24 11465596
!le16 59

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11464094
!be24 11464111
!le16 1404

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11449711
!be24 11449728
!le16 521

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11422145
!be24 11422162
!le16 2146

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11425891
!be24 11425908
!le16 6433

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11470628
!be24 11470645
!le16 76

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11465498
!be24 11465515
!le16 81

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11470771
!be24 11470788
!le16 201

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11450232
!be24 11450249
!le16 4511

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11454743
!be24 11454760
!le16 1591

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11456334
!be24 11456351
!le16 1053

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11457387
!be24 11457404
!le16 3237

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11460624
!be24 11460641
!le16 2877

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11463501
!be24 11463518
!le16 479

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11463980
!be24 11463997
!le16 114

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11471723
!be24 11471740
!le16 2370

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11437280
!be24 11437297
!le16 3642

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11440922
!be24 11440939
!le16 2795

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11410418
!be24 11410435
!le16 6433

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11348930
!be24 11348947
!le16 8283

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11360867
!be24 11360884
!le16 9127

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11374058
!be24 11374075
!le16 11976

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11391279
!be24 11391296
!le16 13269

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11425533
!be24 11425550
!le16 358

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11432324
!be24 11432341
!le16 4956

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11443717
!be24 11443734
!le16 5994