Ericisonit 2021-10-21 22:43
Practically unlimited data can be used as data strings which can be parsed as hexadecimal digits and used for anything on demand. Here’s a ton of character data in one program. (Max size to upload here is 128kb but the original which runs fine is over twice as big.)
SP4CEBAR 2021-10-22 08:53 (Edited)
Ooh, this looks promising, does this use up many tokens?
SP4CEBAR 2021-10-22 15:14 (Edited)
Wait, does a block of data really only use up two tokens, wow, that's insane!
SP4CEBAR 2021-10-22 15:17
Now I can put the full midi file of never gonna give you up in one program
nathanielbabiak 2021-10-22 22:10 (Edited)
You can import hex string data significantly faster if you use this, CTRL+F "0X".
You can only import data 6 bytes at a time though, CTRL+F "24".
Wild William 2021-10-23 11:42
Clever exploit, and I was about to make like 8 different games in the same series not because they’re sequels, but because the NX cart is waaaay too small
Wild William 2021-10-23 11:43
Also couldn’t you just straight up copy normal data and use it in here?
SP4CEBAR 2021-10-23 12:12
@wild william yes, I think you can just replace the
#1 FILE NAME
and put a " at the end to make the whole thing one single data string
SP4CEBAR 2021-10-23 12:15 (Edited)
But won't NX struggle a bit with strings of that size?
Wild William 2021-10-24 00:29
well, i guess there are still limitations then. doesn't the processor run at 2Mhz or something like that?
nathanielbabiak 2021-10-24 16:21 (Edited)
No, NX won't struggle with large strings, as discussed here.
Also, the "0X" method I referenced above is more fully detailed here.
Wild William 2021-10-26 09:30
How has timo not replied yet
Ericisonit 2021-10-26 11:45
The strings can be any size, I just kept them at fixed lengths to match the size of the character banks ($1000) and really switching banks on the fly isnt as sluggish as you’d think. I think someone else actually posted a proggy with this exploit before i did. But I didn’t realize for a long time that it only takes 1 token per string. Only real limitation is the upload file size here in the community ;)
Ericisonit 2021-10-28 22:40
@Wild William this is akin to how the game developers for NES would use hardware mappers to be able to have games with a lot more data since the MOS6502 and its PPU were pretty limited, like 64K
moechofe 2021-11-06 20:32
Maybe, there is still a limitation. When you READ the DATA, it consume the memory used by the interpreter. I can't remember the current value is, but I remember that Timo increase it a couple of year ago.
G-9 2021-11-07 15:39
wow file is so big !!
i'm pretty sure it could be used as external disks to save space !
like, swapping real disk with DATA so real disk won't get deleted...
i'm really impressed