Hello everyone, I'd like to add some BASIC commands like SET ADJUST to my AUTOEXEC.BAT. Is there any way to do it? Thanks.
Login or register to post comments
Hello everyone, I'd like to add some BASIC commands like SET ADJUST to my AUTOEXEC.BAT. Is there any way to do it? Thanks.
You can make something like my Multi-Boot. (Use an AUTOEXEC.BAS instead of the AUTOEXEC.BAT)
There exists a tool which allows you to execute Basic commands from DOS. I just forgot the name.
search bascom.com,
a:\bascom set adjuts (7,7)
I think it's baskom.com, isn't it?
The tool is here: http://www.msxarchive.nl/pub/msx/utils/dos2/baskom.pma
I also added it to MSXHub. I think it's very handy :)
Hello guys, finally I've applied a very simple solution: direct call to BASIC command of DOS. You can split your autoexec.bat in different files, and after the BASIC program continue executing whatever you want, something like this:
[AUTOEXEC.BAT]
...
BASIC config1.bas
And file config1.bas should be like:
[CONFIG1.BAS]
10 CLS
20 -- PERFORM MY BASIC COMMANDS --
30 _SYSTEM("config1.bat")
In config1.bat I apply specific config desired after the BASIC commands.
Thanks for your help!
Using baskom may execute faster though I think. It’s pretty neat.
I've heard of bascom but never tried it. I don't expect it to support everything you can do in basic, like a call for gr8net.
On top of that I wouldn't even want to begin with converting my basic booter to bascom cuz it's quite a monster with a for next loop and data lines
I reccon you've to load bascom for each command you want to perform, so after a while bascom would lose
Don't you have an account yet? Become an MSX-friend and register an account!