Discussion

Bank switching on NX

2

Wild William 2022-09-12 01:04

I'm certain someone asked this before, (and to be honest it kinda goes against the idea of the console) but how could bank switching (or hell even expansion chips like the famicom) work on the NX, since i often find myself running out of space when making games with lots of music, levels or graphics

it could also offer a more legitimate way to store large sums of data instead of just exploiting the DATA command


was8bit 2022-09-12 03:52

COPY backup files directly into memory.

Just remember, you can only use 8 color sets, 256 character images, and 16 sounds, at any one time...


was8bit 2022-09-12 03:58

Also, I believe there is a limit for how much total data you can store for all your files... I just can’t find the number for it ....


was8bit 2022-09-12 03:59

I’ve tested and found that limit once ;)


Wild William 2022-09-12 04:29 (Edited)

i've been using that technique for a while, though i mean the 32k limit that just comes from the cartridge, which can be a bit annoying when trying to make vaguely large games, take the OG zelda, which used a 128k rom or kirby's adventure, with a crazy 768k rom


Timo 2022-09-12 07:17

But would anyone really make such large games with NX? I don’t think any published NX game comes close to the limit.

The reason why most fantasy consoles have these limits is, to stop people trying to start huge projects which they never finish. So it’s a forced “keep it simple”.

Actually NX is already more flexible than Pico-8, because you can use the ROM space as you need.

Are you really working on bigger projects?


Timo 2022-09-12 07:19

And about “you see nothing”, please don’t break the web now, I’m on holidays ;)


Wild William 2022-09-12 07:26

Don’t worry, That wasn’t intentional, I think the screenshot broke it


nathanielbabiak 2022-09-12 12:20 (Edited)

I have a few uploads that use the full ROM space, but none of my uploads use either of these techniques.

The file size upload limit to this website is 128kb (but there's no limit on the console itself). You can store data as strings in the source code, then decode at runtime. (Just keep in mind that 128kb upload limit.)

The second option is to store data compressed, and decompress from ROM to RAM.

You could even combine these techniques too, if you want.


nathanielbabiak 2022-09-12 12:25

You can also use a disk file and load from it. The user could manually run the disk file, as a program that would swap the ROM data too.


GAMELEGEND 2022-09-13 03:50

I wonder why there is a 128kb limit on the website.


Log in to reply.