'-------------------------------------------------------------------------------
'                              M128103.bas
'                  Test for M128 support in M103 mode
'-------------------------------------------------------------------------------
'By default the M128 has the M103 compatibility fuse set.
'It also runs on a 1 MHz internal oscillator by default
'Set the internal osc to 4 MHz for this example DCBA=1100
$regfile = "m128103.dat"
$crystal = 4000000
$baud = 9600

Config Com1 = Dummy , Synchrone = 0 , Parity = Even , Stopbits = 2 , Databits = 8 , Clockpol = 0
Print "Hello"
Do
   Print "test"
   Wait 1
Loop