It is currently Sat Feb 17, 2018 12:53 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 49 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
PostPosted: Wed Feb 07, 2018 12:25 pm 
Offline

Joined: Fri Sep 30, 2016 8:57 pm
Posts: 45
Quote:
It would be a waste to replicate the entire engine across multiple banks!


well, the reality is, i don't actually need (or want) 16x the amount of data, so it's going to be wasted one way or another.

i'd rather waste it the way that costs me zero development time.


Top
 Profile  
 
PostPosted: Wed Feb 07, 2018 12:44 pm 
Offline
Formerly WheelInventor

Joined: Thu Apr 14, 2016 2:55 am
Posts: 1353
Location: Gothenburg, Sweden
a quick and rough calculation we made showed us we should definitely be able to do all the levels we want, and maybe a few other things, even with repeated engines.

calima wrote:
ld65 does not support pasting a segment to multiple places.

That's good to know, and rules out a dead end. :beer: But just for clarity, it doesn't make the venture impossible with ca/ld as sole tools. Pubby:s example demonstrates that you can .repeat any other command (which includes other directives [1]), so .repeat-ing a .segment (requires generating new names) basically means the assembler will lay down copies of a segment which the linker can then organize at different origins/in different banks.

_________________
http://www.frankengraphics.com - personal NES blog


Top
 Profile  
 
PostPosted: Wed Feb 07, 2018 1:58 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19625
Location: NE Indiana, USA (NTSC)
pinobatch/bnrom-template is up, demonstrating interbank function calls and interbank NMI using a 256-byte fixed bank.


Top
 Profile  
 
PostPosted: Wed Feb 07, 2018 2:05 pm 
Offline

Joined: Mon May 27, 2013 9:40 am
Posts: 400
My GNROM-like adventures consist on myself creating NROMs and then creating the master ROM extracting binaries, pasting them together in the right order, and adding a header. And works great. I can share my humble tools. INL's oversize mapper 11 has 16x32K PRG and 16x8K CHR, which is space aplenty.

If you are replicating the engine, this "multiple NROM" approach works quite right.

For communication, I reserve a small RAM area which I don't clear on startup, plus a simple CRC-like technique to detect a wrong bank paged in (for example, on powerup).

_________________
http://www.mojontwins.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 49 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC - 7 hours


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:  
Powered by phpBB® Forum Software © phpBB Group