What do you have in your AUTOEXEC.BAT?

Page 1/4
| 2 | 3 | 4

By Ivan

Ascended (9305)

Ivan's picture

18-04-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?

Login or register to post comments

By BiFi

Enlighted (4348)

BiFi's picture

18-04-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.

By NYYRIKKI

Enlighted (5921)

NYYRIKKI's picture

18-04-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.

By NYYRIKKI

Enlighted (5921)

NYYRIKKI's picture

18-04-2004, 13:22

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.

By BiFi

Enlighted (4348)

BiFi's picture

18-04-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.

By BiFi

Enlighted (4348)

BiFi's picture

18-04-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.

By djh1697

Paragon (1636)

djh1697's picture

18-04-2004, 16:32

·

By anonymous

incognito ergo sum (116)

anonymous's picture

18-04-2004, 16:37

·
I think that will cause an error in your AUTOEXEC.BAT Wink

By BiFi

Enlighted (4348)

BiFi's picture

18-04-2004, 17:26

djh1697 has won a prize Tongue

for posting the shortest post in MRC history Smile

ask you local janitor what the prize is Wink

By ro

Scribe (4698)

ro's picture

18-04-2004, 19:45

By ro

Scribe (4698)

ro's picture

18-04-2004, 19:47

nuff said, I think that price should move towards it's new owner namely ME.. Tongue
I have some path variables set in my autoexec.bat. Thaz basically it.

Page 1/4
| 2 | 3 | 4