'******************************************************************************
'* 
'* INIT OF SPECTRUM-128K (Simply boot ROM to test CPU Z80 emulation)
'*
'* Note: - This script always executed while emulation starting and then 
'*         "used" by other emulation scripts (to provide access to CPU etc.)
'*
'******************************************************************************

? "[INIT] Started emulation of Spectrum-128K"

'Configuring
mem.Size=(128+32)*1024 : mem.Limit=0xFFFF 'RAM=128Kb, ROM=2x16Kb
         
'Assembling
public use object CPU_Z80 as CPU 'processor Z80
cpu.Frequency=3546900 '3,547Mhz
public use object "mboard" as MB : pc.AddDevice(MB) 'motherboard

