Home |
Download |
Musics |
Developers |
Detailed Description
MFP-68901 (Atari-ST timers) emulator.
Function Documentation
|
MFP get Timer Data register.
- Parameters:
-
timer | Timer-id (0:A 1:B 2:C 3:D). |
cycle | Current cycle. |
- Returns:
- timer data register (TDR) value
|
|
MFP write Timer data register.
- Parameters:
-
timer | Timer-id (0:A 1:B 2:C 3:D). |
v | New timer data register (TDR) value. |
cycle | current cycle. |
|
|
MFP write Timer control register.
- Parameters:
-
timer | Timer-id (0:A 1:B 2:C 3:D). |
v | New timer control register (TCR) value. |
cycle | current cycle. |
|
|
Get MFP pending interruption.
- Parameters:
-
- Returns:
- interruption info structure.
- Return values:
-
0 | no pending interruption. |
|
|
Get cycle for the next MFP interruption.
- Parameters:
-
- Returns:
- cycle when MFP will interrupt
- Return values:
-
IO68_NO_INT | no interrupt will occur. |
|
|
Change cycle count base.
- Parameters:
-
subcycle | New base for internal cycle counter. |
|
|