ROLAND  0.70
Amstrad Emulator based on Caprice Source rewritten in C++.
Public Types | Public Member Functions | Private Attributes | List of all members
Raze Class Reference

#include <raze.h>

Public Types

typedef tUBYTE(* Z80_IN_Handler) (tREGPAIR port)
 
typedef void(* Z80_OUT_Handler) (tREGPAIR port, tUBYTE value)
 

Public Member Functions

 Raze ()
 
 ~Raze ()
 
void setInHandler (Z80_IN_Handler handler)
 
void setOutHandler (Z80_OUT_Handler handler)
 
void init ()
 
void initMemMap ()
 
void endMemMap ()
 
void setMembank_read (tUBYTE bank, tUBYTE *ptr)
 
void setMembank_write (tUBYTE bank, tUBYTE *ptr)
 
int cyclecount ()
 
void setIntPending (tUBYTE ip)
 
tUBYTE intPending ()
 
void setInHandler (tUBYTE(*handler)(tUWORD port))
 
void setOutHandler (void(*handler)(tUWORD port, tUBYTE value))
 
void setWsHandler (void(*handler)(void))
 
int execute (int i)
 
void stop ()
 

Private Attributes

int mLastCyclecount
 
int mCycleCountInit
 
tUBYTE mIntPending
 

Member Typedef Documentation

typedef tUBYTE(* Z80_IN_Handler) (tREGPAIR port)
typedef void(* Z80_OUT_Handler) (tREGPAIR port, tUBYTE value)

Constructor & Destructor Documentation

Raze ( )
inline

References mIntPending.

~Raze ( )
inline

Member Function Documentation

int cyclecount ( )
inline
void endMemMap ( )
inline

References z80_end_memmap(), and z80_reset().

int execute ( int  i)
inline
void init ( )
inline

References mCycleCountInit, and mLastCyclecount.

void initMemMap ( )
inline

References z80_init_memmap().

tUBYTE intPending ( )
inline

References mIntPending.

void setInHandler ( Z80_IN_Handler  handler)
inline
void setInHandler ( tUBYTE(*)(tUWORD port handler)
inline

References z80_set_in().

void setIntPending ( tUBYTE  ip)
inline

References z80_lower_IRQ(), and z80_raise_IRQ().

void setMembank_read ( tUBYTE  bank,
tUBYTE ptr 
)
inline

References z80_map_fetch(), and z80_map_read().

void setMembank_write ( tUBYTE  bank,
tUBYTE ptr 
)
inline

References z80_map_write().

void setOutHandler ( Z80_OUT_Handler  handler)
inline
void setOutHandler ( void(*)(tUWORD port, tUBYTE value)  handler)
inline

References z80_set_out().

void setWsHandler ( void(*)(void)  handler)
inline

References z80_set_av().

void stop ( )
inline

References z80_stop_emulating().

Member Data Documentation

int mCycleCountInit
private

Referenced by execute(), and init().

tUBYTE mIntPending
private

Referenced by intPending(), and Raze().

int mLastCyclecount
private

Referenced by cyclecount(), execute(), and init().


The documentation for this class was generated from the following file: