summaryrefslogtreecommitdiff
path: root/doc/design/memory_map.txt
diff options
context:
space:
mode:
authorBenji Dial <benji3.141@gmail.com>2019-12-11 10:14:32 -0500
committerBenji Dial <benji3.141@gmail.com>2019-12-11 10:14:32 -0500
commitaeff38fe153addba50b40600166acd42e7885e99 (patch)
tree1741a742414284753243ef6f439dad441eb868e9 /doc/design/memory_map.txt
downloadportland-os-aeff38fe153addba50b40600166acd42e7885e99.tar.gz
still need to read, parse root directory to find kernel and need to put boot signature at 0x7dfe to jump around
Diffstat (limited to 'doc/design/memory_map.txt')
-rw-r--r--doc/design/memory_map.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/design/memory_map.txt b/doc/design/memory_map.txt
new file mode 100644
index 0000000..28aed8a
--- /dev/null
+++ b/doc/design/memory_map.txt
@@ -0,0 +1,16 @@
+0x0000 - 0x03ff : interrupt vector table
+0x0400 - 0x04ff : bios data area
+0x0500 - 0x05ff : structure pointers
+ 0x00 dword : fat pointer
+0x0600 - 0x1fff : not assigned
+0x2000 - 0x3fff : memory map
+ for each word : 1 page
+ 0x0000 = free
+ 0x0001 = unavailable
+ 0x0002 = kernel
+ other = process number
+
+0x4000 - 0x6fff : not assigned
+0x7000 - 0x7bff : bootloader scratch
+ 0x7000 : memory map bios buffer
+0x7c00 - 0x7fff : bootloader \ No newline at end of file