ביום רביעי, 14 באפריל 2004, 23:44, נכתב על ידי Arkady V.Belousov:
> Hi!
>      Because DOS is not reenterable (you can't call most DOS function from
> inside TSR, when TSR gets control at time of DOS working), you should check
> when DOS is in idle state (see INT28 description).
>
>      Also, there are other issues, related to hardware interrupts: when
> INT8 calls INT1C, it not acknowledge timer interrupt, so, until you return
> from INT1C, your system will/can not receive other interupts (timer,
> keyboard, etc).
OK.... nice, still good to learn new DOS stuff :)

Now, it seems like all I need to do is to trap the 28 interrupt instead of 1Ch 
or 8 (a 1 line patch). I did this and the interrupt is not called. I am still 
missing something.

Another thing:
Looking inside the kernel in file chario.c in function: read_char_sft_dev, I 
see this code:

      if (check_break && *pdev != syscon)
        check_handle_break(&syscon);
      /* the idle int is only safe if we're using the character stack */
      if (user_r->AH < 0xd)
        DosIdle_int();

and also:
        http://www.ctyme.com/intr/rb-2739.htm
Apparently I have to pass a pointer to a byte to the DOS and set that byte to 
1? I think I am lost, that "manual" is not that usefull. :(


-- 

diego, kde-il translation team

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Free MS-Office replacement for most platforms
http://www.openoffice.org/


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to