| inline void SET_BANK_SEGMENT( |
| ) |
Set the current segment of the given bank
| b u8 | Bank number to set (0-5, depending of the mapper) |
| s u8 | Segment to select in this bank (8 or 16-bit depending on the mapper) |
| inline void SET_BANK_SEGMENT_LOW( |
| ) |
Set the low byte of the current segment of the given bank (for 16-bit mappers)
| b u8 | Bank number to set (0-5, depending of the mapper) |
| s u8 | Low byte of the segment to select in this bank |
| inline void SET_BANK_SEGMENT_HIGH( |
| ) |
Set the high byte of the current segment of the given bank (for 16-bit mappers)
| b u8 | Bank number to set (0-5, depending of the mapper) |
| s u8 | High byte of the segment to select in this bank |
| inline u8 GET_BANK_SEGMENT( |
| ) |
Get the current segment of the given bank
| b u8 | Bank number to get (0-5, depending of the mapper) |
Segment selected in this bank (8 or 16-bit depending on the mapper)
| inline u8 GET_BANK_SEGMENT_LOW( |
| ) |
Get the low byte of the current segment of the given bank (for 16-bit mappers)
| b u8 | Bank number to get (0-5, depending of the mapper) |
Low byte of the segment selected in this bank
| inline u8 GET_BANK_SEGMENT_HIGH( |
| ) |
Get the high byte of the current segment of the given bank (for 16-bit mappers)
| b u8 | Bank number to get (0-5, depending of the mapper) |
High byte of the segment selected in this bank