ביום שלישי, 20 באפריל 2004, 22:09, נכתב על ידי Arkady V.Belousov: > No. Unfortunately, DOS itself calls INT28 too rarely (only when it > waits onput to fill input keyboard buffer), so you should use other doors. > Ie., for example, you should trap INT21 and, if happen some event (handler > from INT1C sets some flag), then your main resident code may call DOS if > DOS not called OR you in DOS, but DOS calls INT28. > > But wait from me too much answers, I'm not write extensive resident > code. You should study, for example, libraries like TeSeRact, TSRtoo, AMIS > (management library from Ralf Brown) etc. I did a readln in pascal, and was hoping to see my interrupt working :) this is not the case.
> DI> Another thing: > DI> Looking inside the kernel in file chario.c in function: > read_char_sft_dev, I DI> see this code: > DI> if (check_break && *pdev != syscon) > DI> check_handle_break(&syscon); > DI> /* the idle int is only safe if we're using the character stack > */ DI> if (user_r->AH < 0xd) > DI> DosIdle_int(); > DI> and also: > DI> http://www.ctyme.com/intr/rb-2739.htm > > I don't know what contained in this page. Just mention, which > interrupt you mean. DOS 2+ - GET ADDRESS OF INDOS FLAG AH = 34h ignore that... me stupid... did not see GET. anyway, I see an "if" before. what does is the variable which is checked? > DI> Apparently I have to pass a pointer to a byte to the DOS and set that > byte DI> to 1? I think I am lost, that "manual" is not that usefull. :( > > ? again, ignore me, I am just half blind. I will look for the libs you mentioned, and I am also looking for demos in C (asm is too long :) Thanks again. -- 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
