BIOSF LOADFILE

From NeoGeo Development Wiki
Revision as of 00:16, 15 May 2017 by Furrtek (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

BIOSF_LOADFILE ($C00552): Load file from CD (with animation)

A0 points to a file list, with entries having the following format:

  • The file name, ends with 0 (in 8.3 format)
  • The destination bank (byte)
  • Eventual padding byte to align the destination to an even address
  • Destination (longword)

The list must not exceed 32 files, and must end with a 0 byte.

Example:

"STAGE_2.SPR"
0x02
0x00
0x00001600

Loads STAGE_2.SPR at $201600 in the sprite DRAM.

For FIX, Z80 (, PAT ?) and PCM files, the destination address is multiplied by 2 (8bit busses).

The destination memory is automatically chosen according to the file's extension.