|
static const int | DEFAULT_CALLBACK_FREQUENCY = 250 |
|
◆ init()
virtual bool CMS::CMS::init |
( |
| ) |
|
|
pure virtual |
Initializes the CMS emulator.
- Returns
- true on success, false on failure
Implemented in DOSBoxCMS.
◆ reset()
virtual void CMS::CMS::reset |
( |
| ) |
|
|
pure virtual |
◆ write()
virtual void CMS::CMS::write |
( |
int |
a, |
|
|
int |
v |
|
) |
| |
|
pure virtual |
Writes a byte to the given I/O port. CMS responds to 2 sets of 2 ports: 0x220/0x222 - value for the 1st/2nd chip (channels 0-5/6-B) 0x221/0x223 - register for the 1st/2nd chip
- Parameters
-
a | port address |
v | value, which will be written |
Implemented in DOSBoxCMS.
◆ writeReg()
virtual void CMS::CMS::writeReg |
( |
int |
r, |
|
|
int |
v |
|
) |
| |
|
pure virtual |
Function to directly write to a specific CMS register. We allow writing to secondary CMS chip registers by using register values >= 0x100.
- Parameters
-
r | hardware register number to write to |
v | value, which will be written |
Implemented in DOSBoxCMS.
The documentation for this class was generated from the following file: