migrate Sudoku from 4cade

This commit is contained in:
4am 2024-04-23 23:51:13 -04:00
parent ad07c43bfc
commit c154e7364c
53 changed files with 115 additions and 54 deletions

7
res/ATTRACT/SUDOKU Normal file
View File

@ -0,0 +1,7 @@
#
# Attract mode for SUDOKU
# This file is automatically generated
#
[eof]

View File

@ -87,6 +87,7 @@
01100,SS.FOOTBALL=Street Sports Football/1988
01100,SS.SOCCER=Street Sports Soccer/1988
10000,STUNT.CAR.RACER=Stunt Car Racer/2023
00000,SUDOKU=Sudoku/2018
00000,SUMMER.GAMES=Summer Games/1984
00000,SUMMER.GAMES.II=Summer Games II/1985
00001,SUPER.HUEY=Super Huey/1985

Binary file not shown.

BIN
res/TITLE.HGR/SUDOKU Normal file

Binary file not shown.

Binary file not shown.

View File

@ -37,6 +37,7 @@
- Seega
- Sierra Championship Boxing
- Silent Service
- Sudoku
- Super Password
- The Sporting News Baseball
- Wari

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2619842
!be24 2627674
!le16 611

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2604181
!be24 2611974
!le16 1543

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2591687
!be24 2599395
!le16 546

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2594321
!be24 2602053
!le16 915

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2597376
!be24 2605132
!le16 889

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2601366
!be24 2609146
!le16 1343

View File

@ -3,4 +3,4 @@
;
; This file is automatically generated
;
!word 40
!word 41

View File

@ -3,4 +3,4 @@
;
; This file is automatically generated
;
!word 59
!word 60

View File

@ -3,4 +3,4 @@
;
; This file is automatically generated
;
!word 61
!word 62

View File

@ -3,4 +3,4 @@
;
; This file is automatically generated
;
!word 85
!word 86

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2620453
!be24 2628285
!le16 306

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2621103
!be24 2628935
!le16 336

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2091904
!be24 2099588
!le16 69

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2619830
!be24 2627662
!le16 12

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2618716
!be24 2626548
!le16 1062

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2616232
!be24 2624064
!le16 365

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2610362
!le16 1472
!be24 2618155
!le16 1485

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2619778
!be24 2627610
!le16 52

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2616597
!be24 2624429
!le16 421

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2617018
!be24 2624850
!le16 209

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2617227
!be24 2625059
!le16 107

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2617334
!be24 2625166
!le16 292

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2617626
!be24 2625458
!le16 778

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2618404
!be24 2626236
!le16 285

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2618689
!be24 2626521
!le16 27

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2613591
!be24 2621397
!le16 880

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2614471
!le16 596
!be24 2622277
!le16 609

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2602709
!le16 1472
!be24 2610489
!le16 1485

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 827435
!be24 835115
!le16 8184

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 843811
!be24 851491
!le16 8184

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2590358
!le16 1329
!be24 2598042
!le16 1353

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2592233
!le16 2088
!be24 2599941
!le16 2112

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2595236
!le16 2140
!be24 2602968
!le16 2164

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2598265
!le16 3101
!be24 2606021
!le16 3125

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2611834
!be24 2619640
!le16 1757

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2615067
!le16 1165
!be24 2622886
!le16 1178

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2589702
!be24 2597386
!le16 656

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 ", *
}