|
References
Quick Links
x86 Assembly Language Programming
- PC Assembly
Language, Paul A. Carter, November 2003. 188pp. (local PDF copy) (local PDF copy, printed 2 pages per sheet)
A clear description of x86 assembly language and assembly
language in general, including some stuff you hopefully know already.
You might prefer to read this on line, rather than print it out; it's a
quick read. Warning: This book uses "Intel" assembly syntax, in
which instructions are written "instr dst, src "; we will use
"AT&T" assembly syntax, in which they are written "instr src,
dst ". You don't need to read the following sections, which will
not be needed for class: 1.3.6-1.3.7, 1.4, 1.5, 5, 6, and 7.2.
- Brennan's
Guide to Inline Assembly, Brennan "Bas" Underwood. (local copy)
A short and sweet description of how to use inline assembly
instructions with GCC. Includes a description of the "AT&T" assembly
syntax used by GCC.
- Reference Manuals
- Tool Interface Standard (TIS) Executable and
Linking Format (ELF) Specification, Version
1.2
Our kernel runs ELF executables; this is the definitive
standard for how these executables are constructed.
x86 Emulation
- Bochs - An x86 platform
and CPU emulator.
- QEMU -
A new, much faster but less mature PC emulator.
Use at your own risk.
PC Hardware Programming
- General PC architecture information
- General BIOS and PC bootstrap
- VGA display - kern/console.c
- Keyboard and Mouse - kern/console.c
- 8253/8254 Programmable Interval Timer (PIT)
- inc/timerreg.h
- 8259/8259A Programmable Interrupt Controller (PIC)
- kern/picirq.*
- Real-Time Clock (RTC)
- kern/kclock.*
- 16550 UART Serial Port - kern/console.c
- IEEE 1284 Parallel Port - kern/console.c
- IDE hard drive controller - fs/ide.c
- Sound cards
(not supported in 6.828 kernel,
but you're welcome to do it as a challenge problem!)
Back to Advanced Operating Systems, Fall 2004
|