Skip to content

Commit

Permalink
Clarify MBC block
Browse files Browse the repository at this point in the history
  • Loading branch information
LIJI32 committed Apr 13, 2021
1 parent 43fb863 commit 79f109b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions BESS.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ BESS uses a four-character string to identify Game Boy models:

For example; `'GD '` represents a DMG of an unspecified revision, `'S '` represents some model of the SGB family, and `'CCE '` represent a CGB using CPU revision E.

| Offset | Content |
|--------|-------------------------------------------------------|
| Offset | Content |
|--------|--------------------------------------------------------|
| 0x08 | The value of the PC register |
| 0x0A | The value of the AF register |
| 0x0C | The value of the BC register |
Expand Down Expand Up @@ -132,7 +132,7 @@ This block contains an MBC-specific number of 3-byte-long pairs that represent t
| 0x9 | The value 0x4000 as a 16-bit integer |
| 0xB | The current RAM bank |

An implementation should parse this block as a series of writes to be made. Values outside the `0x0000-0x7FFF` and `0xA000-0xBFFF` ranges are not allowed.
An implementation should parse this block as a series of writes to be made. Values outside the `0x0000-0x7FFF` and `0xA000-0xBFFF` ranges are not allowed. Implementations must perform the writes in order (i.e. not reverse, sorted, or any other transformation on their order)

#### RTC block
The RTC block uses the `'RTC '` identifier, and is an optional block that is used while emulating an MBC3 with an RTC. The contents of this block are identical to 64-bit RTC saves from VBA, which are also used by SameBoy and different emulators such as BGB.
Expand Down

0 comments on commit 79f109b

Please sign in to comment.