3 ms·
Cool. Is the data not compressed in the SNES ROMs or were you reading the data directly from memory? In the DOS version the DATA.DAT file contains a bunch of ch
by ryiron 10y ago
Cool. Is the data not compressed in the SNES ROMs or were you reading the data directly from memory? In the DOS version the DATA.DAT file contains a bunch of chunks, most of which (including the vm programs) are compressed using an LZSS type compression.
- pvg 10y agoThe image seemed to be uncompressed, or at least, the relevant parts of it were uncompressed. I'd guess they had to be much pickier how what and where to compress, given the constraints of the system.
- dyselon 10y agoAccessing the cart was as fast as accessing RAM, and you didn't have much RAM to go around, so I imagine there just wasn't much advantage to it.
- pvg 10y agoNo, compression was used extensively. Just often hand-rolled and for specific things. https://multimedia.cx/eggs/nes-compression/ https://multimedia.cx/eggs/nes-compression/ has a link to an RLE implementation used in some Zelda game.
- pvg 10y agoOh I bet it's because they ran the VM programs straight out of ROM. This is saves more than compressing and then wasting precious RAM on them. Not an issue on the PC.