Compare commits

...

2 Commits

Author SHA1 Message Date
Peter Ferrie dfc882b2fd add some cheats 2024-04-23 17:18:57 -07:00
Peter Ferrie 4a2c619929 add Sudoku to the collection 2024-04-23 13:23:39 -07:00
59 changed files with 136 additions and 63 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -37,7 +37,7 @@
10061,ANGEL.1=Angel-1 10061,ANGEL.1=Angel-1
01100,ANGRYBIRDS=Angry Birds 01100,ANGRYBIRDS=Angry Birds
00001,ANKH=Ankh 00001,ANKH=Ankh
10001,ANTIAIR=AntiAir 10011,ANTIAIR=AntiAir
00010,APE.ESCAPE=Ape Escape 00010,APE.ESCAPE=Ape Escape
00010,AC=Apple Cider Spider 00010,AC=Apple Cider Spider
10011,APPLE.INVADER=Apple Invader 10011,APPLE.INVADER=Apple Invader
@ -224,7 +224,7 @@
11110,HEAVY.BARREL=Heavy Barrel 11110,HEAVY.BARREL=Heavy Barrel
00011,HELLSTORM=Hell Storm 00011,HELLSTORM=Hell Storm
00001,HIGH.RISE=High Rise 00001,HIGH.RISE=High Rise
10001,HOPMAN=Hopman 10041,HOPMAN=Hopman
00010,HORIZON.V=Horizon V 00010,HORIZON.V=Horizon V
00011,HUNGRYBOY=Hungryboy 00011,HUNGRYBOY=Hungryboy
00011,HYPER.HEAD.ON=Hyper Head On 00011,HYPER.HEAD.ON=Hyper Head On
@ -440,6 +440,7 @@
00000,STATION.5=Station 5 00000,STATION.5=Station 5
00060,STELLAR.7=Stellar 7 00060,STELLAR.7=Stellar 7
00041,SUCCESSION=Succession 00041,SUCCESSION=Succession
00000,SUDOKU=Sudoku
00041,SU=Suicide! 00041,SU=Suicide!
00010,SUPER.BUNNY=Super Bunny 00010,SUPER.BUNNY=Super Bunny
00011,SUPER.PUCKMAN=Super Puckman 00011,SUPER.PUCKMAN=Super Puckman
@ -504,7 +505,7 @@
00000,WILLY.BYTE=Willy Byte 00000,WILLY.BYTE=Willy Byte
11130,WF=Wings of Fury 11130,WF=Wings of Fury
10010,XEVIOUS=Xevious 10010,XEVIOUS=Xevious
10001,YEWDOW=Yewdow 10041,YEWDOW=Yewdow
00011,ZARGS=Zargs 00011,ZARGS=Zargs
10010,ZAXXON=Zaxxon 10010,ZAXXON=Zaxxon
00051,ZENITH=Zenith 00051,ZENITH=Zenith

Binary file not shown.

BIN
res/TITLE.HGR/SUDOKU Normal file

Binary file not shown.

Binary file not shown.

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15514779 !be24 15522622
!le16 5112 !le16 5112

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15459857 !be24 15467674
!le16 5707 !le16 5707

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15392547 !be24 15400251
!le16 4043 !le16 4050

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15406794 !be24 15414529
!le16 4508 !le16 4515

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15425028 !be24 15432794
!le16 5861 !le16 5868

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15445972 !be24 15453769
!le16 6487 !le16 6494

View File

@ -3,4 +3,4 @@
; ;
; This file is automatically generated ; This file is automatically generated
; ;
!word 303 !word 304

View File

@ -3,4 +3,4 @@
; ;
; This file is automatically generated ; This file is automatically generated
; ;
!word 332 !word 333

View File

@ -3,4 +3,4 @@
; ;
; This file is automatically generated ; This file is automatically generated
; ;
!word 446 !word 447

View File

@ -3,4 +3,4 @@
; ;
; This file is automatically generated ; This file is automatically generated
; ;
!word 489 !word 490

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15520645 !be24 15528488
!le16 449 !le16 449

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 12348895 !be24 12356575
!le16 1652 !le16 1652

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15468204 !be24 15476021
!le16 1640 !le16 1640

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15513176 !be24 15521019
!le16 1426 !le16 1426

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15497299 !be24 15505142
!le16 557 !le16 557

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15465564 !be24 15473381
!le16 2640 !le16 2640

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15470202 !be24 15478019
!le16 7398 !le16 7411

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15514602 !be24 15522445
!le16 118 !le16 118

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15497856 !be24 15505699
!le16 4951 !le16 4951

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15502807 !be24 15510650
!le16 1802 !le16 1802

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15504609 !be24 15512452
!le16 1181 !le16 1181

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15505790 !be24 15513633
!le16 3421 !le16 3421

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15509211 !be24 15517054
!le16 3359 !le16 3359

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15513049 !be24 15520892
!le16 127 !le16 127

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15482974 !be24 15490804
!le16 4989 !le16 4989

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15487963 !be24 15495793
!le16 2413 !le16 2413

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15452459 !be24 15460263
!le16 7398 !le16 7411

View File

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

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15383280 !be24 15390960
!le16 9267 !le16 9291

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15396590 !be24 15404301
!le16 10204 !le16 10228

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15411302 !be24 15419044
!le16 13726 !le16 13750

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15430889 !be24 15438662
!le16 15083 !le16 15107

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15477600 !be24 15485430
!le16 5374 !le16 5374

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15490376 !be24 15498206
!le16 6923 !le16 6936

View File

@ -4,5 +4,5 @@
; This file is automatically generated ; This file is automatically generated
; ;
!byte 0 !byte 0
!be24 15379016 !be24 15386696
!le16 4264 !le16 4264

View File

@ -1,5 +1,5 @@
;license:MIT ;license:MIT
;(c) 2024 by 4am ;(c) 2024 by 4am, qkumba
!cpu 6502 !cpu 6502
!to "build/PRELAUNCH.INDEXED/ANTIAIR",plain !to "build/PRELAUNCH.INDEXED/ANTIAIR",plain
@ -11,6 +11,12 @@
lda #$4C lda #$4C
sta $955A sta $955A
jsr $8000 ; decompress jsr $8000 ; decompress
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
lda #$AD
sta $4C76 ; patch - don't decrease lives
+
+DISABLE_ACCEL +DISABLE_ACCEL
jmp $955D jmp $955D

View File

@ -1,5 +1,5 @@
;license:MIT ;license:MIT
;(c) 2024 by 4am ;(c) 2024 by 4amm, qkumba
!cpu 6502 !cpu 6502
!to "build/PRELAUNCH.INDEXED/HOPMAN",plain !to "build/PRELAUNCH.INDEXED/HOPMAN",plain
@ -11,6 +11,13 @@
lda #$4C lda #$4C
sta $98D6 sta $98D6
jsr $8000 ; decompress jsr $8000 ; decompress
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
lda #$AD
sta $454B ; patch - don't decrease time
sta $4562 ; patch - don't decrease lives
+
+DISABLE_ACCEL +DISABLE_ACCEL
jmp $98D9 jmp $98D9

52
src/prelaunch/sudoku.a Normal file
View File

@ -0,0 +1,52 @@
;license:MIT
;(c) 2024 by qkumba
!cpu 6502
!to "build/PRELAUNCH.INDEXED/SUDOKU",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $813
jsr $800 ; decompress
lda $BF0B
sta nohelp + 1
lda $BF0C
sta nohelp + 2
lda #<helper
sta $BF0B
lda #>helper
sta $BF0C
+DISABLE_ACCEL
jmp $4000
helper
lda $9F4C
cmp #$CB ; write file
bne nohelp
lda $A50D ; write address (low)
cmp #$EE ; erasing save
beq nohelp
cmp #$F3 ; writing "valid"
beq nocall ; ignore it
cmp #$F7 ; writing options
beq nohelp
inc $A053 ; mark save valid
dec $A50D ; write address (low)
inc $A50F ; increase size
nohelp
jmp $FDFD ; SMC
nocall
plp
pla
pla
clc
rts
!if * > $1C0 {
!error "code is too large, ends at ", *
}

View File

@ -1,5 +1,5 @@
;license:MIT ;license:MIT
;(c) 2024 by 4am ;(c) 2024 by 4am, qkumba
!cpu 6502 !cpu 6502
!to "build/PRELAUNCH.INDEXED/YEWDOW",plain !to "build/PRELAUNCH.INDEXED/YEWDOW",plain
@ -11,6 +11,13 @@
lda #$4C lda #$4C
sta $99CD sta $99CD
jsr $8000 ; decompress jsr $8000 ; decompress
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
lda #$AD
sta $4882 ; patch - don't decrease lives
sta $4866 ; patch - don't decrease time
+
+DISABLE_ACCEL +DISABLE_ACCEL
jmp $99D0 jmp $99D0