Home
Download
Musics
Developers
API
Sources
Tools
File Format
Technicals
Main Page
|
Modules
|
Data Structures
|
File List
|
Data Fields
|
Globals
|
Related Pages
mfpemul.h File Reference
Detailed Description
MFP-68901 emulator header.
Author:
Benjamin Gerard <
ben@sashipa.com
>
Date:
1999/03/20
Id
mfpemul.h
,v 2.1 2003/10/11 04:40:25 benjihan Exp
#include "
emu68/struct68.h
"
Go to the source code of this file.
MFP timers
#define
TIMER_A
0
MFP timer 'A'.
#define
TIMER_B
1
MFP timer 'B'.
#define
TIMER_C
2
MFP timer 'C'.
#define
TIMER_D
3
MFP timer 'D'.
Functions
int
MFP_reset
(void)
MFP reset.
int
MFP_init
(void)
MFP init.
u8
MFP_getTDR
(int timer,
cycle68_t
cycle)
MFP get Timer Data register.
void
MFP_putTDR
(int timer,
u8
v,
cycle68_t
cycle)
MFP write Timer data register.
void
MFP_putTCR
(int timer,
u8
v,
cycle68_t
cycle)
MFP write Timer control register.
int68_t
*
MFP_interrupt
(
cycle68_t
cycle)
Get MFP pending interruption.
cycle68_t
MFP_nextinterrupt
(
cycle68_t
cycle)
Get cycle for the next MFP interruption.
void
MFP_subcycle
(
cycle68_t
subcycle)
Change cycle count base.
Variables
u8
mfp
[0x40]
MFP shadow register array.
sc68 website ©sashipa Nov 2003
Design by
Benjamin Gerard
, powered by