PRG file: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
Line 1: Line 1:
PRG files are used as the 68k program (the equivalent of [[P ROM]]s on [[:Category:cartridge systems|cartridge systems]], but the content '''isn't byteswapped'''). Several games overcome the 2MiB limit by keeping a main PRG file loaded, and swaping the ones containing arrays like level maps, animation tables...
PRG files are used as the {{Chipname|68k}} program (the equivalent of [[P ROM]]s on [[:Category:cartridge systems|cartridge systems]], but the content '''isn't byteswapped'''). Several games overcome the [[DRAM|2MiB]] limit by keeping a main PRG file loaded, and only swap the ones containing data like level maps, animation tables...


'''[[Logo file|LOGO_*.PRG files]] are handled differently !'''
Note that '''[[Logo file|LOGO_*.PRG files]] are handled differently'''.


*Maximum file size: 1MiB (?)
* Maximum file size: 1MiB (?)
*Type code: 0
* Type code: 0
*Loadable in: [[68k]] program [[DRAM]] ($000000~$1FFFFF)
* Loadable in: 68k program DRAM ($000000~$1FFFFF)
*Banks: 1 ($000000~$1FFFFF). Range $100000~$12FFFF is reserved (WorkRAM, CD buffer etc).  
* Banks: 1 ($000000~$1FFFFF). Range $100000~$1FFFFF is also used for [[68k user RAM]], [[system ROM]] operations, CD buffers, ...  


[[Category:CD systems]]
[[Category:CD systems]]

Latest revision as of 02:00, 10 February 2017

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, ...