Castlevania

hu, cd, scd, acd, supergrafx discussions.
Post Reply
tomaitheous
Posts: 88
Joined: Mon Jun 23, 2008 1:58 pm

Castlevania

Post by tomaitheous »

Hey Charles,

Here you go :D http://pcedev.net/castlevania1/

I got to the last boss (second form), but I'm not good enough to beat him. I tested it with ME, Mednafen, and the real system (SGX) and it ran fine. Ootake and Yame have so issues with timing that causes scrolling glitches. Surprisingly, it didn't take long to get it up and running (I think 2 days). It uses about 80% of megaman's backend code. Anyway, give it a try ;)
tomaitheous
Posts: 88
Joined: Mon Jun 23, 2008 1:58 pm

Re: Castlevania

Post by tomaitheous »

Version 0.2 - Updated some things (color table, title screen, some small graphic glitches, etc).
User avatar
MooZ
Site Admin
Posts: 407
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: Castlevania

Post by MooZ »

Good job :)
Which one is next? Kid Icarus?
tomaitheous
Posts: 88
Joined: Mon Jun 23, 2008 1:58 pm

Re: Castlevania

Post by tomaitheous »

Kid Icarus :o

Nah, I'm gonna start hacking the game engines to allow 4bit tiles/sprites first I do anything else. (don't quote me on that though).
User avatar
MottZilla
Posts: 4
Joined: Sat Sep 20, 2008 8:40 pm

Re: Castlevania

Post by MottZilla »

I wanted to mention that Kid Icarus, as well as Metroid both use WRAM mapped at $6000. This is probably due to the games being for Famicom Disk System originally. So it's rather amusing that both of these games could have had save support if Mr Potatomoto used SRAM and a Battery. Instead I guess it's just a regular RAM chip. But anyway since you have the PCE Registers mapped at $6000 to $7FFF that is a problem, though I'm guessing you put them there so they wouldn't be at $4000 to $5FFF since the Mr Potatomoto code could end up writing there?

But anyway, for Kid Icarus or Metroid you'd have to change all usage of the 8K of extra WRAM to some of the PCE's WRAM after the first 0x800 bytes which the NES sees as the built in WRAM. The problem is that both these games would need to not use the whole 8K or else you wouldn't have enough. Though I don't know how it works with HuCard's containing SRAM. You must since you were talking about Zelda 2.
tomaitheous
Posts: 88
Joined: Mon Jun 23, 2008 1:58 pm

Re: Castlevania

Post by tomaitheous »

Yeah, if the game requires most of the additional 8k of SRAM for usage (say compared to Dragon Warrior), it would have to be moved to PCE CD project. For CD projects I can remove bank $FF and use self modifying ST0/ST1/ST2 opcodes to access the VDC ports. That would remove the problem of trying to relocate any of the game's SRAM write/read code to PCE's work ram.

Hmm. There is another option if you/we/anyone were to keep Kid Icarus, Metroid, Zelda, Zelda 2, and other SRAM games as a hucard projects. Populous ROM for PCE has an extra 32k of ram. It would the same method as above (self modifying 'stow to vram' opcodes).

I've already moved Castlevania to a PCE CD project (it plays CD tracks in place of songs currently).
tomaitheous
Posts: 88
Joined: Mon Jun 23, 2008 1:58 pm

Re: Castlevania

Post by tomaitheous »

Bump: I guess I forget to upload this update- 0.4. Fixes some sound bugs and attribute bug.
peperocket
Posts: 15
Joined: Mon Jan 26, 2009 2:34 pm

Re: Castlevania

Post by peperocket »

Great, thank you !
peperocket
Posts: 15
Joined: Mon Jan 26, 2009 2:34 pm

Re: Castlevania

Post by peperocket »

Rich, what a pleasure listen to the original castlevania soudtrack !!
I've try on my hardware, no problem!
I look forward to the next revision !
Post Reply