So I'm working on a custom loader for my assembly language CRPG... I'll need to in order for it to load all the various program and data segments into the AMS.
There are three potential techniques I think I can use:
- Store each 4k page as a separate file. Each file is then loaded as an image into VDP, copied to a page in CPU. Iterative file names would help sort things out.
- Store the data in a few (two or three) very large files as binary data, 128 byte length. Load it as records, 32 at a time, swapping pages as needed.
- Store the data in a few (two or three) very large files but access them by sector instead of as records, so you can just grab a 256 byte chunk at a time. Otherwise identical to #2
What I'd LIKE is a fourth option, some way to store the data as a large image file but only load it as a partial image. Anyone know if that's possible?
Also, which method is the most efficient in terms of time?