Class to emulate the BIOS.
More...
#include <bios.hpp>
|
| | BIOS (std::string path) |
| | Construct a new BIOS:: BIOS object.
|
| |
| uint32_t | read32_cpu (uint32_t offset) |
| | Reads a 32-bit word from the BIOS.
|
| |
| uint8_t | read8_cpu (uint32_t offset) |
| | Reads a 8-bit word from the BIOS.
|
| |
|
| std::vector< uint8_t > | data |
| | Data of the BIOS.
|
| |
Class to emulate the BIOS.
Implements the BIOS of the PSX.
Definition at line 15 of file bios.hpp.
◆ BIOS()
| BIOS::BIOS |
( |
std::string | path | ) |
|
Construct a new BIOS:: BIOS object.
- Parameters
-
| path | Path to the BIOS file |
- Exceptions
-
| std::runtime_error | If the BIOS size is invalid |
Definition at line 12 of file bios.cpp.
◆ read32_cpu()
| uint32_t BIOS::read32_cpu |
( |
uint32_t | offset | ) |
|
Reads a 32-bit word from the BIOS.
- Parameters
-
| offset | Offset to read from |
- Returns
- uint32_t Data read
Definition at line 40 of file bios.cpp.
◆ read8_cpu()
| uint8_t BIOS::read8_cpu |
( |
uint32_t | offset | ) |
|
Reads a 8-bit word from the BIOS.
- Parameters
-
| offset | Offset to read from |
- Returns
- uint8_t Data read
Definition at line 54 of file bios.cpp.
◆ data
| std::vector<uint8_t> BIOS::data |
|
private |
The documentation for this class was generated from the following files: