China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-30 16:33
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » (OK)[Help]Please ask the expert to give advice on Emm386!(Just can't use it!) View 1,697 Replies 7
Original Poster Posted 2006-09-01 09:57 ·  中国 江苏 淮安 电信
初级用户
Credits 84
Posts 24
Joined 2006-08-27 06:54
19-year member
UID 61351
Status Offline
I'm urgently seeking expert guidance. I've just started making boot disks, and after poring over materials for six consecutive days and nights, I've managed to create a maintenance system disk with several useful tools.

But as soon as I load EMM386 (without the noems parameter), an error occurs during startup: "Unable to set frame base address". Pressing any key or not pressing any key allows EMM386 to continue installing automatically. After entering DOS, it's always unstable.

If I don't load EMM386 or use the noems parameter, diskgen can't run.

Attached are the configuration files:

config.sys:

DOS=HIGH,UMB,AUTO
DEVICE=HIMEM.SYS

DEVICE=EMM386.EXE I=B000-B7FF D=64 RAM

/Or EMM386.EXE RAM I=B000-B7FF/PE000

/Or EMM386.EXE X=DC00-EFFF X=B800-C7FF I=CC00-DBFF I=B000-B7FF RAM M3 D=256 AUTO

DEVICEHIGH=VIDE-CDD.SYS /D:IDE-CD
DEVICEHIGH=USBASPI.SYS
DEVICEHIGH=DI1000DD.SYS
DEVICEHIGH=UHCI
FILES=20
BUFFERS=40
SHELL=COMMAND.COM /E:640 /P
STACKS=9,256
LASTDRIVE=Z

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

autoexec.bat:

@ECHO OFF
PROMPT $P$G
set EXPAND=YES
set DIRCMD=/O:N
LH KILLER
LH SMARTDRV.EXE 20480
LH SHSUCDX /D:?IDE-CD /D:?USB-CD /D:?SCSI-CD /D:?FWR-CD /D:?PCM-CD
LH DOSKEY
LH DOSLFN /C- /Z:CP936UNI.TBL
LH MOUSCLIP /M
LH zeno /q
XMSDSK 8192 /Y
findramd >NUL
md %ramdrive%\Tmp >nul
path=A:\;%ramdrive%\;%ramdrive%\TW\;%ramdrive%\DM\;%ramdrive%\DISKGEN\
set temp=%ramdrive%\Tmp
set tmp=%ramdrive%\Tmp
pkunzip -d M14.zip %RAMDRIVE%\ >NUL
LH %ramdrive%\TW\TW
cls
call M14.bat

[ Last edited by lsj1112 on 2006-9-6 at 23:18 ]
Floor 2 Posted 2006-09-01 19:07 ·  中国 广西 南宁 联通
高级用户
★★
Credits 721
Posts 195
Joined 2004-01-15 00:00
22-year member
UID 15554
Gender Male
Status Offline
Remove this:
I=B000-B7FF
Floor 3 Posted 2006-09-02 21:24 ·  中国 上海 电信
金牌会员
★★★★
Credits 4,639
Posts 2,239
Joined 2005-01-30 00:00
21-year member
UID 35785
Gender Male
Status Offline
It is very likely related to the hardware occupied address of your computer, so EMM386.EXE cannot set the base address of the page frame according to the default value.

Run MSD /P REPORT.TXT (you can name the file arbitrarily) under the default configuration of DOS, and then paste the report of the "Memory" section here.
Floor 4 Posted 2006-09-03 00:13 ·  中国 江苏 淮安 电信
初级用户
Credits 84
Posts 24
Joined 2006-08-27 06:54
19-year member
UID 61351
Status Offline
Thanks to the two upstairs!

The problem has been solved, heh heh~~~

I messed around by myself again, and the config.sys is:
DOS=HIGH,UMB
DEVICE=HIMEM.SYS
DEVICE=UMBPCI.SYS /I=D800-EFFF
DEVICE=EMM386.EXE X=D800-EFFF X=B800-C7FF I=C800-D7FF I=B000-B7FF RAM M3 D=256 AUTO
DEVICE=LOWDMA.SYS
DEVICEHIGH=VIDE-CDD.SYS /D:IDE-CD
DEVICEHIGH=USBASPI.SYS
DEVICEHIGH=DI1000DD.SYS
FILES=20
BUFFERS=30
SHELL=COMMAND.COM /E:640 /P
STACKS=9,256
LASTDRIVE=N
NUMLOCK=ON

That's it!

Need to load UMBPCI.SYS and LOWDMA.SYS
Floor 5 Posted 2006-09-03 00:15 ·  中国 江苏 淮安 电信
初级用户
Credits 84
Posts 24
Joined 2006-08-27 06:54
19-year member
UID 61351
Status Offline
Reply to the second floor:
Remove this:
I=B000-B7FF

It still doesn't work after removing it. Only the way I said above will work.
Floor 6 Posted 2006-09-03 22:03 ·  中国 广东 东莞 电信
新手上路
Credits 4
Posts 2
Joined 2006-05-04 21:33
20-year member
UID 54939
Status Offline
I=B000-B7FF The video card may occupy this address. Take a look at the help of EMM386 again
Floor 7 Posted 2006-09-07 01:39 ·  中国 四川 绵阳 电信
高级用户
★★
Credits 587
Posts 282
Joined 2006-04-10 03:40
20-year member
UID 53599
Gender Male
Status Offline
Since moving towards general use, there's no need to add I=... after emm386 anymore
Floor 8 Posted 2006-09-07 06:04 ·  中国 江苏 淮安 电信
初级用户
Credits 84
Posts 24
Joined 2006-08-27 06:54
19-year member
UID 61351
Status Offline
Not added, it won't start on my machine.
Forum Jump: