Page 1 of 1
Remapping PIC
Posted: Tue Mar 08, 2005 1:52 pm
by Crash-n-Burn
Hi,
Can anyone tell me if there is any ASM code to save the old pic settings, so that i can restore the old settings if i need to .
If possible not in c as i am not too good with c . ::)
Thanks in advance.
Crash-n-Burn.
Re:Remapping PIC
Posted: Tue Mar 08, 2005 3:43 pm
by bubach
Re:Remapping PIC
Posted: Tue Mar 08, 2005 10:05 pm
by Crash-n-Burn
Thanks Bubach,
But what i need to know is how to save the original settings, as my OS can be booted from DOS i have trouble when returning to DOS if i remap the pic's.
I know that it is because of remaping the pic's because if i do not remap them it exit's to DOS fine.
Thanks
Re:Remapping PIC
Posted: Wed Mar 09, 2005 2:29 am
by bubach
I can swear that I read about that when I was about to remap the PICs, but now I can't seem to find anything.. :-\
Re:Remapping PIC
Posted: Wed Mar 09, 2005 3:57 am
by Pype.Clicker
DOS has IRQ0 at 0x8 and IRQ8 at 0x70 (or 0x78) iirc. So just restore that setting
you can also want to store the initial PIC mask in a variable that you'll restore later ...
Re:Remapping PIC
Posted: Tue Mar 15, 2005 10:53 am
by dh
You know, this would be great for the wiki! Somebody might have the same problem.
Re:Remapping PIC
Posted: Tue Mar 15, 2005 12:48 pm
by Crash-n-Burn
Hi @ all,
Thanks for the replys , As Bubach said i too have seen it on the web but can not find it any were it will turn up when i am looking for somthing els as thins useally do ::)
I am still trying to work through it ???
Re:Remapping PIC
Posted: Tue Mar 15, 2005 5:05 pm
by dh
Gr8---ttt!