diff options
Diffstat (limited to 'baremetal/boot.hex')
-rw-r--r-- | baremetal/boot.hex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/baremetal/boot.hex b/baremetal/boot.hex index e8591dc7..5cb28127 100644 --- a/baremetal/boot.hex +++ b/baremetal/boot.hex @@ -30,7 +30,7 @@ # Programs using this initialization: # - can't use any syscalls # - can't print text to video memory (past these boot sectors) -# - must only print raw pixels (256 colors) to video memory (resolution 1280x1024) +# - must only print raw pixels (256 colors) to video memory (resolution 1024x768) # - must store their entry-point at address 0x8800 ## 16-bit entry point @@ -96,7 +96,7 @@ # adjust video mode b4 4f # ah <- 4f (VBE) b0 02 # al <- 02 (set video mode) - bb 07 41 # bx <- 0x0107 (graphics 1280x1024x256 + bb 05 41 # bx <- 0x0105 (graphics 1024x768x256 # 0x4000 bit = configure linear frame buffer in Bochs emulator; hopefully this doesn't hurt anything when running natively) # fallback mode: 0x0101 (640x480x256) cd 10 # int 10h, Vesa BIOS extensions |