allow Retro-Ball playable without extra hardware

This commit is contained in:
Peter Ferrie 2022-03-07 09:14:17 -08:00
parent 269d6794aa
commit 17a00af789
40 changed files with 92 additions and 39 deletions

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11351411
!be24 11351923
!le16 4515

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11303295
!be24 11303807
!le16 5257

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11244192
!be24 11244704
!le16 3641

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11256858
!be24 11257370
!le16 4018

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11272762
!be24 11273274
!le16 5222

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11291115
!be24 11291627
!le16 5814

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11349987
!be24 11350499
!le16 1284

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11335889
!be24 11336401
!le16 502

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11312298
!be24 11312810
!le16 6366

View File

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

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11336391
!be24 11336903
!le16 4428

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11340819
!be24 11341331
!le16 1562

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11342381
!be24 11342893
!le16 1040

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11346658
!be24 11347170
!le16 2764

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11349422
!be24 11349934
!le16 460

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11349882
!be24 11350394
!le16 105

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11323577
!be24 11324089
!le16 6366

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11296929
!be24 11297441
!le16 6366

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 3657216
!be24 3657728
!le16 8192

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 3673600
!be24 3674112
!le16 8192

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 3665408
!be24 3665920
!le16 8192

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11235963
!be24 11236475
!le16 8229

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11247833
!be24 11248345
!le16 9025

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11260876
!be24 11261388
!le16 11886

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11277984
!be24 11278496
!le16 13131

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11318664
!be24 11319176
!le16 4913

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11329943
!be24 11330455
!le16 5946

53
src/prelaunch/rb.a Normal file
View File

@ -0,0 +1,53 @@
;license:MIT
;(c) 2022 by qkumba
!cpu 6502
!to "build/PRELAUNCH.INDEXED/RB",plain
*=$106
!source "src/prelaunch/common.a"
+READ_RAM2_NO_WRITE
lda WaitForVBL
cmp #$60
beq novbl1
jsr EnableAccelerator
lda #0
sta $5FFC ; enable our VBL
novbl1
lda #$4C
sta $612F
lda #<callback1
sta $6130
lda #>callback1
sta $6131
jmp $3FF8 ; decompress
callback1
lda WaitForVBL
cmp #$60
beq novbl2
lda #$4C
sta $14F9
lda #<callback2
sta $14FA
lda #>callback2
sta $14FB
novbl2
lda $C055
jsr DisableAccelerator
+READ_ROM_NO_WRITE
rts
callback2
+READ_RAM2_NO_WRITE
jsr WaitForVBL
+READ_ROM_NO_WRITE
rts
!if * > $1C0 {
!error "code is too large, ends at ", *
}