Thread: Laptop Project
View Single Post
Old 07-05-2005, 01:00 AM   #4
Rogue
10 GOSUB Abandonia
20 GOTO 10
 
Rogue's Avatar

 
Join Date: Nov 2004
Location: Afrim, Albania
Posts: 2,113
Default

To add EMS, add this line to your config.sys just belove HIMEM line.

DEVICE=C:\WINDOWS\EMM386.EXE 8192 RAM

so it should look like this:


Code:
DEVICE=C:\DOS\SETVER.EXE
DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICE=C:\WINDOWS\EMM386.EXE 8192 RAM
DOS=HIGH
COUNTRY=0.44,,C:\DOS\COUNTRY.SYS
DEVICE=C:\DOS\DISPLAY.SYS CON=(EGA,,1)
FILES=30
DEVICE=C:\WINDOWS\IFSHELP.SYS
STACKS=9,256
Also you should make sure that most of the stuff loads in upper memory block, by adding devicehigh instead of device, so it should look like this:

Code:
DEVICE=C:\DOS\SETVER.EXE
DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICE=C:\WINDOWS\EMM386.EXE 8192 RAM
DOS=HIGH
COUNTRY=0.44,,C:\DOS\COUNTRY.SYS
DEVICEHIGH=C:\DOS\DISPLAY.SYS CON=(EGA,,1)
DEVICEHIGH=C:\WINDOWS\IFSHELP.SYS
FILES=30
STACKS=9,256
NOTE: I added 8192 KB of ram, which is equal to 8MB. Change it to your needs, but use 1024 x how many MB you need. So for 2MB just change that number with 2048.


You should do the same with autoexec.bat. I don't recomend of using smartdrive. In you place I would change autoexec to look like this:



Code:
@ECHO OFF
PROMPT $p$g
PATH C:\WINDOWS; C:\DOS
SET TEMP=C:\DOS
MODE CON CODEPAGE PREPARE=((437) C:]DOS\EGA.CPI)
MODE CON CODEPAGE SELECT=437
LH C:\APPS\MOUSE\CTMOUSE

Note: I am not sure if you need those mode line and that ifshelp.sys. Try to turn them off by adding REM in the fron of that line. That might save you additional memory for dos programs.

Let me know if this worked.
Rogue is offline                         Send a private message to Rogue
Reply With Quote