3 ms·
So your code presented a 'virtual' optical drive to the OS, and the compression was to squeeze the on-disk virtual CD image? I imagine compression could be a r
by MaxBarraclough 9y ago
So your code presented a 'virtual' optical drive to the OS, and the compression was to squeeze the on-disk virtual CD image?
I imagine compression could be a real performance win when reading from optical media, too.
Anyone here have any experience developing games for optical-media-based games consoles? I imagine high-performance on-the-fly decompression could have been useful on the PS2, for instance. Or perhaps I'm wrong and the weak CPU and slow seek times dominate things.
Vaguely related game-data madness: How Naughty Dog Fit Crash Bandicoot into 2MB of RAM on the PS1, https://news.ycombinator.com/item?id=9737156 https://news.ycombinator.com/item?id=9737156
Edit: I see compression is indeed used in those contexts - https://news.ycombinator.com/item?id=16228840 https://news.ycombinator.com/item?id=16228840
- bluedino 9y agoCompression has long been used in console games. Not only can you fit a bigger game on a ROM, but you could also use smaller ROMs (which were cheaper) to save money in the cartridge days. Some CD-ROM games would actually store more than one copy of assets on the disc. It's much faster to read all your level data in one swoop than to use performance-killing seeks.