Schrijver
| What do you have in your AUTOEXEC.BAT?
|
Ivan
 msx professional Berichten: 878 | Geplaatst: 18 April 2004, 03:30   |
While copying soft to my new CF card I was wondering: what other users (you) have in your AUTOEXEC.BAT file?
I do have a humble COLOR 15,1,1 and that's all.
Do you recommend me any other command in special?
|
|
BiFi msx guru Berichten: 3142 | Geplaatst: 18 April 2004, 08:30   |
Since I use both MSX turbo R and MSX2 with the same harddisk I tend to speed things up on the turbo R using the XelaSoft drive speedup TSR when the harddisk is booted on the turbo R. It also sets up the search path to a few batch files and sets up the EXPAND environment item for those PMARC and LHPACK purposes. Though I use LZH archiving much more these days.
|
|
NYYRIKKI msx master Berichten: 1503 | Geplaatst: 18 April 2004, 10:44   |
Autoexec.bat :
SET PATH=A:\UTILS;A:\BAT
SET EXPERT=ON
SET MMUSIC=A:\MUSIC\MM
MAP2
Reboot.bat:
NOCALL
PPDIR POP >NUL
Little explanation:
SET EXPERT=ON & MAP2 improves DOS1 compatibility
MMUSIC variable is for MicroMusic
NOCALL removes CALL command from RAM area to avoid hang up that happens if you for example load XBASIC, then return to DOS and go back to BASIC without loading XBASIC again and use CALL command.
PPDIR POP returns you to same path that you were in while executing PPDIR PUSH. In DOS 2.41 you have also PUSHD and POPD that does same thing, but as I use version of this command also in BASIC I use external command. In BAT files I usually use this to load BASIC tools.
Example SX.BAT:
PPDIR PUSH
CDD a:\UTILS
BASIC SUPER-X.BAS
SUPER-X.BAS:
10 BLOAD"POPD.BIN",R
20 BLOAD"SUPER-X.LDR".R
The line 10 will cause PPDIR POP type of command to be executed when program ends(It's a TSR), so the other files needed by SUPER-X.LDR will be loaded from directory A:\UTILS but after loading the directory will be the same where you started the program. This command does not anyway remove directory from stack, so now when I go back to DOS, the directory will be popped from directory stack.
|
|
NYYRIKKI msx master Berichten: 1503 | Geplaatst: 18 April 2004, 13:22   |
Quote:
| I tend to speed things up on the turbo R using the XelaSoft drive speedup TSR when the harddisk is booted on the turbo R.
|
Yes, it is a good software as it gives you about 100% speed up. I don't anyway use that on AUTOEXEC.BAT as it needs to go to BASIC for loading. Is there a DOS loader for it? The source seems to be DOS compatible, but it isn't.
As the number of used partitions is not always same in my environment, I use following kind of modifyed loader for it at the moment:
10 BLOAD"r800-dr.bin"
20 FOR I=0 TO 7
30 A=PEEK(&HF355+I*2)+PEEK(&HF356+I*2)*256:IF PEEK(A+1)=240 OR A=0 THEN POKE &HC003+I,0 ELSE POKE &HC003+I,1
40 NEXT I
50 DEFUSR=&HC000:A=USR(0):_SYSTEM
LUNA is another software, that can do the trick (among pile of other things), but it has something agains my customized DOS 2.41 version.
|
|
BiFi msx guru Berichten: 3142 | Geplaatst: 18 April 2004, 13:28   |
AFAIK there's no DOS loader for it and it's the last command in the AUTOEXEC.BAT anyway. I speed up all drive letters, even if it's not necessary.
And COMMAND2.COM version 2.4x does SET EXPERT ON already.
|
|
BiFi msx guru Berichten: 3142 | Geplaatst: 18 April 2004, 13:33   |
I used to customize the turboR GT MSX-View software boot. I made a bunch of tools for it for doing special stuff... Can't remember what they did anymore. Need to analyze the sources again. The AUTOEXEC.BAT and REBOOT.BAT on the ROM disk have a check for AUTOEXEC.BAT and REBOOT.BAT on the SRAM disk.
|
|
djh1697 msx professional Berichten: 542 | Geplaatst: 18 April 2004, 16:32   |
·
|
|
GuyveR800 msx guru Berichten: 3048 | Geplaatst: 18 April 2004, 16:37   |
I think that will cause an error in your AUTOEXEC.BAT  |
|
BiFi msx guru Berichten: 3142 | Geplaatst: 18 April 2004, 17:26   |
djh1697 has won a prize
for posting the shortest post in MRC history
ask you local janitor what the prize is  |
|
ro msx guru Berichten: 2320 | Geplaatst: 18 April 2004, 19:45   |
|
|
Ivan
 msx professional Berichten: 878 | Geplaatst: 18 April 2004, 19:47   |
Quote:
| SET PATH=A:\UTILS;A:\BAT
|
How to type the back slash (\) in a turboR (Japanese keyboard)? |
|
ro msx guru Berichten: 2320 | Geplaatst: 18 April 2004, 19:47   |
nuff said, I think that price should move towards it's new owner namely ME.. 
I have some path variables set in my autoexec.bat. Thaz basically it. |
|
ro msx guru Berichten: 2320 | Geplaatst: 18 April 2004, 19:48   |
good question Ivan, I can't remember although I used it a lot... darn, it's been too long!
|
|
GuyveR800 msx guru Berichten: 3048 | Geplaatst: 18 April 2004, 19:49   |
Quote:
| How to type the back slash (\) in a turboR (Japanese keyboard)?
|
Yen sign |
|
Ivan
 msx professional Berichten: 878 | Geplaatst: 18 April 2004, 19:50   |
By the way, does the program START.COM (for FDD emulation) support long paths (subdirectories) as parameter? I tried this but seems that is doesn't work. Maybe due to the back slash  |
|
|
|
|