Need help removing demo mode from a ROM

Are you new to 6502, NES, or even programming in general? Post any of your questions here. Remember - the only dumb question is the question that remains unasked.

Moderator: Moderators

Post Reply
Posts: 24
Joined: Thu Jul 20, 2017 9:01 am

Need help removing demo mode from a ROM

Post by spookgoblin » Tue Nov 07, 2017 1:27 pm

Hi there!

Does anyone know of a way to remove/turn off the demo mode (triggers from main menu and demos gameplay) from a ROM--specifically Castlevania 1?

Many thanks!

User avatar
Posts: 1292
Joined: Wed Apr 02, 2008 2:09 pm

Re: Need help removing demo mode from a ROM

Post by Kasumi » Tue Nov 07, 2017 2:25 pm

Sure, here's a patch for Castlevania PRG 1.

Why, though? :lol:

Edit: Oh, you're the fiancé hack person. Just in case you're working from some modified ROM where this wouldn't work, the demo is triggered when $001E in RAM reaches zero on the title screen. When $001E is not zero, it branches to code at $B858. So I replaced the code that decrements $001E and the branch with a jmp to $B858. The jump means it ALWAYS goes where the game normally only goes if the counter is not zero. So the code that runs when the counter would reach zero in the real game (the demo stuff) never runs. Good luck!

And let me know if there are any problems with it, I spent like... five minutes on it.

Edit2: Oh, you can do it with a one byte change. $B858 is an RTS, so you can just change the opcode for dec $001E to $60. Oh well, I'm not uploading a new patch. :P
Castlevania (U) (PRG1) (No Demo).ips
(17 Bytes) Downloaded 60 times

Post Reply