device exits
This commit is contained in:
parent
a63671af2e
commit
ac22d363be
|
@ -105,6 +105,15 @@ void i8257Init()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void i8257Exit()
|
||||||
|
{
|
||||||
|
#if defined FBA_DEBUG
|
||||||
|
if (!DebugDev_8257DMAInitted) bprintf(PRINT_ERROR, _T("i8257Exit called without init\n"));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
DebugDev_8257DMAInitted = 0;
|
||||||
|
}
|
||||||
|
|
||||||
void i8257Config(UINT8 (*cpuread)(UINT16), void (*cpuwrite)(UINT16,UINT8), INT32 (*idle)(INT32), ior_in_functs *read_f, ior_out_functs *write_f)
|
void i8257Config(UINT8 (*cpuread)(UINT16), void (*cpuwrite)(UINT16,UINT8), INT32 (*idle)(INT32), ior_in_functs *read_f, ior_out_functs *write_f)
|
||||||
{
|
{
|
||||||
#if defined FBA_DEBUG
|
#if defined FBA_DEBUG
|
||||||
|
|
|
@ -8,5 +8,6 @@ void i8257Write(UINT8 offset, UINT8 data);
|
||||||
void i8257_drq_write(INT32 channel, INT32 state);
|
void i8257_drq_write(INT32 channel, INT32 state);
|
||||||
void i8257_do_transfer(INT32 state); // call after last drq_write
|
void i8257_do_transfer(INT32 state); // call after last drq_write
|
||||||
void i8257Init();
|
void i8257Init();
|
||||||
|
void i8257Exit();
|
||||||
void i8257Config(UINT8 (*cpuread)(UINT16), void (*cpuwrite)(UINT16,UINT8), INT32 (*idle)(INT32), ior_in_functs *read_f, ior_out_functs *write_f);
|
void i8257Config(UINT8 (*cpuread)(UINT16), void (*cpuwrite)(UINT16,UINT8), INT32 (*idle)(INT32), ior_in_functs *read_f, ior_out_functs *write_f);
|
||||||
void i8257Scan();
|
void i8257Scan();
|
||||||
|
|
|
@ -823,6 +823,14 @@ void SlapsticInit(INT32 chip)
|
||||||
access_68k = (nSekCount != -1); // Ok?
|
access_68k = (nSekCount != -1); // Ok?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SlapsticExit()
|
||||||
|
{
|
||||||
|
#if defined FBA_DEBUG
|
||||||
|
if (!DebugDev_SlapsticInitted) bprintf(PRINT_ERROR, _T("SlapsticExit called without init\n"));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
DebugDev_SlapsticInitted = 0;
|
||||||
|
}
|
||||||
|
|
||||||
/*************************************
|
/*************************************
|
||||||
*
|
*
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
void SlapsticInit(INT32 chip);
|
void SlapsticInit(INT32 chip);
|
||||||
|
void SlapsticExit();
|
||||||
void SlapsticReset(void);
|
void SlapsticReset(void);
|
||||||
|
|
||||||
INT32 SlapsticBank(void);
|
INT32 SlapsticBank(void);
|
||||||
|
|
|
@ -184,6 +184,8 @@ void t5182Exit()
|
||||||
t5182SharedRAM = NULL;
|
t5182SharedRAM = NULL;
|
||||||
t5182RAM = NULL;
|
t5182RAM = NULL;
|
||||||
t5182ROM = NULL;
|
t5182ROM = NULL;
|
||||||
|
|
||||||
|
DebugDev_T5182Initted = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
INT32 t5182Scan(INT32 nAction)
|
INT32 t5182Scan(INT32 nAction)
|
||||||
|
|
|
@ -128,6 +128,8 @@ void tms34061_exit()
|
||||||
m_vram = NULL;
|
m_vram = NULL;
|
||||||
BurnFree(m_latchram);
|
BurnFree(m_latchram);
|
||||||
m_latchram = NULL;
|
m_latchram = NULL;
|
||||||
|
|
||||||
|
DebugDev_Tms34061Initted = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*************************************
|
/*************************************
|
||||||
|
|
Loading…
Reference in New Issue