Okay, I've restarted this guff but I'd like to not copy any code at all. I want to get this through hard graft, then it'll actually be worth something to me when it's done.
So, with that in mind, can anyone recommend (preferably online - since that's free and easily accessible, though if a book covers multiple useful topics, those recommendations are more than welcome too!) some documentation for the PIC (particularly with a view to remapping it so I can start adding interrupts and things properly, now that I've got my IDT etc setup).
Oh, and if there's a page in the Wiki that I've missed (I have actually looked, I've got a folder of printouts from it with the various theory things on them) then feel free to point me towards it and give me a good kick!
PIC Docs?
PIC Docs?
Regards,
Angus [Óengus] 'Midas' Lepper
Angus [Óengus] 'Midas' Lepper
Re:PIC Docs?
Start with the actual docs for the (original Intel) PIC 8259 and good ole' Ralf Brown Interrupts List (ports 0x20-0x3f and 0xa0-0xaf).
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:PIC Docs?
if you just want to remap PIC and set it up, "how do i remap the PIC" in the FAQ should be enough. If you wonder why there are those magic values in the initialization vector, etc. then better read the datasheets (and possibly a good book about PC hardware to know how the chip is used in IBM PC clones
Re:PIC Docs?
Yeah, I've taken a look at the 'Can I remap the PIC?' page, and I can follow it; but I just wanted to have a solid knowledge and understanding of what the various codes mean.
Apart from anything else... black code-fu magic that I don't follow means it's easier to create lovely bugs that take hours to find.
But thanks, I'll take a look at the PIC 8259 docs and interrupts list. Then I'll take a look and see what books I have (or can buy) that might cover it.
Ta
Apart from anything else... black code-fu magic that I don't follow means it's easier to create lovely bugs that take hours to find.
But thanks, I'll take a look at the PIC 8259 docs and interrupts list. Then I'll take a look and see what books I have (or can buy) that might cover it.
Ta
Regards,
Angus [Óengus] 'Midas' Lepper
Angus [Óengus] 'Midas' Lepper
Re:PIC Docs?
http://bochs.sourceforge.net/techspec/intel-8259a-pic.pdf.gz
official specification of 8259A contains whole information about 8259A even though electronic feature..
official specification of 8259A contains whole information about 8259A even though electronic feature..
Re:PIC Docs?
Thanks guys, the PIC docs for the 8259A (the copy I used, I found at http://pdos.csail.mit.edu/6.828/2005/re ... /8259A.pdf) answered all my questions (and were moderately interesting, to boot).
Regards,
Angus [Óengus] 'Midas' Lepper
Angus [Óengus] 'Midas' Lepper
Re:PIC Docs?
I am searching the doc too. thanksMidas wrote: Thanks guys, the PIC docs for the 8259A (the copy I used, I found at http://pdos.csail.mit.edu/6.828/2005/re ... /8259A.pdf) answered all my questions (and were moderately interesting, to boot).