PRG file: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
* Loadable in: 68k program DRAM ($000000~$1FFFFF) | * Loadable in: 68k program DRAM ($000000~$1FFFFF) | ||
* Banks: 1 ($000000~$1FFFFF). Range $100000~$1FFFFF is also used for [[68k user RAM]], [[system ROM]] operations, CD buffers, ... | * Banks: 1 ($000000~$1FFFFF). Range $100000~$1FFFFF is also used for [[68k user RAM]], [[system ROM]] operations, CD buffers, ... | ||
'''Pitfalls:''' loading files over the range $100000-$10ffff will wipe all of the 68K's work (main) RAM. This is '''NOT''' advisable. | |||
[[Category:CD systems]] | [[Category:CD systems]] |
Latest revision as of 17:50, 2 January 2025
PRG files are used as the 68k program (the equivalent of P ROMs on cartridge systems, but the content isn't byteswapped). Several games overcome the 2MiB limit by keeping a main PRG file loaded, and only swap the ones containing data like level maps, animation tables...
Note that LOGO_*.PRG files are handled differently.
- Maximum file size: 1MiB (?)
- Type code: 0
- Loadable in: 68k program DRAM ($000000~$1FFFFF)
- Banks: 1 ($000000~$1FFFFF). Range $100000~$1FFFFF is also used for 68k user RAM, system ROM operations, CD buffers, ...
Pitfalls: loading files over the range $100000-$10ffff will wipe all of the 68K's work (main) RAM. This is NOT advisable.