Schreibe mal ins Programm
$regfile = "M8def.dat"
dann ist es egal was in Bascom eingestellt ist.