This includes both separate .md files, and documentation that was on the head of the .S source files. Retest everything as this was done, and fix a few easy things.
21 lines
301 B
ArmAsm
21 lines
301 B
ArmAsm
#include "common.h"
|
|
BEGIN
|
|
CLEAR
|
|
cli
|
|
movw $handler, idt_start
|
|
mov %cs, idt_start + 2
|
|
lidt idt_descriptor
|
|
int $0
|
|
PUTC $'b
|
|
hlt
|
|
idt_start:
|
|
.word handler
|
|
.word
|
|
idt_end:
|
|
idt_descriptor:
|
|
.word idt_end - idt_start
|
|
.long idt_start
|
|
handler:
|
|
PUTC $'a
|
|
iret
|