Hallo,
Weiß jemand wie ich aus einem Programm heraus prüfen kann ob DOS=HIGH bzw. DOS=UMB gesetzt ist?
Lg, Markus
Hallo,
Weiß jemand wie ich aus einem Programm heraus prüfen kann ob DOS=HIGH bzw. DOS=UMB gesetzt ist?
Lg, Markus
"Das kommt darauf an".
Was ist der Zweck deines Programms? Wozu willst du diese Information verwenden?
"Das kommt darauf an".
Was ist der Zweck deines Programms? Wozu willst du diese Information verwenden?
Ich befasse mich gerade mit den Memory Control Blocks, sowohl im Bereich bis 640 kB als auch darüber im Bereich bis 1 MB. Letztere kann ich jedoch nur durchlaufen wenn DOS=UMB in der config.sys eingetragen ist. Daher würde ich gerne irgendwie abfragen können, z.b. über eine Interrupt-Funktion, ob UMBs aktiviert sind.
XMS Function 10h:
Zitat
Request Upper Memory Block (Function 10h)
CodeARGS: AH = 10h DX = Size of requested memory block in paragraphs RETS: AX = 0001h if the request is granted, 0000h otherwise BX = Segment number of the upper memory block If the request is granted, DX = Actual size of the allocated block in paragraphs Otherwise, DX = Size of the largest available UMB in paragraphs ERRS: BL = 80h if the function is not implemented BL = B0h if a smaller UMB is available BL = B1h if no UMBs are available
Vielleicht hilft auch 5802H:
826-accessing_upper_memory - Tech Help!
Auch interessant die Implementierung von "FindUMB" auf
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!