Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the board
Thread view  Mix view  Order
david(R)

22.08.2019, 11:54
 

jemmex (Users)

Hi, I use jemmex but without UMB region

BREAK=ON
BUFFERS=80
FILES=200
HIFCBS=4,4
STACKS=0,0
DOS=HIGH,UMB
HILASTDRIVER=E
VERSION=7.10,6.22
DEVICEHIGH=C:DRDOSJEMMEX.EXE X=TEST RAM
DEVICEHIGH=C:DRDOSJLOAD.EXE C:DRDOSXCDROM32.DLL /D:DVD
SHELL=C:COMMAND.COM C: /E:512 /P

I try use memtest


conventional memory (Int 12h): 639 kB
XBDA at segment 9fc0, size 1 kB
Int 15h, ah=88h, extended memory: 0 kB
Int 15h, ax=E801h:
ext. memory below 16 MB: 15360 (0x3c00) KB
ext. memory above 16 MB: 48890 64 KB blocks = 3055 MB [1000000-bff9ffff]
Int 15h, eax=E820h:
address size type
--------------------------------------------
000000000 00009fc00 1 (available)
00009fc00 000000400 2 (reserved)
0000e0000 000020000 2 (reserved)
000100000 0bfea0000 1 (available)
0bffa0000 00000e000 3 (ACPI reclaimable)
0bffae000 000042000 4 (ACPI NVS)
0bfff0000 000010000 2 (reserved)
0fee00000 000001000 2 (reserved)
0fff00000 000100000 2 (reserved)
100000000 040000000 1 (available)

what I should use for region X=xxxx-yyyy set manualy?
thanks

david

Japheth(R)

Homepage

Germany (South),
23.08.2019, 09:04

@ david

jemmex

> Hi, I use jemmex but without UMB region
...
> what I should use for region X=xxxx-yyyy set manualy?

I don't really understand what you want to achieve. If you want to know how jemmex sees the upper memory region (A000-FFFF), boot your PC WITHOUT jemmex and then load it from the commandline in "talkative" mode:

C:>jemmex load /v

---
MS-DOS forever!

david(R)

24.08.2019, 10:46

@ Japheth

jemmex

> C:>jemmex load /v

Int15, ax=E820: reserved region=e000, size=128 kB
'Fast' A20 method selected
EPROM at c000, size 56.0 kB
Using page frame d000
Needed: 48 kB for monitor, 8 kB for UMBs, 64 kB for DMA buffer
32 kB to account for DMA buffer 64 kB alignment
I15 total memory 3144256 kB
potential/max. VCPI memory: 3144104/122880 kB
28 kB needed for VCPI and EMS handling
XMS memory block for monitor: 110000-13d000, XMS highest=bffa0000
Memory Map: (R=system ram, G=graphics, E=rom/rsvd, P=page frame, U=umb)
00000: RRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRR
40000: RRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRR
80000: RRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRR GGGGGGGGGGGGGGGG GGGGGGGGGGGGGGGG
c0000: EEEEEEEEEEEEEEUU PPPPPPPPPPPPPPPP EEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEE
Physical start address of EMS pages: 134000
Total/available EMS pages: 2072/2048 (= 33152(32768) kB)
JemmEx loaded

how reach upper memory???

Modules using memory below 1 MB:

Name Total Conventional Upper Memory
-------- ---------------- ---------------- ----------------
SYSTEM 108,784 (106K) 108,784 (106K) 0 (0K)
COMMAND 9,504 (9K) 9,504 (9K) 0 (0K)
DOSLFN 11,760 (11K) 11,760 (11K) 0 (0K)
CTMOUSE 3,552 (3K) 3,552 (3K) 0 (0K)
NDN 1,568 (2K) 1,568 (2K) 0 (0K)
COMMAND 9,408 (9K) 9,408 (9K) 0 (0K)
COMMAND 9,408 (9K) 9,408 (9K) 0 (0K)
Free 499,840 (488K) 499,840 (488K) 0 (0K)

Memory Type Total Used Free
---------------- -------- -------- --------
Conventional 639K 151K 488K
Upper 0K 0K 0K
Reserved 385K 385K 0K

Thank You David

Japheth(R)

Homepage

Germany (South),
24.08.2019, 12:45

@ david

jemmex

> Memory Map: (R=system ram, G=graphics, E=rom/rsvd, P=page frame, U=umb)
> 00000: RRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRR
> 40000: RRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRR
> 80000: RRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRR GGGGGGGGGGGGGGGG GGGGGGGGGGGGGGGG
> c0000: EEEEEEEEEEEEEEUU PPPPPPPPPPPPPPPP EEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEE

As you can see, jemmex provides one UMB at CE00-CFFF, size 8 kB.

Might be increased by:

1. add option NOEMS; this will add 64 kB
2. add option I=B000-B7FF; this will add 32 kB

> Conventional 639K 151K 488K
> Upper 0K 0K 0K
> Reserved 385K 385K 0K

> how reach upper memory???

Usually line DOS=HIGH,UMB will ensure that DOS is using the UMBs provided by jemmex. However, this requires that jemmex is loaded via DEVICE=jemmex.exe in config.sys.

---
MS-DOS forever!

david(R)

24.08.2019, 14:11

@ Japheth

jemmex

>
> Usually line DOS=HIGH,UMB will ensure that DOS is using the UMBs provided
> by jemmex. However, this requires that jemmex is loaded via
> DEVICE=jemmex.exe in config.sys.

like this

DOS=HIGH,UMB
DEVICEHIGH=C:DRDOSJEMMEX.EXE X=CE00-CFFF I=B000-B7FF NOEMS

NOEMS increase limit memory under 1MB but

mem /c still shows UPPER = 0 :(

is it OK?

Japheth(R)

Homepage

Germany (South),
24.08.2019, 17:36

@ david

jemmex

> mem /c still shows UPPER = 0 :(

I don't know the DRDOS "mem" program, so I can't help here.

type JEMMEX on the command line, it will show its current state; for me it displays:


emmEx v5.79 [09/09/18]
JemmEx v5.79 installed.
EMS is Off.
VCPI is On, 96 of max. 30816 pages allocated.
DMA buffer at 00120000, size 64 kB.
A20 emulation is On.
VME is Off.
PGE is Off.
UMB supplied at cf1f-e6ff, allocated.


the last line tells me that there is one UMB block, which has been allocated (hopefully by DOS)

If the last line reports UMBs that are "free", DOS won't use them.

---
MS-DOS forever!

david(R)

27.08.2019, 13:10

@ Japheth

jemmex

> emmEx v5.79 [09/09/18]
> JemmEx v5.79 installed.
> EMS is Off.
> VCPI is On, 96 of max. 30816 pages allocated.
> DMA buffer at 00120000, size 64 kB.
> A20 emulation is On.
> VME is Off.
> PGE is Off.
> UMB supplied at cf1f-e6ff, allocated.

DEVICEHIGH=C:DRDOSJEMMEX.EXE X=CE00-CFFF I=B000-B7FF NOEMS

this line in config.sys gets this output

JemmEx v5.79 [09/09/18]
JemmEx v5.79 installed.
EMS is Off.
VCPI is On, 105 of max. 30816 pages allocated.
DMA buffer at 00120000, size 64 kB.
A20 emulation is On.
VME is Off.
PGE is Off.
UMB supplied at b01f-b29e, allocated.
UMB supplied at d000-da7f, allocated.
UMB supplied at da80-db7f, allocated.
UMB supplied at b29f-b7ff, free.
UMB supplied at db80-dfff, free.

so is there UMB?

Rugxulo(R)

Homepage

Usono,
30.08.2019, 02:49

@ david

jemmex

> Modules using memory below 1 MB:
>
> Name Total Conventional Upper Memory
> -------- ---------------- ---------------- ----------------
> SYSTEM 108,784 (106K) 108,784 (106K) 0 (0K)
> COMMAND 9,504 (9K) 9,504 (9K) 0 (0K)
> DOSLFN 11,760 (11K) 11,760 (11K) 0 (0K)
> CTMOUSE 3,552 (3K) 3,552 (3K) 0 (0K)
> NDN 1,568 (2K) 1,568 (2K) 0 (0K)
> COMMAND 9,408 (9K) 9,408 (9K) 0 (0K)
> COMMAND 9,408 (9K) 9,408 (9K) 0 (0K)
> Free 499,840 (488K) 499,840 (488K) 0 (0K)

Is it mandatory that you shell out from NDN (for whatever specific task you're trying to accomplish)?

BTW, some apps don't need mouse or LFNs, so you can unload those TSRs manually/temporarily, if you need the RAM (as long as you have them loaded last, after all other unloadable drivers).

Are you using DR-DOS? This is why I preferred third-party drivers for RAM disk (TDSK) and cmdline history (TODDY) on my old Pentium. Those could resize/unload, unlike default ones.

Of course, it's also wise to just make a (D)CONFIG.SYS menu to choose at bootup which things to load. (And you can adjust FILES= and LASTDRIVE= accordingly, etc., to not waste what you don't need.)

Japheth(R)

Homepage

Germany (South),
31.08.2019, 10:04

@ david

jemmex

> UMB supplied at b01f-b29e, allocated.
> UMB supplied at d000-da7f, allocated.
> UMB supplied at da80-db7f, allocated.
> UMB supplied at b29f-b7ff, free.
> UMB supplied at db80-dfff, free.
>
> so is there UMB?

Well, yes, isn't it obvious?

However, the DOS you're using behaves a bit different compared to MS-DOS/FreeDOS. While those DOSes allocate all UMBs as soon as they have been made available. your DOS (DRDOS?) seems to allocate UMBs only when actually meeded.

---
MS-DOS forever!

david(R)

03.09.2019, 09:40

@ Japheth

jemmex

>
> However, the DOS you're using behaves a bit different compared to
> MS-DOS/FreeDOS. While those DOSes allocate all UMBs as soon as they have
> been made available. your DOS (DRDOS?) seems to allocate UMBs only when
> actually meeded.

EDR-DOS by Udo Kuhnt has differencies in use on i386 or x86-64bit arch!
I see UMB with installed applications on i386 :) when use mem /c

Back to the board
Thread view  Mix view  Order
15949 Postings in 1475 Threads, 271 registered users, 91 users online (0 registered, 91 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum