libnile
|
Go to the source code of this file.
Functions | |
void | nile_bank_clear_mask (void) |
Adjust banking registers and clear NILE_SEG_MASK. | |
void | nile_bank_unlock (void) |
Adjust banking registers and unlock NILE_SEG_MASK RAM/ROM0/ROM1. | |
void | nile_bank_lock (void) |
Re-lock NILE_SEG_MASK RAM/ROM0/ROM1. | |
static void | nile_io_unlock (void) |
Unlock nileswan-exclusive registers. | |
void | nile_soft_reset (void) |
Jump back to cartridge IPL0 (soft reset). |
void nile_bank_clear_mask | ( | void | ) |
Adjust banking registers and clear NILE_SEG_MASK.
Note that if executing from ROML, this is only guaranteed safe for >=1MB cartridge images, due to the linear address.
void nile_bank_lock | ( | void | ) |
Re-lock NILE_SEG_MASK RAM/ROM0/ROM1.
void nile_bank_unlock | ( | void | ) |
Adjust banking registers and unlock NILE_SEG_MASK RAM/ROM0/ROM1.
This variant is safe for <1MB cartridge images.
|
inlinestatic |
void nile_soft_reset | ( | void | ) |
Jump back to cartridge IPL0 (soft reset).