diff --git a/res/DEMO/LOST.TOMB b/res/DEMO/LOST.TOMB index 6a60f03ba..1f426b012 100755 Binary files a/res/DEMO/LOST.TOMB and b/res/DEMO/LOST.TOMB differ diff --git a/res/DEMO/_FileInformation.txt b/res/DEMO/_FileInformation.txt index 8b0ace3d8..71d2f9a23 100644 --- a/res/DEMO/_FileInformation.txt +++ b/res/DEMO/_FileInformation.txt @@ -54,7 +54,7 @@ LASER.BOUNCE=Type(06),AuxType(0300),Access(C3) LASER.BOUNCE.1=Type(F1),AuxType(0000),Access(C3) LAZER.SILK=Type(06),AuxType(0300),Access(C3) LODE.RUNNER=Type(06),AuxType(0200),Access(C3) -LOST.TOMB=Type(06),AuxType(084D),Access(C3) +LOST.TOMB=Type(06),AuxType(0300),Access(C3) MC=Type(06),AuxType(0200),Access(C3) MOON.PATROL=Type(06),AuxType(0200),Access(C3) NIGHT.STALKER=Type(06),AuxType(A000),Access(C3) diff --git a/src/demo/lost.tomb.a b/src/demo/lost.tomb.a new file mode 100644 index 000000000..4a69c487f --- /dev/null +++ b/src/demo/lost.tomb.a @@ -0,0 +1,78 @@ +;license:MIT +;(c) 2022 by qkumba + +!cpu 6502 +!to "res/DEMO/LOST.TOMB",plain +*=$300 + + !source "src/constants.a" ; no code in these + !source "src/macros.a" + + +READ_RAM2_WRITE_RAM2 + jsr EnableAccelerator + +LOAD_FILE_AT lost_tomb, $00 + +READ_ROM_NO_WRITE + + lda #$60 + sta $82A + jsr $800 ; decompress + lda #$4C + sta $2762 + sta $2780 + sta $80AF + sta $88D0 + sta $88B7 + sta $88E0 + lda #$10 + sta $277E + sta $80AD + sta $88B5 + lda #6 + sta $277F + sta $88B6 + lda #$0A + sta $80AE + lda #$A9 + sta $896B + sta $317C + ldx #0 + stx $2763 + stx $2781 + stx $80B0 + stx $88D1 + stx $88B8 + stx $8022 + stx $88E1 + inx + stx $2764 + stx $2782 + stx $896C + stx $317D + stx $80B1 + stx $88D2 + stx $88B9 + stx $88E2 + lda #$EA + sta $896D + sta $317E + lda #$20 + sta $8032 + lda #$1C + sta $8033 + lda #$88 + sta $8034 + lda #$E3 + sta $8039 + + +DISABLE_ACCEL + jmp $84D + +lost_tomb + !byte lost_tomb_e-lost_tomb_b +lost_tomb_b + !text "X/LOST.TOMB/LOST.TOMB" +lost_tomb_e + +!if * > $3F0 { + !error "code is too large, ends at ", * +}