From 72857991ed93a55dd0f14f95a19de48574db7cc3 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Wed, 20 Aug 2014 19:04:41 +0200 Subject: functional floppy driver (in emulators at least) --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 62a6560..0ee580e 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,36 @@ Issues * redesign command handling (not inside the interrupt!!!) * implement a real shell (in user mode) + +MEMORY LAYOUT +============= + +FLOPPY IMAGE +------------ +0x0000 - MASTER BOOT RECORD +0x0200 - kernel image (contains sotrage for interrupt desc. table) +0x8000 - file system will go here + +RAM +--- +0x1000 + boot loader puts the kernel here. + +0x7c00 + first stage boot loader (loaded by bios) boot/mbr.asm + includes initial Global Descriptor Table! + +0x7c00 + 3 + boot loader puts number of boot floppy disk here. + +0x7c00 + 0x140 + the boot loader puts the memory map obtained from the + bios here before switching to protected mode. + +0xb000 + memory above this is used for dma (by our floppy.c driver) + + REFERENCES ========== -- cgit v1.2.3