From f0e146fc7b947bae526657d8c858a95319abf204 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 1 May 2021 23:52:28 -0700 Subject: . --- html/boot.subx.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'html/boot.subx.html') diff --git a/html/boot.subx.html b/html/boot.subx.html index 6d2560d8..ed9ad698 100644 --- a/html/boot.subx.html +++ b/html/boot.subx.html @@ -76,9 +76,9 @@ if ('onhashchange' in window) { 16 17 # Memory map of a Mu computer: 18 # code: currently 4 tracks loaded from the primary disk to [0x00007c00, 0x00048600) - 19 # stack: grows down from 0x00070000 - 20 # heap: [0x01000000, 0x02000000) - 21 # see 120allocate.subx + 19 # stack: grows down from 0x02000000 to 0x01000000 + 20 # heap: [0x02000000, 0x08000000) + 21 # see 120allocate.subx; Qemu initializes with 128MB RAM by default 22 # Consult https://wiki.osdev.org/Memory_Map_(x86) before modifying any of 23 # this. And don't forget to keep *stack-debug.subx in sync. 24 @@ -101,7 +101,7 @@ if ('onhashchange' in window) { 41 8e/->seg 3/mod/direct 0/rm32/ax 4/r32/fs 42 8e/->seg 3/mod/direct 0/rm32/ax 5/r32/gs 43 - 44 # initialize stack to 0x00070000 + 44 # Temporarily initialize stack to 0x00070000 in real mode. 45 # We don't read or write the stack before we get to 32-bit mode, but BIOS 46 # calls do. We need to move the stack in case BIOS initializes it to some 47 # low address that we want to write code into. @@ -269,7 +269,7 @@ if ('onhashchange' in window) { 209 8e/->seg 3/mod/direct 0/rm32/ax 4/r32/fs 210 8e/->seg 3/mod/direct 0/rm32/ax 5/r32/gs 211 - 212 bc/copy-to-esp 0x00070000/imm32 + 212 bc/copy-to-esp 0x02000000/imm32 213 214 ## load interrupt handlers 215 # We can't refer to the label directly because SubX doesn't do the right -- cgit 1.4.1-2-gfad0