'******************************************************************************
'* 
'* CENTRAL PROCESSOR UNIT i8080 (8-bit) (PROCESSOR)
'*
'* PROCESSOR interface (common to all processors):
'*  - Name as string(15) - name of processor (15 chars max length)
'*  - Frequency as dword - can be changed by user on emulation start only (Hz)
'*  - CoreID as dword - identifier of CPU core (0-i8080)
'*  - Cycles as int64 - count of cycles, passed from start of execution (read only)
'*
'* i8080 interface (specific to this processor):
'*  - PC,AF,BC,DE,HL,SP - 16-bit registers (first symbol-high byte, second-low)
'*  - A,B,C,D,E,H,L - 8-bit registers
'*  - FLAGS or F - 8-bit register of flags
'*  - FLAGS.CF (PF,AF,ZF,SF) - separate flags as boolean values
'*
'* Interrupts:
'*  - hardware interrupts can be captured at their indexes (0000h..FFEFh)
'*  - software interrupts RST0..RST7 can be captured at indexes FFF0h..FFF7h
'*
'* Version history:
'*  2004,2007-2009 - initial emulation (by WadiM)
'*
'* 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
'*
'****************************************************************************** 

public use internal "CPU_I8080" 'internal implementation

//default starting values
Name="i8080" : Frequency=2500000 '2,5Mhz


