PRG file: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(7 intermediate revisions by 2 users not shown)
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 1MiB limit by keeping a main PRG file loaded, and swap 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...


*Maximum file size: 1MiB
Note that '''[[Logo file|LOGO_*.PRG files]] are handled differently'''.
*Type code: 0
*Loadable in: [[68k]] program [[DRAM]] ($000000~$0FFFFF)
*Banks: 1 ($000000~$0FFFFF)


[[Category:Emulation]]
* 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, ...
 
[[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, ...