Code: Select all
command.name.0.*=ZLoad COM4 Go
command.mode.0.*=subsystem:console,savebefore:no
command.shortcut.0.*=F12
command.0.*=$(SciteDefaultHome)\..\zload -c4 -a4 -v "$(project.dir)\$(project.name).zxb"
Code: Select all
Dim ATNChar as Persistent Byte Based &H0013
if ATNchar <> &h04 then ' enable DTR-less download
ATNChar = &H04 ' set the ZBasic DTR-less download ATN character = ctrl-d
end if
the -c4 is the COM port number (a virtual com port in my case).
NOTE: The IDE's debugger cannot also have COM4 open when you start this download. Close it using the options menu before doing the download. We need a way for this menu choice to run ZLoad to force the IDE to close the serial port it's using. I guess that will come when there's a more fully integrated DTR-less download built-in.