Offline

SurfaceDragon, it will very likely support either six 32K NROMs loaded at once, or two NROMs and one MMC1, with a menu to select which one to run. It might be possible at some point to fit ten NROMs or four NROMs and one MMC1, though that would require more Flash rewriting each time one was loaded/unloaded. There is a lot of flexibility in the software, so the first release will have plenty of room for upgrades without any changes to the cartridge.

I like the load status beeps. That was a great idea.

That was just for this development version where it's the only way to know it's working. The release will show a progress bar on the PC, so you don't need the NES even connected to a TV or anything while loading it.

Here's the current API I'm working on. It makes working with the cartridge extremely simple from C. It will be used to build the various tools for putting things on the cartridge and backing up SRAM. Initially I'm writing a simple command-line tool, but there should be some GUIs at some point.

// Bank parameter below selects 16K bank from Flash at $8000.
// It can be any value from 0 to $1F.

// Confirm that NES and Munchausen cartridge are ready
error_t ping();

// Read section of cartridge or NES memory, including SRAM
error_t read_mem( void* out, int size, int addr, int bank );

// Write any section of cartridge or NES memory, including SRAM
error_t write_mem( void const* in, int size, int addr, int bank );

// Find CRC 16 of any section of NES memory
error_t crc16_mem( unsigned* out, int size, int addr, int bank );

// Program any portion of cartridge Flash memory. Size and addr must be
// multiple of 256. Flash memory is 512K total ($80000 bytes).
error_t write_flash( void const* in, int size, int addr );

// Erase a 64K sector of Flash. There are 8 total.
error_t erase_sector( int sector );

Different errors are returned for the following situations:
* NES not responding
* Munchausen cartridge not working properly
* Data transfer error
* Flash programming failed
* Flash took too long to program
* Flash erase failed

All data transferred between the PC and NES is extensively checksummed, to avoid any undetected data errors. Given the clean API, it will be easy to write thorough tests of the cartridge and API. I plan on adding a cartridge test function which ensures all the Munchausen functions are working.

Last edited by blargg (Aug 26, 2010 12:38 am)

Offline
Minneapolis

Thanks so much for the update Blargg!

Offline
USA

This cart will be awesome for Litewall-Version-10c!
I can't wait to see my modified versions of Litewall running on an actual NES.

And it would also be so cool to play Super Mario Bros: The Lost Levels on a real NES!
I've only played Super Mario Bros: The Lost Levels with a NES emulator on xbox.

Now if only someone could hack the Duck Hunt ROM to support simultaneous dual Zapper gameplay.
Dual Light-gun gameplay would be fucking gangster.

Chiller is the only game for the NES that supports dual zappers. Chiller has gruesome graphics but the actual gameplay is kinda weak and repetitive. I've only played chiller once a long time ago.

I guess I just wish there were more light-gun zapper games in general.

Have you guys tried any Light-gun games with the Münchausen cart yet?

Offline
Minneapolis
SurfaceDragon wrote:

This cart will be awesome for Litewall-Version-10c!
I can't wait to see my modified versions of Litewall running on an actual NES.

And it would also be so cool to play Super Mario Bros: The Lost Levels on a real NES!
I've only played Super Mario Bros: The Lost Levels with a NES emulator on xbox.

Now if only someone could hack the Duck Hunt ROM to support simultaneous dual Zapper gameplay.
Dual Light-gun gameplay would be fucking gangster.

Chiller is the only game for the NES that supports dual zappers. Chiller has gruesome graphics but the actual gameplay is kinda weak and repetitive. I've only played chiller once a long time ago.

I guess I just wish there were more light-gun zapper games in general.

Have you guys tried any Light-gun games with the Münchausen cart yet?

OK, one thing at a time:

Lost Levels- I don't know if the ROM is compatible or not, since I don't have it. AFAIK, it's an FDS game, which wouldn't work on the cartridge. Sorry.

Lightgun games- if the game has the right mapper it will play on Munchausen. Duck Hunt, Wild Gunman and Hogan's Alley will certainly work as they are NROM games. I haven't personally tried any yet, but it shouldn't be an issue.

Offline
USA

Thank you!

And sorry for asking so many questions.

I'm obviously a light-gun fanatic and a Duck Hunting master.

If anyone wants to challenge me to a Duck Hunt battle,
just come to South Miami and I will destroy you!

Thanks again arfink!

Last edited by SurfaceDragon (Aug 26, 2010 7:54 am)

Offline
Minneapolis

Bit of a large-ish update:

Blargg has been coding along like a man of steel, and hopefully we'll get a chance to demo the new loader, recovery mode (in case of bricking) and game select menu!

In the mean time, I have some new artwork made by Pixls which will be the labels for the NES and Famicom cartridges.

Offline
astral cat

<333333333333 can't wait to get my hands on a famicom one!

Offline
Minneapolis

Here is some info I got from Blargg concerning the layout and usage of the Flash chip:

Here's the layouts I have in mind. I've broken it into the 16K banks
the MMC1 provides, and the two 256K halves that our bank select gives.
The benefit of the arrangement is that loading an NROM game only
requires rewriting one sector. 

MMC + 2 NROM / 6 NROM
16K          256K Bank
Bank    0               1
--------------------------------------------------
0       MMC1            Menu
1       MMC1            2 WRAM backups
2       MMC1            2 WRAM backups
3       MMC1            2 WRAM backups
4       MMC1            NROM 1 PRG
5       MMC1            NROM 1 PRG
6       MMC1            NROM 1 CHR and info
7       MMC1            2 WRAM backups
8       MMC1            NROM 2 PRG
9       MMC1            NROM 2 PRG
A       MMC1            NROM 2 CHR and info
B       MMC1            2 WRAM backups
C       MMC1            Recovery loader and tables
D       MMC1            copy of recovery loader
E       MMC1            copy of recovery loader
F       MMC1            copy of recovery loader

Could also put four NROMs in MMC1 space.
Offline
USA

Yes or No?

Offline
rochester, ny

i love everything in this thread.

Offline
A gray world of dread
SurfaceDragon wrote:

Yes or No?

Nah

Last edited by µB (Aug 28, 2010 12:22 am)

Offline
USA

I was also thinking no. I just threw this together in paint.

Offline
USA

?

Offline

SurfaceDragon, it needs more swastikas

Offline
Milwaukee, WI

How about a fist punching through the label with still-sparking wires in the fist. You need to have veins popping out and sweat thrown every which way.

The closer you get to making it look like an 80's metal album cover, the more points you get.

No pixel art, all hand-painted. DO IT NOW!

Offline
USA

No, I just need to be more creative.