MFP-68901 emulator.
More...
Go to the source code of this file.
MFP-68901 emulator.
- Author
- Benjamin Gerard ben@s.nosp@m.ashi.nosp@m.pa.co.nosp@m.m
- Date
- 1999/03/20
- Id
- mfpemul.h,v 2.0 2003/08/21 04:58:35 benjihan Exp
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. |
MFP shadow register array.