PC architecture books

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
lukassevc
Posts: 20
Joined: Wed May 29, 2019 2:56 pm
Libera.chat IRC: lukassevc

PC architecture books

Post by lukassevc »

Hello!

I was trying to learn something about the general PC architecture, what I mean are not logic gates and similar stuff, but the devices, controllers, ports, addresses, ... like the stuff presented in this book: https://www.amazon.com/80X86-IBM-Compat ... 013061775X. The only problem is that everything what I've found is pretty old and I'm not sure how accurate it is. For example, the chapter presenting video technology is very obsolete. Please recommend me some complete reference books/docs/.... on this.

Thank you very much!
User avatar
austanss
Member
Member
Posts: 377
Joined: Sun Oct 11, 2020 9:46 pm
Location: United States

Re: PC architecture books

Post by austanss »

lukassevc wrote:Hello!

I was trying to learn something about the general PC architecture, what I mean are not logic gates and similar stuff, but the devices, controllers, ports, addresses, ... like the stuff presented in this book: https://www.amazon.com/80X86-IBM-Compat ... 013061775X. The only problem is that everything what I've found is pretty old and I'm not sure how accurate it is. For example, the chapter presenting video technology is very obsolete. Please recommend me some complete reference books/docs/.... on this.

Thank you very much!
I/O device specifications and Intel/AMD hardware/software developer manuals are a great resource.
Skylight: https://github.com/austanss/skylight

I make stupid mistakes and my vision is terrible. Not a good combination.

NOTE: Never respond to my posts with "it's too hard".
lukassevc
Posts: 20
Joined: Wed May 29, 2019 2:56 pm
Libera.chat IRC: lukassevc

Re: PC architecture books

Post by lukassevc »

rizxt wrote:
lukassevc wrote:Hello!

I was trying to learn something about the general PC architecture, what I mean are not logic gates and similar stuff, but the devices, controllers, ports, addresses, ... like the stuff presented in this book: https://www.amazon.com/80X86-IBM-Compat ... 013061775X. The only problem is that everything what I've found is pretty old and I'm not sure how accurate it is. For example, the chapter presenting video technology is very obsolete. Please recommend me some complete reference books/docs/.... on this.

Thank you very much!
I/O device specifications and Intel/AMD hardware/software developer manuals are a great resource.
I have the Intel's software developer manual, but I'm not sure if it mentions the port mapping. That I/O device specification is for each component separately? Also, does the AMD specification mention the port mapping of the PC?
nexos
Member
Member
Posts: 1081
Joined: Tue Feb 18, 2020 3:29 pm
Libera.chat IRC: nexos

Re: PC architecture books

Post by nexos »

Port mapping is a part of the IBM PC architecture. A pretty good map is at http://www.brokenthorn.com/Resources/OSDev7.html Details for programming things such as PS/2, ATA, VGA, and other things are scattered all over the internet, nowadays, people have moved to USB, SATA / NVMe, which are much more standardized. But the older stuff is simpler, just harder to find specs for.
"How did you do this?"
"It's very simple — you read the protocol and write the code." - Bill Joy
Projects: NexNix | libnex | nnpkg
Octocontrabass
Member
Member
Posts: 5568
Joined: Mon Mar 25, 2013 7:01 pm

Re: PC architecture books

Post by Octocontrabass »

lukassevc wrote:I have the Intel's software developer manual, but I'm not sure if it mentions the port mapping. That I/O device specification is for each component separately? Also, does the AMD specification mention the port mapping of the PC?
Modern PCs don't have fixed port mappings. You must use ACPI and PCI to determine how ports are mapped to devices.

The Intel and AMD manuals only tell you about the CPU. They won't cover anything else.
Post Reply