about summary refs log tree commit diff stats
path: root/baremetal/boot.hex
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-01-27 21:02:00 -0800
committerKartik Agaram <vc@akkartik.com>2021-01-27 21:09:45 -0800
commit2c2ba73f656b0e7f821915ba79d1d8e7c7bf4fd1 (patch)
treefbaec674ba56e9aaea752931392adede37e27ac0 /baremetal/boot.hex
parent9ebc8ad439cdceb766cb707918ddc9e05cb4de3d (diff)
downloadmu-2c2ba73f656b0e7f821915ba79d1d8e7c7bf4fd1.tar.gz
7670
Diffstat (limited to 'baremetal/boot.hex')
-rw-r--r--baremetal/boot.hex47
1 files changed, 24 insertions, 23 deletions
diff --git a/baremetal/boot.hex b/baremetal/boot.hex
index 9ae9a7c8..47c7d42f 100644
--- a/baremetal/boot.hex
+++ b/baremetal/boot.hex
@@ -456,43 +456,43 @@ e9 fd ff  # loop forever
                                           00 00
 
 # offset 300 (address 0x7f00):
-# video mode info:
+# video mode info {{{
   00 00  # attributes
   00  # winA
   00  # winB
-# 304
+# 04
   00 00  # granularity
   00 00  # winsize
-# 308
+# 08
   00 00  # segmentA
   00 00  # segmentB
-# 30c
+# 0c
   00 00 00 00  # realFctPtr (who knows)
-# 310
+# 10
   00 00  # pitch
   00 00  # Xres
-# 314
+# 14
   00 00  # Yres
   00 00  # Wchar Ychar
-# 318
+# 18
   00  # planes
   00  # bpp
   00  # banks
   00  # memory_model
-# 31c
+# 1c
   00  # bank_size
   00  # image_pages
   00  # reserved
-# 31f
+# 1f
   00 00  # red_mask red_position
   00 00  # green_mask green_position
   00 00  # blue_mask blue_position
   00 00  # rsv_mask rsv_position
   00  # directcolor_attributes
-# 328
+# 28
   00 00 00 00  # physbase <== linear frame buffer
 
-# 32c
+# 2c
 # reserved for video mode info
                                     00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
@@ -508,6 +508,7 @@ e9 fd ff  # loop forever
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+# }}}
 
 # offset 400 (address 0x8000):
 # interrupt descriptor table {{{
@@ -682,24 +683,24 @@ e9 fd ff  # loop forever
    1b
 #     |<--- digits -------------->| -  =  backspace
       31 32 33 34 35 36 37 38 39 30 2d 3d 08
-# offset 80f
+# 0f
 # tab q  w  e  r  t  y  u  i  o  p  [  ]
    09 71 77 65 72 74 79 75 69 6f 70 5b 5d
-# offset 81c
+# 1c
 #                                         enter
                                           0a 00
-# offset 81e
+# 1e
 #     a  s  d  f  g  h  j  k  l  ;  '  `     \
       61 73 64 66 67 68 6a 6b 6c 3b 27 60 00 5c
                                         # ^ left shift
-# offset 82c
+# 2c
 #     z  x  c  v  b  n  m  ,  .  /     *
       7a 78 63 76 62 6e 6d 2c 2e 2f 00 2a
                                   # ^ right shift
-# offset 838
+# 38
 #                          space
                         00 20
-# offset 83a
+# 3a
                               00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 # numeric keypad would start here, but isn't implemented
@@ -723,22 +724,22 @@ e9 fd ff  # loop forever
    1b
 #     !  @  #  $  %  ^  &  *  (  )  _  +  backspace
       21 40 23 24 25 53 26 2a 28 29 5f 2b 08
-# offset 90f
+# 0f
 # tab Q  W  E  R  T  Y  U  I  O  P  {  }
    09 51 57 55 52 54 59 55 59 5f 50 7b 7d
-# offset 91c
+# 1c
 #                                         enter
                                           0a 00
-# offset 91e
+# 1e
 #     A  S  D  F  G  H  J  K  L  :  "  ~     |
       41 53 44 46 47 48 4a 4b 4c 3a 22 7e 00 7c
-# offset 92c
+# 2c
 #     Z  X  C  V  B  N  M  <  >  ?     *
       5a 58 43 56 42 4e 4d 3c 3e 3f 00 2a
-# offset 938
+# 38
 #                          space
                         00 20
-# offset 93a
+# 3a
                               00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 # numeric keypad would start here, but isn't implemented