Hoping to make your life's design a bit more dynamic!

It is currently Thu Mar 28, 2024 9:42 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
Post subject: Now works on real hardware
PostPosted: Thu Feb 09, 2012 8:58 pm 
Offline

Joined: Tue Oct 20, 2009 6:19 pm
Posts: 226
Thought Bongo' et al would be interested in this patch that fixes hardware compatibility.

http://ompldr.org/vY3B4dw/gulliverboy_dma_fix.zip


Top
 Profile  
Reply with quote  
Post subject: Re: Now works on real hardware
PostPosted: Thu Feb 09, 2012 9:17 pm 
Offline

Joined: Wed Jun 02, 2010 9:50 pm
Posts: 8
I'm actually the author of that patch and was just about to write here, but it seems you've beaten me to the punch :)

Anyway, what the patch does is insert vblank checks before all VRAM writes and reads in the dialogue VWF, as well as fix the corruption visible in the splash screen by initializing the necessary registers. Consequently, the translation should play as intended on newer emulators and real hardware. I've thrown in a minor tilemap fix for Gulliver's name in the status screen for good measure. Mind you, this hasn't been extensively tested, but in my limited testing everything seemed to be running fine. I really hope Bongo doesn't mind me tinkering with the game.


Top
 Profile  
Reply with quote  
Post subject: Re: Now works on real hardware
PostPosted: Fri Feb 10, 2012 12:28 am 
Offline
User avatar

Joined: Tue Oct 20, 2009 6:55 pm
Posts: 844
I'm quite sure that he (as well as all of us)
is quite thankful for you taking the time to make our
patch more widespreadly accessible than it was before.
Patches working on real hardware is a very important
milestone, as there are users that would rather play
games using their copiers in stead of emulators.


Top
 Profile  
Reply with quote  
Post subject: Re: Now works on real hardware
PostPosted: Fri Feb 10, 2012 12:53 am 
Offline
Site Admin
User avatar

Joined: Fri Oct 09, 2009 11:54 pm
Posts: 2340
Location: Virginia
mziab wrote:
I'm actually the author of that patch and was just about to write here, but it seems you've beaten me to the punch :)

Anyway, what the patch does is insert vblank checks before all VRAM writes and reads in the dialogue VWF, as well as fix the corruption visible in the splash screen by initializing the necessary registers. Consequently, the translation should play as intended on newer emulators and real hardware. I've thrown in a minor tilemap fix for Gulliver's name in the status screen for good measure. Mind you, this hasn't been extensively tested, but in my limited testing everything seemed to be running fine. I really hope Bongo doesn't mind me tinkering with the game.
I'm wondering if you would mind (assuming Bongo` is of like mind), if we incorporated all enhancements into one integrated patch? Naturally, you would get credit for your work. Bongo` is so overloaded, we have been sort of unofficially looking for assembly and other hacking support to help Bongo` with D-D's ambitious workload these days.


Image


Top
 Profile  
Reply with quote  
Post subject: Re: Now works on real hardware
PostPosted: Fri Feb 10, 2012 5:07 am 
Offline
Site Admin
User avatar

Joined: Fri Oct 09, 2009 4:53 pm
Posts: 875
Location: South Florida
mziab wrote:
I'm actually the author of that patch and was just about to write here, but it seems you've beaten me to the punch :)

Anyway, what the patch does is insert vblank checks before all VRAM writes and reads in the dialogue VWF, as well as fix the corruption visible in the splash screen by initializing the necessary registers. Consequently, the translation should play as intended on newer emulators and real hardware. I've thrown in a minor tilemap fix for Gulliver's name in the status screen for good measure. Mind you, this hasn't been extensively tested, but in my limited testing everything seemed to be running fine. I really hope Bongo doesn't mind me tinkering with the game.


This patch was suppose to be the forgotten love child. :) I really needed to redo EVERYTHING
in this game including the VWF routine. It was done in pure Hex!!! Basically done in a hex editor and manually inserted! :( Don't believe me? I'll happily give you the file used. :)

Anyway, it's fine that you did the fixes. This was quite the early piece and needed
some help. I wish I could say the same for Doraemon RPG on the NES. :(


Top
 Profile  
Reply with quote  
Post subject: Re: Now works on real hardware
PostPosted: Fri Feb 10, 2012 7:24 pm 
Offline

Joined: Wed Jun 02, 2010 9:50 pm
Posts: 8
WildBill: Sure, feel free to incorporate those fixes in a future patch if you wish. I'd be glad to contribute.

Bongo: Seriously? Wow, talk about hardcore :) I can't imagine coding anything more complex with just a hexeditor. Guess the toolbase we know and love wasn't around back then, eh?

On a related note, it seems there are TWO versions of the v0.99 patch in circulation. The first one, dated May 24th, 2001, is the one available in your download section, as well as the old Stealth website. And that's the version I based my fix off. RHDN, however, hosts a version from May 26th, 2001, which contains a handful of changes, including the tilemap fix for Gulliver's name I also did. You might want to update your local copy.

Anyway, my fixes work on top of both versions. The newer one has some (now redundant) code for clearing out VRAM, though. Since it causes some invalid VRAM writes, I should probably nix it and release another version of the fix. Alternatively, I could rewrite it, so it doesn't transfer out of vblank. Any thoughts on that?


Top
 Profile  
Reply with quote  
Post subject: Re: Now works on real hardware
PostPosted: Sat Feb 11, 2012 6:41 am 
Offline

Joined: Wed Oct 21, 2009 2:24 am
Posts: 215
Bongo` wrote:
I wish I could say the same for Doraemon RPG on the NES. :(

I tried to play Doraemon RPG.
Got to the second world and I went "OH ****!" after the sudden difficulty spike. :P

Cool to see Gulliver Boy getting fixed. I'd like to try playing it again.


Top
 Profile  
Reply with quote  
Post subject: Re: Now works on real hardware
PostPosted: Sat Mar 03, 2012 5:44 pm 
Offline

Joined: Wed Jun 02, 2010 9:50 pm
Posts: 8
I've updated my fix, so it applies over the newer patch. You can download it here. I can also upload the code, if that's more convenient for Bongo.


Top
 Profile  
Reply with quote  
Post subject: Re: Now works on real hardware
PostPosted: Sat Mar 03, 2012 6:45 pm 
Offline
Site Admin
User avatar

Joined: Fri Oct 09, 2009 11:54 pm
Posts: 2340
Location: Virginia
mziab wrote:
I've updated my fix, so it applies over the newer patch. You can download it here. I can also upload the code, if that's more convenient for Bongo.
Thanks for the reminder. We need to get to this and get it done!


Image


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group