diff --git a/res/GAMES.CONF b/res/GAMES.CONF index d6851c422..51e19b6c2 100755 --- a/res/GAMES.CONF +++ b/res/GAMES.CONF @@ -188,7 +188,7 @@ 0000,MONSTER.MASH 0001,MONTEZUMA=Montezuma's Revenge 0001,MOON.PATROL -0000,MR.COOL=Mr. Cool +0001,MR.COOL=Mr. Cool 1001,MR.DO=Mr. Do! 1001,MR.ROBOT=Mr. Robot 0001,MS.PACMAN=Ms. Pacman diff --git a/src/prelaunch/mr.cool.a b/src/prelaunch/mr.cool.a new file mode 100644 index 000000000..0151e9822 --- /dev/null +++ b/src/prelaunch/mr.cool.a @@ -0,0 +1,27 @@ +;license:MIT +;(c) 2021 by 4am/xot + +!cpu 6502 +!to "build/PRELAUNCH/MR.COOL",plain +*=$106 + + !source "src/prelaunch/common.a" + + +ENABLE_ACCEL + lda #$60 + sta $83C + jsr $800 ; decompress + + +GET_MACHINE_STATUS + and #CHEATS_ENABLED + beq + + lda #$2C + sta $4C47 ; patch - don't decrease lives + sta $562F ; patch - don't increase lives + ++ +DISABLE_ACCEL + jmp $4000 + +!if * > $1C0 { + !error "code is too large, ends at ", * +}