Talk:8259 PIC: Difference between revisions

From OSDev.wiki
Latest comment: 13 years ago by Thepowersgang in topic Masking
Jump to navigation Jump to search
Content added Content deleted
No edit summary
Line 15: Line 15:


== History ==
== History ==
I'm not sure, but, i remember that Norton says about 16 hardware irq's in PC. [[User:418imateapot|418imateapot]]
I'm not sure, but, I remember that Norton says about 16 hardware irq's in PC. [[User:418imateapot|418imateapot]]

Revision as of 11:04, 16 August 2011

Discussion Topics:

Masking

Shouldn't the masking function be in one function? Also, shouldn't we have a topic about all the registers of the PIC? Primis 19:53, 27 February 2011 (UTC)Reply[reply]

No, having the masking done in two functions shows clearly what needs to be done. Also, Primis, please make sure any edits you make are actually correct. I have reverted your "fix" to the IRQ number checks. Thepowersgang 23:49, 27 February 2011 (UTC)Reply[reply]

Well there are 8 IRC lines per PIC, but they start at zero, so the first PIC is 0 ... 7 and the second is 8 ... 15. However the function is not Greater than or Equal to (>=) but is just greater than (>) so the function is gonna be out of sync no? Primis 01:55, 1 March 2011 (UTC)Reply[reply]

The operation is < in this case, 0 - 7 are less than 8, so they should they use the first controller. The current code is correct. Thepowersgang 04:16, 1 March 2011 (UTC)Reply[reply]


History

I'm not sure, but, I remember that Norton says about 16 hardware irq's in PC. 418imateapot