about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-03-23 20:00:15 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-03-23 20:00:15 -0700
commite0f6dd524034c8b9ebe4675e12ca794ad5c1096d (patch)
tree7ad93e0fc9edd715c1f1921369e08e44d830b62f
parent49464e58661c0a3547702a3fed73ce52a9b2c41a (diff)
downloadmu-e0f6dd524034c8b9ebe4675e12ca794ad5c1096d.tar.gz
get rid of unnecessary padding
Now we only specify addresses where it matters.
-rw-r--r--boot.subx117
1 files changed, 2 insertions, 115 deletions
diff --git a/boot.subx b/boot.subx
index 296a47b7..bdea95ad 100644
--- a/boot.subx
+++ b/boot.subx
@@ -383,7 +383,6 @@ Keyboard-buffer:data:  # byte[16]
   00 00 00 00
   00 00 00 00
 
-== data 0x8100
 Video-mode-info:
 # video mode info {{{
   0/imm16  # attributes
@@ -439,9 +438,8 @@ Video-memory-addr:
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 # }}}
 
-== data 0x8200
 # interrupt descriptor table {{{
-# 128 entries * 8 bytes each = 1024 bytes (0x400)
+# 32 entries of 8 bytes each
 idt_start:
 
 # entry 0
@@ -493,116 +491,9 @@ idt_start:
 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00
-
-# 500:
-# entry 0x20
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-
-# 600:
-# entry 0x40
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-
-# 700:
-# entry 0x60
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-# entry 0x70
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00
 # idt_end:
 # }}}
 
-== data 0x8600
 # translating keys to ASCII {{{
 Keyboard-normal-map:
 00
@@ -632,7 +523,6 @@ Keyboard-normal-map:
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 # numeric keypad would start here, but isn't implemented
 
-== data 0x8700
 Keyboard-shift-map:
 00
 #  es
@@ -659,7 +549,6 @@ Keyboard-shift-map:
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 # numeric keypad would start here, but isn't implemented
 
-== data 0x8800
 Keyboard-ctrl-map:
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 # 10
@@ -676,7 +565,6 @@ Keyboard-ctrl-map:
       1a 18 03 16 02 0e 0d 00 00 1f 00 00
 # }}}
 
-== data 0x8c00
 Font:
 # Bitmaps for some ASCII characters (soon Unicode) {{{
 # Part of GNU Unifont
@@ -915,8 +803,7 @@ Font:
   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 # }}}
 
-# offset 1800 (address 0x9400)
-== code 0x9400
+== code
 
 # Use 28-bit PIO mode to read the first sector (512 bytes) from an IDE (ATA)
 # disk drive.