diff --git a/res/GAMES.CONF b/res/GAMES.CONF index c88f7ce96..fe5df004a 100755 --- a/res/GAMES.CONF +++ b/res/GAMES.CONF @@ -25,6 +25,7 @@ 0000,AGENT.U.S.A=Agent U S A 1110,AIRHEART=Airheart 0001,ALCAZAR=Alcazar +1000,ALF=ALF 1001,ALIEN.AMBUSH=Alien Ambush 0001,ALIEN.DOWNPOUR=Alien Downpour 0000,ALIEN.LANDER=Alien Lander diff --git a/res/TITLE.HGR.UNPACKED/ALF b/res/TITLE.HGR.UNPACKED/ALF new file mode 100644 index 000000000..99024eacc Binary files /dev/null and b/res/TITLE.HGR.UNPACKED/ALF differ diff --git a/res/TITLE.HGR/ALF b/res/TITLE.HGR/ALF new file mode 100644 index 000000000..cdb3772af Binary files /dev/null and b/res/TITLE.HGR/ALF differ diff --git a/res/dsk/alf PRODOS (san inc pack).po b/res/dsk/alf PRODOS (san inc pack).po new file mode 100644 index 000000000..967eb2f4f Binary files /dev/null and b/res/dsk/alf PRODOS (san inc pack).po differ diff --git a/res/notes/wishlist.txt b/res/notes/wishlist.txt index aa659017a..8b80315a9 100644 --- a/res/notes/wishlist.txt +++ b/res/notes/wishlist.txt @@ -1,5 +1,4 @@ //unprotected -Alf (Box Office) California Raisins Flobynoid Treasure Dive (Nibble) diff --git a/src/index/artwork.idx.a b/src/index/artwork.idx.a index 3f6365341..1c93cd957 100644 --- a/src/index/artwork.idx.a +++ b/src/index/artwork.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11251584 + !be24 11259842 !le16 4505 diff --git a/src/index/attract.idx.a b/src/index/attract.idx.a index ed0b783b0..4c4ec4558 100644 --- a/src/index/attract.idx.a +++ b/src/index/attract.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11203966 + !be24 11212204 !le16 5257 diff --git a/src/index/cache00.idx.a b/src/index/cache00.idx.a index d1bfd9e65..4c156ed33 100644 --- a/src/index/cache00.idx.a +++ b/src/index/cache00.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11146346 + !be24 11154538 !le16 3593 diff --git a/src/index/cache01.idx.a b/src/index/cache01.idx.a index 17feb499d..d6dd6e652 100644 --- a/src/index/cache01.idx.a +++ b/src/index/cache01.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11158793 + !be24 11166985 !le16 3970 diff --git a/src/index/cache10.idx.a b/src/index/cache10.idx.a index 8f30fb970..3e8b734f7 100644 --- a/src/index/cache10.idx.a +++ b/src/index/cache10.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11174316 + !be24 11182526 !le16 5026 diff --git a/src/index/cache11.idx.a b/src/index/cache11.idx.a index 00cad82e9..0b64ec229 100644 --- a/src/index/cache11.idx.a +++ b/src/index/cache11.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11192140 + !be24 11200368 !le16 5616 diff --git a/src/index/count10.a b/src/index/count10.a index 80a062b84..a965af817 100644 --- a/src/index/count10.a +++ b/src/index/count10.a @@ -3,4 +3,4 @@ ; ; This file is automatically generated ; -!word 376 +!word 377 diff --git a/src/index/count11.a b/src/index/count11.a index d234a99af..03005e497 100644 --- a/src/index/count11.a +++ b/src/index/count11.a @@ -3,4 +3,4 @@ ; ; This file is automatically generated ; -!word 416 +!word 417 diff --git a/src/index/coverfade.idx.a b/src/index/coverfade.idx.a index b370868e9..bc0ae7146 100644 --- a/src/index/coverfade.idx.a +++ b/src/index/coverfade.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11256089 + !be24 11264347 !le16 410 diff --git a/src/index/credits.idx.a b/src/index/credits.idx.a index 79c00d4bf..5c464b708 100644 --- a/src/index/credits.idx.a +++ b/src/index/credits.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11256843 + !be24 11265101 !le16 448 diff --git a/src/index/decrunch.idx.a b/src/index/decrunch.idx.a index ae74ddb8e..6bf2c1254 100644 --- a/src/index/decrunch.idx.a +++ b/src/index/decrunch.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11257291 + !be24 11265549 !le16 303 diff --git a/src/index/dfx.idx.a b/src/index/dfx.idx.a index bd22f93b6..731c4dab2 100644 --- a/src/index/dfx.idx.a +++ b/src/index/dfx.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11211369 + !be24 11219607 !le16 1242 diff --git a/src/index/dgr.fizzle.idx.a b/src/index/dgr.fizzle.idx.a index 1d1577bae..937c6ec2d 100644 --- a/src/index/dgr.fizzle.idx.a +++ b/src/index/dgr.fizzle.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11256575 + !be24 11264833 !le16 67 diff --git a/src/index/dgr.idx.a b/src/index/dgr.idx.a index 4980a9ad5..854bff5b0 100644 --- a/src/index/dgr.idx.a +++ b/src/index/dgr.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11251525 + !be24 11259783 !le16 59 diff --git a/src/index/dhgr.idx.a b/src/index/dhgr.idx.a index f893de5e7..ddc4eaab1 100644 --- a/src/index/dhgr.idx.a +++ b/src/index/dhgr.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11250160 + !be24 11258418 !le16 1284 diff --git a/src/index/dtitle.idx.a b/src/index/dtitle.idx.a index f9de05c92..f96095b5e 100644 --- a/src/index/dtitle.idx.a +++ b/src/index/dtitle.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11236083 + !be24 11244341 !le16 502 diff --git a/src/index/fx.idx.a b/src/index/fx.idx.a index aad912625..4fe2cff34 100644 --- a/src/index/fx.idx.a +++ b/src/index/fx.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11209223 + !be24 11217461 !le16 2146 diff --git a/src/index/gamehelp.idx.a b/src/index/gamehelp.idx.a index 6d92ce686..d1eabfd65 100644 --- a/src/index/gamehelp.idx.a +++ b/src/index/gamehelp.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11212969 - !le16 6210 + !be24 11221207 + !le16 6220 diff --git a/src/index/gr.fizzle.idx.a b/src/index/gr.fizzle.idx.a index 622d2c538..6f7c2054c 100644 --- a/src/index/gr.fizzle.idx.a +++ b/src/index/gr.fizzle.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11256499 + !be24 11264757 !le16 76 diff --git a/src/index/gr.idx.a b/src/index/gr.idx.a index f649c50f6..9abdd1bf8 100644 --- a/src/index/gr.idx.a +++ b/src/index/gr.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11251444 + !be24 11259702 !le16 81 diff --git a/src/index/helptext.idx.a b/src/index/helptext.idx.a index 1e439f225..2435e0095 100644 --- a/src/index/helptext.idx.a +++ b/src/index/helptext.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11256642 + !be24 11264900 !le16 201 diff --git a/src/index/hgr0.idx.a b/src/index/hgr0.idx.a index 7806e543e..cc3b79b1d 100644 --- a/src/index/hgr0.idx.a +++ b/src/index/hgr0.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11236585 + !be24 11244843 !le16 4407 diff --git a/src/index/hgr1.idx.a b/src/index/hgr1.idx.a index 5f193b335..d3661128b 100644 --- a/src/index/hgr1.idx.a +++ b/src/index/hgr1.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11240992 + !be24 11249250 !le16 1562 diff --git a/src/index/hgr2.idx.a b/src/index/hgr2.idx.a index 5efc47277..d06251179 100644 --- a/src/index/hgr2.idx.a +++ b/src/index/hgr2.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11242554 + !be24 11250812 !le16 1040 diff --git a/src/index/hgr3.idx.a b/src/index/hgr3.idx.a index a53dbaf24..b84b33964 100644 --- a/src/index/hgr3.idx.a +++ b/src/index/hgr3.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11243594 + !be24 11251852 !le16 3237 diff --git a/src/index/hgr4.idx.a b/src/index/hgr4.idx.a index 4b352169f..11db23651 100644 --- a/src/index/hgr4.idx.a +++ b/src/index/hgr4.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11246831 + !be24 11255089 !le16 2764 diff --git a/src/index/hgr5.idx.a b/src/index/hgr5.idx.a index 0d7573b60..acb53cc30 100644 --- a/src/index/hgr5.idx.a +++ b/src/index/hgr5.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11249595 + !be24 11257853 !le16 460 diff --git a/src/index/hgr6.idx.a b/src/index/hgr6.idx.a index 52593b673..0fb5a0f4c 100644 --- a/src/index/hgr6.idx.a +++ b/src/index/hgr6.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11250055 + !be24 11258313 !le16 105 diff --git a/src/index/joystick.idx.a b/src/index/joystick.idx.a index e1ac4502a..a1207c704 100644 --- a/src/index/joystick.idx.a +++ b/src/index/joystick.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11257594 + !be24 11265852 !le16 2370 diff --git a/src/index/miniattract.idx.a b/src/index/miniattract.idx.a index 1db81e56c..a6bcc245c 100644 --- a/src/index/miniattract.idx.a +++ b/src/index/miniattract.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11224092 + !be24 11232340 !le16 6201 diff --git a/src/index/prelaunch.idx.a b/src/index/prelaunch.idx.a index 2d20f760d..927291dae 100644 --- a/src/index/prelaunch.idx.a +++ b/src/index/prelaunch.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11197756 - !le16 6210 + !be24 11205984 + !le16 6220 diff --git a/src/index/res.cover.idx.a b/src/index/res.cover.idx.a index af192653a..8cad8cb83 100644 --- a/src/index/res.cover.idx.a +++ b/src/index/res.cover.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 3587072 + !be24 3595264 !le16 8192 diff --git a/src/index/res.help.idx.a b/src/index/res.help.idx.a index 12d12a5ab..f597c6f78 100644 --- a/src/index/res.help.idx.a +++ b/src/index/res.help.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 3603456 + !be24 3611648 !le16 8192 diff --git a/src/index/res.title.idx.a b/src/index/res.title.idx.a index 51dff9a3e..66a7085e1 100644 --- a/src/index/res.title.idx.a +++ b/src/index/res.title.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 3595264 + !be24 3603456 !le16 8192 diff --git a/src/index/search00.idx.a b/src/index/search00.idx.a index 837612daa..f33989fe6 100644 --- a/src/index/search00.idx.a +++ b/src/index/search00.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11138288 + !be24 11146480 !le16 8058 diff --git a/src/index/search01.idx.a b/src/index/search01.idx.a index c4749672b..253b9c938 100644 --- a/src/index/search01.idx.a +++ b/src/index/search01.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11149939 + !be24 11158131 !le16 8854 diff --git a/src/index/search10.idx.a b/src/index/search10.idx.a index 49976eeb1..8ff41f35a 100644 --- a/src/index/search10.idx.a +++ b/src/index/search10.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11162763 - !le16 11553 + !be24 11170955 + !le16 11571 diff --git a/src/index/search11.idx.a b/src/index/search11.idx.a index 657e2fb21..2b380b759 100644 --- a/src/index/search11.idx.a +++ b/src/index/search11.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11179342 - !le16 12798 + !be24 11187552 + !le16 12816 diff --git a/src/index/sfx.idx.a b/src/index/sfx.idx.a index 7af7c2e4c..bbe3d90ff 100644 --- a/src/index/sfx.idx.a +++ b/src/index/sfx.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11212611 + !be24 11220849 !le16 358 diff --git a/src/index/slideshow.idx.a b/src/index/slideshow.idx.a index ff221357d..35ed69575 100644 --- a/src/index/slideshow.idx.a +++ b/src/index/slideshow.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11219179 + !be24 11227427 !le16 4913 diff --git a/src/index/title.idx.a b/src/index/title.idx.a index f0b2a500b..b3cb42f56 100644 --- a/src/index/title.idx.a +++ b/src/index/title.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 11230293 - !le16 5790 + !be24 11238541 + !le16 5800 diff --git a/src/prelaunch/alf.a b/src/prelaunch/alf.a new file mode 100644 index 000000000..faf841cea --- /dev/null +++ b/src/prelaunch/alf.a @@ -0,0 +1,41 @@ +;license:MIT +;(c) 2022 by qkumba + +!cpu 6502 +!to "build/PRELAUNCH.INDEXED/ALF",plain +*=$106 + + !source "src/prelaunch/common.a" + + +ENABLE_ACCEL + + lda #$60 + sta $87F + sta $888 + sta $892 + sta $8A0 + jsr $800 ; decompress + +DISABLE_ACCEL + jsr $8AA5 + +ENABLE_ACCEL + jsr $882 ; decompress + +DISABLE_ACCEL + jsr $7150 + +ENABLE_ACCEL + jsr $88B ; decompress + +DISABLE_ACCEL + jsr $4000 + +ENABLE_ACCEL + jsr $895 ; decompress + ldy #$60 + sty $3C7 + jsr $3BD + lda #$4C + sta $3C7 + inc $2B ; seed RNG + +DISABLE_ACCEL + jmp $800 + +!if * > $1C0 { + !error "code is too large, ends at ", * +}