Search found 270 matches

by adam_smasher
Sat May 28, 2011 8:53 am
Forum: GBDev
Topic: Fixing ROMs for EMS 64 GB Smart Card USB
Replies: 332
Views: 137926

It's worth a shot. Hit me.
by adam_smasher
Fri May 27, 2011 7:44 pm
Forum: GBDev
Topic: Fixing ROMs for EMS 64 GB Smart Card USB
Replies: 332
Views: 137926

Yeah, dybbi what to tell you. I just played through from the beginning up to that point looking for problems, and not a single one. I can save and reload my save just fine afterward.
by adam_smasher
Fri May 27, 2011 3:57 pm
Forum: GBDev
Topic: Fixing ROMs for EMS 64 GB Smart Card USB
Replies: 332
Views: 137926

Hi, I've been out of town for a bit, and then it took a while to get as far into the game as you. Unfortunately - again - I can't reproduce this. Sigh. And I've taken care to make sure that what eluded me last time wouldn't again, so... You're sure the crash happens immediately after the owl's speech?
by adam_smasher
Wed May 11, 2011 6:49 pm
Forum: GBDev
Topic: Fixing ROMs for EMS 64 GB Smart Card USB
Replies: 332
Views: 137926

Alright, no idea if this is causing your problem, but it seems possible. In what is, I think, the map loading routine, it makes bad bankswitches when loading certain maps (in ROM at $2DED). I should have caught this before. Mea culpa . No idea why this usually doesn't screw things up, but... Anyway,...
by adam_smasher
Tue May 10, 2011 12:55 am
Forum: GBDev
Topic: Fixing ROMs for EMS 64 GB Smart Card USB
Replies: 332
Views: 137926

Hm, after a bit of investigation I'm pretty sure the game only ever writes to $2100 to switch banks. And I've checked every bank write the game does during its save procedure, and at no point does it write a bad value (00, 20, etc.) Thanks for your help Mott, but TBH, at this point I don't think the...
by adam_smasher
Mon May 09, 2011 9:44 pm
Forum: GBDev
Topic: Fixing ROMs for EMS 64 GB Smart Card USB
Replies: 332
Views: 137926

Tried that, got nuffin'.
by adam_smasher
Mon May 09, 2011 8:27 pm
Forum: GBDev
Topic: Fixing ROMs for EMS 64 GB Smart Card USB
Replies: 332
Views: 137926

Can't reproduce on an emulator, sorry. Some possibilities: 1. You're doing something else to trigger this bug and ascribing it to the wrong condition (i.e. saving Bow-wow isn't the trigger, something else is) 2. The ROM didn't copy onto the flash cart correctly 3. The game is doing something weird t...
by adam_smasher
Sun May 08, 2011 9:39 pm
Forum: GBDev
Topic: Fixing ROMs for EMS 64 GB Smart Card USB
Replies: 332
Views: 137926

Ack! Yes, it's possible my patch has overwritten something important or another. Or it's possible that there are more bad bankswitches embedded in the code. I'll take a look ASAP and try to fix this. If you could clarify though - you say you get a white screen after saving. Do you mean by dying, the...
by adam_smasher
Thu May 05, 2011 5:59 pm
Forum: GBDev
Topic: Fixing ROMs for EMS 64 GB Smart Card USB
Replies: 332
Views: 137926

The "Bung Fix" is a previously made patch for the game, designed to fix the garbled map bug when running the game on Bung carts. It should fix it on the EMS ones, as well. Not sure if you can find the patch alone, but GoodGB lists the ROM as "Super Mario Land 2 - 6 Golden Coins (V1.0) (UE) [BF]".
by adam_smasher
Thu May 05, 2011 9:19 am
Forum: GBDev
Topic: Fixing ROMs for EMS 64 GB Smart Card USB
Replies: 332
Views: 137926

According to the first post in this thread, the "Bung Fix" solves the garbled map. The Bung Fixes solve the Super Mario Land 2 problem (garbled map screen) ...there are three instances where the problem can occur: 1. Game writes to 3000-3FFF to perform a bankswitch [...] The Bung Fixes are supposed ...
by adam_smasher
Sun Apr 24, 2011 10:00 am
Forum: GBDev
Topic: Pacing music with the screen off
Replies: 9
Views: 5221

True - I guess the average game never really needs to stream in a lot of data to VRAM quickly with music running. Usually you'd change music between levels (when you need a new tileset) and it'd only take a few frames to black out the screen and stream in a new map (between sub-levels, for instance)...
by adam_smasher
Sat Apr 23, 2011 4:58 pm
Forum: GBDev
Topic: Pacing music with the screen off
Replies: 9
Views: 5221

Alright, cool, I'll give that a shot. I had gotten my impression from this article about implementing a GB emulator: Since the "counter" timer triggers an interrupt when it overflows, it can be especially useful if a game requires something to happen at a regular interval. However, a Gameboy game ca...
by adam_smasher
Sat Apr 23, 2011 3:42 pm
Forum: GBDev
Topic: Pacing music with the screen off
Replies: 9
Views: 5221

Yeah, near as I can tell vblank interrupts aren't generated on the GB while the screen's off - a HALT (wait for next interrupt) instruction will actually lock up the system.
by adam_smasher
Sat Apr 23, 2011 12:48 pm
Forum: GBDev
Topic: Pacing music with the screen off
Replies: 9
Views: 5221

Pacing music with the screen off

Currently I update my sound engine in my vblank handler, after it's done with any necessary VRAM access. This works great for keeping the music going at a steady pace - as long as the screen's on. When I do turn off the screen (for a large transfer of data to VRAM, generally), there's inevitably a s...
by adam_smasher
Sun Mar 27, 2011 11:45 am
Forum: GBDev
Topic: Fixing ROMs for EMS 64 GB Smart Card USB
Replies: 332
Views: 137926

Hi, I've patched Link's Awakening so that it no longer crashes when saving on an MBC5 (i.e. on these USB carts). Untested on a real GB, but it fixes the crash on emulators, anyway. DOWNLOAD Apply to a Link's Awakening 1.0 [!] ROM. Technical details, for the curious: The game maintains a "current ban...