'******************************************************************************
'* 
'* CENTRAL PROCESSOR UNIT Z80 (8-bit) v.1.0 (PROCESSOR)
'*
'* Supported platform/bus: Z80
'* 
'* Version history:
'*  - v.1.0 by WadiM (initial emulation)
'*
'* Note: - implementation currently is completly internal ("interpreter")
'*       - processor devices different from ordinary devices and implement
'*         special PROCESSOR interface, which is mostly hidden (temporary)
'*       - currently processors auto-registered in system after object created
'*         (by "use"), but at this moment supported only single-CPU emulation
'*
'*       - software interrupt calls RST 0..7 can be captured in scripts
'*         to emulate them (with indexes FFF0..FFF7). So don't use this indexes
'*         for hardware interrupt emulation purposes.
'****************************************************************************** 

public use internal "CPU_Z80" 'internal implementation

//default starting values
Name="Z80"
Frequency=3500000  '3,5Mhz

'--------------List of internally supported fields and methods-----------------

//PROCESSOR interface 

'Name as string(15) - name of processor (15 chars max length)
'Frequency as dword - can be changed by user on emulation start only (Hz)
'                   - by default is standard for selected processor model
'                   - in "auto-freq" mode emulator will change it frequently

//Z80 interface (to provide access from debugger, virtual BIOS, etc.)
