PIC Docs?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Midas
Member
Member
Posts: 140
Joined: Sat Jun 24, 2006 4:40 pm
Location: Falkirk, Scotland
Contact:

PIC Docs?

Post by Midas »

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! ;)
Regards,
Angus [Óengus] 'Midas' Lepper
paulbarker

Re:PIC Docs?

Post by paulbarker »

Start with the actual docs for the (original Intel) PIC 8259 and good ole' Ralf Brown Interrupts List (ports 0x20-0x3f and 0xa0-0xaf).
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:PIC Docs?

Post by Pype.Clicker »

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 :)
Midas
Member
Member
Posts: 140
Joined: Sat Jun 24, 2006 4:40 pm
Location: Falkirk, Scotland
Contact:

Re:PIC Docs?

Post by Midas »

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. :P

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
hendric

Re:PIC Docs?

Post by hendric »

http://bochs.sourceforge.net/techspec/intel-8259a-pic.pdf.gz
official specification of 8259A contains whole information about 8259A even though electronic feature..
Midas
Member
Member
Posts: 140
Joined: Sat Jun 24, 2006 4:40 pm
Location: Falkirk, Scotland
Contact:

Re:PIC Docs?

Post by Midas »

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
asmboozer

Re:PIC Docs?

Post by asmboozer »

Midas 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). :)
I am searching the doc too. thanks
Post Reply