C# Class C64Lib.Core.C64

Show file Open project: rosc77/vita64 Class Usage Examples

Public Methods

Method Description
C64 ( EmulatorIOAdapter ioAdapter ) : System
Load1541JobState ( Stream f ) : bool
Load1541State ( Stream f ) : bool
LoadCIAState ( Stream f ) : bool
LoadCPUState ( Stream f ) : bool
LoadSIDState ( Stream f ) : bool
LoadSnapshot ( string filename ) : bool
LoadVICState ( Stream f ) : bool
NMI ( ) : void
NewPrefs ( Prefs prefs ) : void
Pause ( ) : void
Quit ( ) : void
Reset ( ) : void
Resume ( ) : void
Run ( ) : void
Save1541JobState ( Stream f ) : bool
Save1541State ( Stream f ) : int
SaveCIAState ( Stream f ) : bool
SaveCPUState ( Stream f ) : int
SaveRAM ( string filename ) : void
SaveSIDState ( Stream f ) : bool
SaveSnapshot ( string filename ) : void
SaveVICState ( Stream f ) : bool
VBlank ( bool draw_frame ) : void
patch_kernel ( bool fast_reset, bool emul_1541_proc ) : void

Private Methods

Method Description
EmulateCyclesWith1541 ( ) : void
EmulateCyclesWithout1541 ( ) : void
Initialize ( ) : void
MainLoop ( ) : void
open_close_joysticks ( bool oldjoy1, bool oldjoy2, bool newjoy1, bool newjoy2 ) : void
poll_joystick ( int port ) : byte

Method Details

C64() public method

public C64 ( EmulatorIOAdapter ioAdapter ) : System
ioAdapter EmulatorIOAdapter
return System

Load1541JobState() public method

public Load1541JobState ( Stream f ) : bool
f Stream
return bool

Load1541State() public method

public Load1541State ( Stream f ) : bool
f Stream
return bool

LoadCIAState() public method

public LoadCIAState ( Stream f ) : bool
f Stream
return bool

LoadCPUState() public method

public LoadCPUState ( Stream f ) : bool
f Stream
return bool

LoadSIDState() public method

public LoadSIDState ( Stream f ) : bool
f Stream
return bool

LoadSnapshot() public method

public LoadSnapshot ( string filename ) : bool
filename string
return bool

LoadVICState() public method

public LoadVICState ( Stream f ) : bool
f Stream
return bool

NMI() public method

public NMI ( ) : void
return void

NewPrefs() public method

public NewPrefs ( Prefs prefs ) : void
prefs Prefs
return void

Pause() public method

public Pause ( ) : void
return void

Quit() public method

public Quit ( ) : void
return void

Reset() public method

public Reset ( ) : void
return void

Resume() public method

public Resume ( ) : void
return void

Run() public method

public Run ( ) : void
return void

Save1541JobState() public method

public Save1541JobState ( Stream f ) : bool
f Stream
return bool

Save1541State() public method

public Save1541State ( Stream f ) : int
f Stream
return int

SaveCIAState() public method

public SaveCIAState ( Stream f ) : bool
f Stream
return bool

SaveCPUState() public method

public SaveCPUState ( Stream f ) : int
f Stream
return int

SaveRAM() public method

public SaveRAM ( string filename ) : void
filename string
return void

SaveSIDState() public method

public SaveSIDState ( Stream f ) : bool
f Stream
return bool

SaveSnapshot() public method

public SaveSnapshot ( string filename ) : void
filename string
return void

SaveVICState() public method

public SaveVICState ( Stream f ) : bool
f Stream
return bool

VBlank() public method

public VBlank ( bool draw_frame ) : void
draw_frame bool
return void

patch_kernel() public method

public patch_kernel ( bool fast_reset, bool emul_1541_proc ) : void
fast_reset bool
emul_1541_proc bool
return void