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.
Remapping PIC
Re:Remapping PIC
Have you read: http://www.osdever.net/tutorials/pic.php?the_id=38
http://www.nondot.org/sabre/os/files/Mi ... asheet.pdf
HTH, Christoffer
http://www.nondot.org/sabre/os/files/Mi ... asheet.pdf
HTH, Christoffer
Re:Remapping PIC
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
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
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.. :-\
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Remapping PIC
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 ...
you can also want to store the initial PIC mask in a variable that you'll restore later ...
Re:Remapping PIC
You know, this would be great for the wiki! Somebody might have the same problem.
Re:Remapping PIC
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 ???
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 ???