Re: Hardware - Detection in DOS Environment

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Thu, 18 Jan 2001, Kat wrote:
>> On 18 Jan 2001, at 15:52, Gottwald, IT-IS T500, Fa. Compaq, DA wrote:
>> 
>> > Hardware - recognition under DOS
>> >
>> > Has anyone an idea how to recognize the type of
>> > installed network-card, BIOS, etc. under DOS using EU/Assembler ?
>> 
>> Afaik, you'd haveto walk the device driver chain and query each handler
>> with int21h function 44h, subfunctions 00h-0Fh. Also check the printer
>> drivers at int21h, 5Eh and the redirected drivers at int21h, 5Fh subfunction
>> 02h. Country code page info is at int21h function 65h and 66h.
>> 
>> > How can I access the BIOS-Databases from my program ?
>> 
>> All the int 10h ints are used for bios calls. Also check out int 15h, int
>> 16h,
>> int 17h, int 33h. Int 67h may be useful too, if you have an EMM handler
>> installed and need EMM info.
>> 
>> Someone wrote Eu code in the archives that uses dos interrupts, i'm sure
>> you could use that as a framework to build on.

<blatand plug for publicity>

I did make a program a while ago called dintt (Dos INTerrupt Tester) that
allows the programmer to "test" different interrupts very easily in a DOS GUI
environment. It also allows the programmer to export the current interrupt
setting into Euphoria code.

Right now its still in beta stage and it has been for a very long time. I did
not realease any more enhanced versions (the current one has some limitations)
because there was absolutely no demand.

I do not know if this is what you (Gottwald) need or not. im just rambling
about myself.

-- 
evil, corruption and bad taste
^[cense]

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu