Backup Memory

PC-FX and PC-FXGA Backup Memory

PC-FXGA backup memory uses PIO to send and receive data.

PC-FX uses real backup memory, with I/O at 0xC80. Memory addresses 0xE0000000 (internal) and 0xE8000000 (BMP) are used for access.

bit0External/Internal access control?
bit1External/Internal access control?

Memory has to be accessed as a half word for all the data to come through.

By using ROM functions, backup memory can be accessed properly for both PC-FX and PC-FXGA with no changes.

Backup Memory Format

Backup memory sees to be a FAT filesystem. FAT is in the first sector, sectors are generally 128 bytes. Contents of sector 0:

OffsetContents
0x00 ~ 0x020x24, 0x8A, 0xDF
0x03 ~ 0x0Ah"PCFXSram" (Internal) or "PCFXCard" (BMP)
0x0B ~ 0x22hBPB
0x23 ~ 0x27hUnknown
0x28 ~ 0x3FhBoot information
0x40 ~ 0x7FhUnknown (free?)

Booting From Backup Memory

If 0x28 ~ 0x2F is "PCFXBOOT" on the BMP, it can be booted from. Internal memory cannot be booted from. PC-FXGA doesn't support booting from backup.

OffsetContents
0x28 (8 byte)"PCFXBOOT"
0x30 (1 word)Backup memory source offset (byte offset)
0x34 (1 word)RAM destination
0x38 (1 word)Transfer size [in bytes]
0x3C (1 word)RAM run length

[TOP]