1

add vorgabe07

This commit is contained in:
churl
2022-06-17 15:27:48 +02:00
parent 01495fda93
commit d29dc064cb
23 changed files with 19128 additions and 2 deletions

0
boot/Makefile Executable file → Normal file
View File

0
boot/bootsect.asm Executable file → Normal file
View File

7
boot/setup.asm Executable file → Normal file
View File

@ -186,10 +186,15 @@ gdt:
dw 0x9200 ; data read/write
dw 0x00CF ; granularity=4096, 386 (+5th nibble of limit)
dw 0xFFFF ; 4Gb - (0x100000*0x1000 = 4Gb)
dw 0x4000 ; 0x4000 -> base address=0x24000 (siehe BIOS.cc)
dw 09A02h ; 0x2 -> base address =0x24000 (siehe BIOS.cc) und code read/exec;
dw 0008Fh ; granularity=4096, 16-bit code
idt_48:
dw 0 ; idt limit=0
dw 0,0 ; idt base=0L
gdt_48:
dw 0x18 ; GDT Limit=24, 3 GDT Eintraege
dw 0x20 ; GDT Limit=24, 3 GDT Eintraege
dd SETUPSEG*0x10+gdt; Physikalische Adresse der GDT