Re: [Freedos-devel] Hooked interrupt vectors

2006-03-10 Thread mueller . b
On 10 Mar 2006, at 17:38, Robert Riebisch wrote: > [EMAIL PROTECTED] wrote: > > > No, FreeDOS does not hook the timer interrupt. FreeDOS calls > > INT10h, ah = 0 to get the tick counter. BIOS is providing the > > I doubt, because that's 'SET VIDEO MODE'. ;-) arrrgh! your are right. INT1Ah should

Re: [Freedos-devel] Hooked interrupt vectors

2006-03-10 Thread Robert Riebisch
[EMAIL PROTECTED] wrote: > No, FreeDOS does not hook the timer interrupt. FreeDOS calls > INT10h, ah = 0 to get the tick counter. BIOS is providing the I doubt, because that's 'SET VIDEO MODE'. ;-) Robert Riebisch -- BTTR Software http://www.bttr-software.de/ -

Re: [Freedos-devel] Hooked interrupt vectors

2006-03-10 Thread Arkady V.Belousov
Hi! 10-Мар-2006 10:57 [EMAIL PROTECTED] (Miguel) wrote to freedos-devel@lists.sourceforge.net: >> M> It seems to me that FreeDOS must hook into the BIOS ticker interrupt in >> M> order to get notification of ticks. >> Why it should get notifications?! M> I assumed that it wanted notification

Re: [Freedos-devel] Hooked interrupt vectors

2006-03-10 Thread Miguel
>> It seems to me that FreeDOS must hook into the BIOS ticker interrupt in >> order to get notification of ticks. Probably 1Ch ... but that is not >> happening in this code ... so that makes me wonder whether or not there >> is >> someplace else in the FreeDOS code that is hooking the timer interru

Re: [Freedos-devel] Hooked interrupt vectors

2006-03-10 Thread Miguel
> M> I see that interrupt vectors up through 3F are modified. > > Just for safety - for example, if some program will try to call mouse > API (INT33) while mouse driver not installed. Understood >>> M> For example, the timer ticker interrupt at 1Ch (or 08h). >>> For timer operation DOS

Re: [Freedos-devel] Hooked interrupt vectors

2006-03-10 Thread Arkady V.Belousov
Hi! 10-Мар-2006 10:22 [EMAIL PROTECTED] (Miguel) wrote to freedos-devel@lists.sourceforge.net: >> for (i = 0x23; i <= 0x3f; i++) >> setvec(i, empty_handler); >> Here you may see, which FreeDOS hooks for own handlers and which >> initializes to empty handler (which just IRETs). M> I see that

Re: [Freedos-devel] Hooked interrupt vectors

2006-03-10 Thread mueller . b
On 10 Mar 2006, at 10:22, Miguel wrote: > > > M> For example, the timer ticker interrupt at 1Ch (or 08h). > > > > For timer operation DOS uses BIOS. > > One can read the timer tick out of the BIOS Data Area, but in order to get > interrupt notification of timer ticks one must hook int 1Ch (

Re: [Freedos-devel] Hooked interrupt vectors

2006-03-10 Thread Miguel
Arkady V.Belousov wrote: > Hi! Thank you for your quick response [snip] > /* all of these are in the DOS DS */ > { 0x0, FP_OFF(int0_handler) }, /* zero divide */ [snip] > for (i = 0x23; i <= 0x3f; i++) > setvec(i, empty_handler); [snip] Excellent! > Here you may see, which F

Re: [Freedos-devel] Hooked interrupt vectors

2006-03-10 Thread Arkady V.Belousov
Hi! 10-Мар-2006 07:49 [EMAIL PROTECTED] (Miguel) wrote to freedos-devel@lists.sourceforge.net: M> I am looking through the FreeDOS source, but someone might know the M> answers ... M> Q: Which interrupt vectors are hooked by FreeDOS? main.c: __O\_/_\_

[Freedos-devel] Hooked interrupt vectors

2006-03-10 Thread Miguel
All, I am working on booting extensions for pxelinux + memdisk with FreeDOS ... I am looking through the FreeDOS source, but someone might know the answers ... Q: Which interrupt vectors are hooked by FreeDOS? For example, the timer ticker interrupt at 1Ch (or 08h). Q: What is the highest numbe