Running BASICtools.exe under linux/unix Wine (lpc812 eval board)
Posted: Thu Jan 22, 2015 2:48 pm
BASICtools.exe runs perfect under Wine ! However I needed a small hack to make it recognize the serial port on startup.
1) make a textfile, say “wine-serial.reg”, with the following contents:
2) make a script, say “startBASICtools.sh” with contents
3) run the script :
The reason I start notepad is that the key is volatile : it disappears when wine exits. Starting a long running program like notepad keeps wine active. Notepad can be closed after BASIC has started.
The following startscript without the use of notepad worked for me too. However it depends on regedit making the change during startup of BASICtools before it looks for serial ports.:
1) make a textfile, say “wine-serial.reg”, with the following contents:
Code: Select all
REGEDIT4
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM]
"COM1"="COM1"
Code: Select all
wine notepad &
wine regedit wine-serial.reg
wine BASICtools.exe
Code: Select all
$ ./startBASICtools.sh
The following startscript without the use of notepad worked for me too. However it depends on regedit making the change during startup of BASICtools before it looks for serial ports.:
Code: Select all
wine BASICtools.exe &
wine regedit wine-serial.reg