I want to improve a VGM player I made for PC/XT.
VGM files (most of the time bigger than 64KB) must be processed in order to be even faster to play. To do that, I need to read the files byte by byte using fread(), then process every byte, store in ram, and read the next byte. If I use a buffer in RAM to read 64KB chunks, the code becomes a bit complex, because I have to check if the processed data reached a 64KB boundary and...
Imagine many VGM's will be around 128KB, so it will take a few seconds for the 8088 to read that, byte by byte.
If you use emulators, fpgas or sd card adapters I guess there's no problem. But what about real old HDs? Could this damage them?.
VGM files (most of the time bigger than 64KB) must be processed in order to be even faster to play. To do that, I need to read the files byte by byte using fread(), then process every byte, store in ram, and read the next byte. If I use a buffer in RAM to read 64KB chunks, the code becomes a bit complex, because I have to check if the processed data reached a 64KB boundary and...
Imagine many VGM's will be around 128KB, so it will take a few seconds for the 8088 to read that, byte by byte.
If you use emulators, fpgas or sd card adapters I guess there's no problem. But what about real old HDs? Could this damage them?.
Last edited: