It is currently Thu Nov 15, 2018 5:48 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: BxROM 512k test ROM
PostPosted: Sat Nov 29, 2014 11:45 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 6951
Location: Canada
Just a simple ROM to test whether an emulator or device has support for the oversized 512k BxROM mapper. If successful, it should display a digit counting in hex from 0-F repeatedly in the middle of the screen.

So far I've seen it pass on FCEUX, Nintendulator, puNES, Nestopia, VirtuaNES, PowerPak and Everdrive N8. Maybe it's pretty universally supported by now, making the test kind of unnecessary, but since I'm currently working on a game that targets this mapper variant, I wanted to make sure.


Attachments:
File comment: BxROM 512k test ROM source code
bxrom_512k_test_src.zip [2.93 KiB]
Downloaded 130 times
File comment: BxROM 512k test ROM
bxrom_512k_test.nes [512.02 KiB]
Downloaded 302 times
Top
 Profile  
 
 Post subject: Re: BxROM 512k test ROM
PostPosted: Sat Nov 29, 2014 11:51 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 20770
Location: NE Indiana, USA (NTSC)
Another test for oversize BNROM and AOROM is BNTest.


Top
 Profile  
 
 Post subject: Re: BxROM 512k test ROM
PostPosted: Sun Nov 30, 2014 1:00 am 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 6951
Location: Canada
Aha! So we've been here before.


Top
 Profile  
 
 Post subject: Re: BxROM 512k test ROM
PostPosted: Sun Nov 30, 2014 9:40 am 
Online
User avatar

Joined: Fri Nov 19, 2004 7:35 pm
Posts: 4105
Anyone tried up to 8MB yet?

_________________
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!


Top
 Profile  
 
 Post subject: Re: BxROM 512k test ROM
PostPosted: Sun Nov 30, 2014 3:43 pm 
Offline

Joined: Thu Sep 15, 2005 9:23 am
Posts: 1194
Location: Behind you with a knife!
rainwarrior wrote:
Aha! So we've been here before.

No harm in that. On the contrary, the more test ROMs the better. His might miss something yours doesn't.

_________________
http://www.jamesturner.de/


Top
 Profile  
 
 Post subject: Re: BxROM 512k test ROM
PostPosted: Sun Nov 30, 2014 4:43 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 20770
Location: NE Indiana, USA (NTSC)
Dwedit wrote:
Anyone tried up to 8MB yet?

That'd require something a bit more powerful than a PowerPak though. Besides, once you're past 512 KiB, you probably want battery save or switchable mirroring or a separately switchable sample bank or some other feature associated with ASIC mappers. What demo did you have in mind?


Top
 Profile  
 
 Post subject: Re: BxROM 512k test ROM
PostPosted: Sun Nov 30, 2014 5:08 pm 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 7714
Location: Seattle
Nestopia's loader supports BxROM up to 4 MiB:
Code:
                                                UNL_BXROM                  = MakeId<   34, 4096,    8,  8,  0, CRM_8,  NMT_X,  0 >::ID,

There's no particularly good reason (afaict) for this limit; the only plausible limitation (transforming board properties into a 32-bit UID) should be able to encode all PRG sizes from 2¹⁴ bytes up through 2²⁸...


Top
 Profile  
 
 Post subject: Re: BxROM 512k test ROM
PostPosted: Sun Nov 30, 2014 5:20 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 20770
Location: NE Indiana, USA (NTSC)
The largest power-of-two game in original iNES format is 2 MiB. Anything bigger that's still a power of 2 needs NES 2.0 format. To extend the definition of BxROM to non-power-of-2 ROM sizes, such as 4 MiB minus 16 KiB, we'd need to define what bank number each written value maps to. All have to work because we need to have a valid reset vector even with an unpredictable power-up state.


Top
 Profile  
 
 Post subject: Re: BxROM 512k test ROM
PostPosted: Sun Nov 30, 2014 5:38 pm 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 7714
Location: Seattle
Nestopia enforces powers of 2 (!(PROM & (PROM-1U))), as well as supporting parts of NES2.0 (oversize PRG and CHR, as well as some but not all PRG RAM and CHR RAM sizes).


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

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 4 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:  
Powered by phpBB® Forum Software © phpBB Group