Hi Mark, you are pretty close already...

> get a getdta() function (to acquire the disk transfer area) that will
> work with Open Watcom...
> The Kernel interrupt handler for Interrupt 21 function 2F 
> boils down to...
> Is the return of a 16-bit value correct here?

No. Your function is fine but it only returns BX at the moment. You
have to use intdosx instead of intdos, then you will be able to read
the returned ES from int 21.2f as well. Combine both (ES:BX) to
create a FAR pointer, e.g. with MK_FP(...,...).

Eric



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to