najmus saqib wrote:
HELLO
I want to ask something about DOS interrupts. Does freeDOS uses MSDOS interrrupts. How can i do the same. can any1 tell me about the

Yes, it uses the same interrupts and parameter interface as MSDOS. More specifically, it attempts to implement nearly 100% compatible (possibly including advanced features, hence not 100% identical) interface including most hooked interrupts and their functionality. On the flip side, the FreeDOS kernel most likely calls the same set of interrupts as MS DOS, ie BIOS calls; but the exact order and which ones called [ie FreeDOS kernel may take advantage of newer functions such as LBA for disk access] may not be the same.

files doing this in freeDOS kernel.


the primary interrupt handler (for int21h) is in inthndlr.c, see also int2f.asm, intr.asm, and intwrap.asm for the C/Asm interface for the interrupt handling. main.c will show you all interrupts hooked. Of course the interrupt handlers call into the various other files; see Pat's book on the FreeDOS kernel or have a look through the source and the call tree should be pretty easy to follow.

Jeremy



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to