This commit is contained in:
Kartik K. Agaram 2021-03-23 19:37:07 -07:00
parent 895093b3cf
commit 49464e5866
1 changed files with 5 additions and 3 deletions

View File

@ -10,11 +10,13 @@
# uses:
# - sigils only support 32-bit general-purpose registers, so don't work with segment registers or 16-bit or 8-bit registers
# - metadata like rm32 and r32 can sometimes misleadingly refer to only the bottom 16 bits of the register; pay attention to the register name
#
# While most of Mu is thoroughly tested, this file is not. I don't yet
# understand hardware interfaces well enough to explain to others.
# Memory map of a Mu computer:
# code: 4 tracks of disk to [0x00007c00, 0x00027400)
# stack grows down from 0x00070000
# see below
# code: currently 4 tracks loaded from the primary disk to [0x00007c00, 0x00027400)
# stack: grows down from 0x00070000
# heap: [0x01000000, 0x02000000)
# see 120allocate.subx
# Consult https://wiki.osdev.org/Memory_Map_(x86) before modifying any of this.