;
; pdp11 emulator config file.
;

[modules]

咪痤             = Main_module.em
CPU_module       = CPU11_module.em
DSK_module       = DSK_module.em
Port_module      = Port_module.em
Terminal_module  = Terminal_module.em


[objects]

bus      = 咪痤:PDP11A16

Debug	 = 咪痤:Console
DisAsm	 = 咪痤:Console

CPU      = CPU_module:1801VM2
CPUCSR   = CPU_module:CPUCSR
HD       = DSK_module:HD
MX       = DSK_module:MX
MY       = MY\MY.cfg

Printer	 = 咪痤:Console
VT52     = Terminal_module:Terminal

Booter   = 咪痤:Booter
CpuBoard = CPU_module:MS1201.02

BRK1     = CPU_module:BreakPoint

TerminalPort  = Port_module:DL11-W
TerminalPort2 = Port_module:DL11-W
PrinterPort   = Port_module:PrinterPort

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

MediaButton = 咪痤:SB_StorageMediaButton

MIPS_LIMIT_Part = 咪痤:SB_CPU_MIPS_Limit
MIPS_Part       = 咪痤:SB_CPU_MIPS

Timer_Button = 咪痤:SB_StateFlashButton
HALT_Button  = 咪痤:SB_StateFlashButton
Reset_Button = 咪痤:SB_StateFlashButton
Power_Button = 咪痤:SB_StateFlashButton
Pause_Button = 咪痤:SB_StateFlashButton

DisAsm_Button    = 咪痤:SB_StatePushButton
StepMode_Button  = 咪痤:SB_StatePushButton
Step_Button      = 咪痤:SB_StateFlashButton
DisAsmLog_Button = 咪痤:SB_StateFlashButton
CLS_Button       = 咪痤:SB_StatePushButton




[links]

bus & CPU | CpuBoard | TerminalPort | PrinterPort | Booter | TerminalPort2 | MX | HD | MY 
bus & CPUCSR | BRK1


CPU [DebugOut] > Debug
CPU [DisAsm]   > DisAsm

TerminalPort  <==> VT52

PrinterPort > Printer



Config + MediaButton + HD | MX | MY

Config + MIPS_LIMIT_Part + CPU
Config + MIPS_Part       + CPU

Config + Timer_Button + bus
Config + HALT_Button  + bus

Config + Reset_Button + bus
Config + Power_Button + bus
Config + Pause_Button + bus


DisAsm + ( DisAsm_Button + CPU ) | ( StepMode_Button + CPU ) | ( Step_Button + bus )
DisAsm + ( DisAsmLog_Button + DisAsm ) | ( CLS_Button + DisAsm )



; === INI SECTIONS ===


[HD.ini]
HD0 = HDSYS.DSK
HD1 =
HD2 = 
HD3 =
HD4 =
HD5 =
HD6 =
HD7 =




[MX.ini]
MX0 = MX80_System.DSK
MX1 =
MX2 = MX40_System.DSK
MX3 = MX40_User.DSK




[MY.ini]
TabTitle=""
InitialStateOf[SeparateWindow]=0
SaveChangesFor[SeparateWindow]=1
SeparateWindow_X0_px=0
SeparateWindow_Y0_px=0
SeparateWindow_DX_px=800
SeparateWindow_DY_px=600

VP1-128/MY0 = MY80_System.DSK
VP1-128/MY1 =
VP1-128/MY2 =
VP1-128/MY3 =




[Booter.ini]
BootDeviceAlias  = HD
BootDeviceUnit   = 0
WarmBootSupportedSystem_#1 = RT11
WarmBootSystem_# = 1
WarmBoot_SetDateOnly = 0
RT11_LineClock_Hz = 50
InitialStateOf[Boot] = 1
SaveChangesFor[Boot] = 0




[CPU.ini]
CPU_Frequency_KHz      = 8300
CPU_SpeedLimit_KIPS    =True

DisAsmBottomAddr       = 0
;; DisAsmTopAddr          = 040000
DisAsmTopAddr          = 0177777
InitialStateOf[DisAsm]=0
SaveChangesFor[DisAsm]=0
InitialStateOf[StepMode]=0
SaveChangesFor[StepMode]=1
MaxLoopCommandsToHide=32




[CpuBoard.ini]
RAM_Size_Kb = 56

VM2.BootROM_DataFile = 055.dat
VM2.SEL_Data         = 0140001

LineClock_ComponentDisabled = 0
LineClock_Hz = 50

VM2.RAM_Latency_NS     = 350
VM2.BootROM_Latency_NS = 180




[TerminalPort.ini]
BaseIO_Address     = 0177560
BaseVectorsAddress = 060
DL11W_TerminalPort_ComponentDisabled = 0
DL11W_LineClock_ComponentDisabled    = 1
DL11W_LineClock_Hz = 50
DL11W_TerminalPort_BaudRate =9600
DL11W_TerminalPort_BitsPerByte = 11
DL11W_TerminalPort_CPS_Limit=0




[TerminalPort2.ini]
BaseIO_Address     = 0176510
BaseVectorsAddress = 0310
DL11W_TerminalPort_ComponentDisabled = 0
DL11W_LineClock_ComponentDisabled    = 1
DL11W_LineClock_Hz = 50
DL11W_TerminalPort_BitsPerByte = 11
DL11W_TerminalPort_BaudRate = 9600
DL11W_TerminalPort_CPS_Limit = 0




[PrinterPort.ini]
BaseIO_Address     = 0177514
BaseVectorsAddress = 0200




[bus.ini]
InitialStateOf[Pause] =0
SaveChangesFor[Pause] =0

InitialStateOf[MainPower] =1
SaveChangesFor[MainPower] =0

InitialStateOf[MainReset] =0
SaveChangesFor[MainReset] =0

InitialStateOf[HALT]  =0
SaveChangesFor[HALT]  =0

InitialStateOf[Timer] =1
SaveChangesFor[Timer] =1

nACLO_to_DCLO_Delay_MS = 25




[Config.ini]
ExtendedStartLog = 0
InitialStateOf[StatusBar] = 1
SaveChangesFor[StatusBar] = 0
InitialStateOf[ControlBar]= 0
SaveChangesFor[ControlBar]= 0
InitialStateOf[Log]=0
SaveChangesFor[Log]=0
ActiveWindowHandle=
ActiveConfigID=
RunEmulationInParentThread=0





[Timer_Button.ini]
SB_Part_Data = nPosition[-1] | nPriority[0] | bHidden[0]
TextFieldWidth_Px = 0
TextFieldText     = 
ButtonPushMode    = 2
IsInverted        = 0
ButtonON_Text     = "Timer"
ButtonOFF_Text    = "Timer"
ButtonWidth       = 50
ButtonHeight      = 18
ButtonFontSize    = 12
ButtonFontWeight  = 600
StateName         = "Timer"

PushedButton_Text_X_Offset_Px = 1
PushedButton_Text_Y_Offset_Px = 2
PoppedButton_Text_X_Offset_Px = 0
PoppedButton_Text_Y_Offset_Px = 1

ButtonON_TextColor   = 0,0,0
ButtonOFF_TextColor  = 0,0,0
ButtonON_Background  = 160,205,160
ButtonOFF_Background = 1,0,0

Is_PoppedButton_Border_ButtonLike = 1
Is_PushedButton_Border_ButtonLike = 1

DoCenterAlignButtonText = 1
LightsOFF_StateName=Power




[HALT_Button.ini]
SB_Part_Data = nPosition[-2] | nPriority[0] | bHidden[0]
TextFieldWidth_Px = 0
TextFieldText     = 
ButtonPushMode    = 2
IsInverted        = 0
ButtonON_Text     = "HALT"
ButtonOFF_Text    = "HALT"
ButtonWidth       = 50
ButtonHeight      = 18
ButtonFontSize    = 12
ButtonFontWeight  = 600
StateName         = "HALT"

PushedButton_Text_X_Offset_Px = 1
PushedButton_Text_Y_Offset_Px = 2
PoppedButton_Text_X_Offset_Px = 0
PoppedButton_Text_Y_Offset_Px = 1

ButtonON_TextColor   = 0,0,0
ButtonOFF_TextColor  = 0,0,0
ButtonON_Background  = 230,140,140
ButtonOFF_Background = 1,0,0

Is_PoppedButton_Border_ButtonLike = 1
Is_PushedButton_Border_ButtonLike = 1

DoCenterAlignButtonText = 1
LightsOFF_StateName=Power




[Reset_Button.ini]
SB_Part_Data = nPosition[-3] | nPriority[0] | bHidden[0]
TextFieldWidth_Px = 0
TextFieldText     = 
ButtonPushMode    = 1
IsInverted        = 0
ButtonON_Text     = "Reset"
ButtonOFF_Text    = "Reset"
ButtonWidth       = 50
ButtonHeight      = 18
ButtonFontSize    = 12
ButtonFontWeight  = 600
StateName         = "Reset"

PushedButton_Text_X_Offset_Px = 1
PushedButton_Text_Y_Offset_Px = 2
PoppedButton_Text_X_Offset_Px = 0
PoppedButton_Text_Y_Offset_Px = 1

ButtonON_TextColor   = 0,0,0
ButtonOFF_TextColor  = 0,0,0
ButtonON_Background  = 230,140,140
ButtonOFF_Background = 1,0,0

Is_PoppedButton_Border_ButtonLike = 1
Is_PushedButton_Border_ButtonLike = 1

DoCenterAlignButtonText = 1
LightsOFF_StateName=Power




[Power_Button.ini]
SB_Part_Data = nPosition[-4] | nPriority[0] | bHidden[0]
TextFieldWidth_Px = 0
TextFieldText     = 
ButtonPushMode    = 2
IsInverted        = 0
ButtonON_Text     = "Power"
ButtonOFF_Text    = "Power"
ButtonWidth       = 50
ButtonHeight      = 18
ButtonFontSize    = 12
ButtonFontWeight  = 600
StateName         = "Power"

PushedButton_Text_X_Offset_Px = 1
PushedButton_Text_Y_Offset_Px = 2
PoppedButton_Text_X_Offset_Px = 0
PoppedButton_Text_Y_Offset_Px = 1

ButtonON_TextColor   = 0,0,0
ButtonOFF_TextColor  = 0,0,0
ButtonON_Background  = 160,205,160
ButtonOFF_Background = 1,0,0

Is_PoppedButton_Border_ButtonLike = 1
Is_PushedButton_Border_ButtonLike = 1

DoCenterAlignButtonText = 1
LightsOFF_StateName=Power




[Pause_Button.ini]
SB_Part_Data = nPosition[-4] | nPriority[0] | bHidden[0]
TextFieldWidth_Px = 0
TextFieldText     = 
ButtonPushMode    = 2
IsInverted        = 0
ButtonON_Text     = "Pause"
ButtonOFF_Text    = "Pause"
ButtonWidth       = 50
ButtonHeight      = 18
ButtonFontSize    = 12
ButtonFontWeight  = 600
StateName         = "Pause"

PushedButton_Text_X_Offset_Px = 1
PushedButton_Text_Y_Offset_Px = 2
PoppedButton_Text_X_Offset_Px = 0
PoppedButton_Text_Y_Offset_Px = 1

ButtonON_TextColor   = 0,0,0
ButtonOFF_TextColor  = 0,0,0
ButtonON_Background  = 210,210,110
ButtonOFF_Background = 1,0,0

Is_PoppedButton_Border_ButtonLike = 1
Is_PushedButton_Border_ButtonLike = 1

DoCenterAlignButtonText = 1
LightsOFF_StateName=Power




[MIPS_LIMIT_Part.ini]
SB_Part_Data = nPosition[3] | nPriority[0] | bHidden[0]
TextFieldWidth_Px = 100
TextFieldText     = "   CPU MIPS Limit: "



[MIPS_Part.ini]
SB_Part_Data = nPosition[2] | nPriority[0] | bHidden[0]
Show_F = 1




[VT52.ini]
TabTitle=""
nFocusOnFirstOutput = 1
CURSOR_Y_START_% = 85
ANSI_STR_FOR_KEY[F12] = "f12 "
InitialStateOf[RusLat]  =0
SaveChangesFor[RusLat]  =0
InitialStateOf[RusKeys] =1
SaveChangesFor[RusKeys] =0
InitialStateOf[GoldMode]=0
SaveChangesFor[GoldMode]=0
InitialStateOf[Log] =0
SaveChangesFor[Log] =0
InitialStateOf[Lc]  =0
SaveChangesFor[Lc]  =0
InitialStateOf[Bold]=0
SaveChangesFor[Bold]=0
FontSize =0
FontFace ="Courier New"
bFontAntialiasDisable = 0

InitialStateOf[StatusBar]        = 0
SaveChangesFor[StatusBar]        = 0
InitialStateOf[ControlBar]       = 0
SaveChangesFor[ControlBar]       = 0
InitialStateOf[TerminalStatusBar]= 1
SaveChangesFor[TerminalStatusBar]= 0
InitialStateOf[SlowMultiByte]=1
SaveChangesFor[SlowMultiByte]=0
Cursor_OFF_Latency_MS=30
InitialStateOf[Hold]=0
SaveChangesFor[Hold]=0
InitialStateOf[Ext]=0
SaveChangesFor[Ext]=0
SeparateWindow_X0_px=0
SeparateWindow_Y0_px=0
SeparateWindow_DX_px=800
SeparateWindow_DY_px=600
InitialStateOf[SeparateWindow]=0
SaveChangesFor[SeparateWindow]=1
Old_Logs_Mode=0




[Debug.ini]
TabTitle ="" 
InitialStateOf[StatusBar]  = 0
SaveChangesFor[StatusBar]  = 0
InitialStateOf[ControlBar] = 0
SaveChangesFor[ControlBar] = 0
InitialStateOf[Log]=0
SaveChangesFor[Log]=0
DumpMode=1
PrinterMode=0
SeparateWindow_X0_px=0
SeparateWindow_Y0_px=0
SeparateWindow_DX_px=800
SeparateWindow_DY_px=600
InitialStateOf[SeparateWindow]=0
SaveChangesFor[SeparateWindow]=1
Old_Logs_Mode=0




[ROM.ini]
ROM_DataFile    = 013.dat
ROM_BaseAddress = 0140000
ROM_Bytes       = 020000
ROM_LatencyNS   = 300
ROM_Disable     = 1




[MediaButton.ini]
SB_Part_Data = nPosition[6] | nPriority[0] | bHidden[0]
FileButtonWidth_Px = 104
FileButtonWidth_AutoAdjust = 1
SelectedDrive = HD1




[Printer.ini]
TabTitle=""
InitialStateOf[ControlBar]=0
SaveChangesFor[ControlBar]=0
InitialStateOf[StatusBar]=0
SaveChangesFor[StatusBar]=0
InitialStateOf[Log]=0
SaveChangesFor[Log]=0
FontFace = "system"
DumpMode=1
PrinterMode=1
SeparateWindow_X0_px=0
SeparateWindow_Y0_px=0
SeparateWindow_DX_px=560
SeparateWindow_DY_px=840
InitialStateOf[SeparateWindow]=0
SaveChangesFor[SeparateWindow]=1
Old_Logs_Mode=0




[DisAsm_Button.ini]
SB_Part_Data=nPosition[1] | nPriority[0] | bHidden[0]
TextFieldWidth_Px=0
TextFieldText=
ButtonPushMode   = 2
IsInverted       = 0
ButtonON_Text    = "DisAsm"
ButtonOFF_Text   = "DisAsm"
ButtonWidth      = 70
ButtonHeight     = 18
ButtonFontSize   = 12
ButtonFontWeight = 600
StateName        = "DisAsm"




[StepMode_Button.ini]
SB_Part_Data=nPosition[2] | nPriority[0] | bHidden[0]
TextFieldWidth_Px=0
TextFieldText=
ButtonPushMode   = 2
IsInverted       = 0
ButtonON_Text    = "Step Mode"
ButtonOFF_Text   = "Step Mode"
ButtonWidth      = 90
ButtonHeight     = 18
ButtonFontSize   = 12
ButtonFontWeight = 600
StateName        = "StepMode"




[Step_Button.ini]
SB_Part_Data=nPosition[3] | nPriority[0] | bHidden[0]
TextFieldWidth_Px=0
TextFieldText=
ButtonPushMode   = 2
IsInverted       = 0
ButtonON_Text    = "Step"
ButtonOFF_Text   = " "
StateName        = Pause
ButtonWidth      = 60
ButtonHeight     = 18
ButtonFontSize   = 12
ButtonFontWeight = 600

PushedButton_Text_X_Offset_Px = 0
PushedButton_Text_Y_Offset_Px = 3
PoppedButton_Text_X_Offset_Px = 0
PoppedButton_Text_Y_Offset_Px = 3
ButtonON_TextColor   = 0,0,0
ButtonOFF_TextColor  = 0,0,0
ButtonON_Background  = 210,210,110
ButtonOFF_Background = 1,0,0
Is_PoppedButton_Border_ButtonLike = 0
Is_PushedButton_Border_ButtonLike = 0
DoCenterAlignButtonText = 1
LightsOFF_StateName=Power




[DisAsmLog_Button.ini]
SB_Part_Data=nPosition[4] | nPriority[0] | bHidden[0]
TextFieldWidth_Px=0
TextFieldText=
ButtonPushMode   = 2
IsInverted       = 0
ButtonON_Text    = "Log"
ButtonOFF_Text   = "Log"
StateName        = Log
ButtonWidth      = 60
ButtonHeight     = 18
ButtonFontSize   = 17
ButtonFontWeight = 600

PushedButton_Text_X_Offset_Px = 0
PushedButton_Text_Y_Offset_Px = 1
PoppedButton_Text_X_Offset_Px = 0
PoppedButton_Text_Y_Offset_Px = 0
ButtonON_TextColor   = 0,0,0
ButtonOFF_TextColor  = 0,0,0
ButtonON_Background  = 160,205,160
ButtonOFF_Background = 1,0,0
Is_PoppedButton_Border_ButtonLike = 1
Is_PushedButton_Border_ButtonLike = 1
DoCenterAlignButtonText = 1
LightsOFF_StateName=Power




[CLS_Button.ini]
SB_Part_Data=nPosition[5] | nPriority[0] | bHidden[0]
TextFieldWidth_Px=0
TextFieldText=
ButtonPushMode   = 1
IsInverted       = 0
ButtonON_Text    = "Clear"
ButtonOFF_Text   = "Clear"
ButtonWidth      = 60
ButtonHeight     = 18
ButtonFontSize   = 12
ButtonFontWeight = 600
StateName        = "ClearScreen"




[DisAsm.ini]
TabTitle=""
SeparateWindow_X0_px=0
SeparateWindow_Y0_px=0
SeparateWindow_DX_px=800
SeparateWindow_DY_px=600
InitialStateOf[SeparateWindow]=1
SaveChangesFor[SeparateWindow]=1
InitialStateOf[ControlBar]=0
SaveChangesFor[ControlBar]=1
InitialStateOf[StatusBar]=1
SaveChangesFor[StatusBar]=1
DumpMode=1
PrinterMode=0
InitialStateOf[Log]=0
SaveChangesFor[Log]=1
Old_Logs_Mode=0




[CPUCSR.ini]
CPUCSR_Address = 0177724



[BRK1.ini]
InitialStateOf[Enabled] =1
SaveChangesFor[Enabled] =0
InitialStateOf[PauseCPU]=0
SaveChangesFor[PauseCPU]=1

FirstAddr =0177566
Last_Addr =0177567

IO_Mode = WRITE
IO_Size = Any
IO_Data = Any

Skip_FirstHits = 0
Catch_NextHits = 2
Show_LastSteps = 3
Show_NextSteps = Default
Show_HitReport = Yes


