diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-06-15 07:06:13 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-06-15 07:06:13 +0200 |
commit | edad38a5a2dca96f5bea513d11eccf1134046d47 (patch) | |
tree | 654f0d62874c77804ab310cc9ba0082a9c053de4 /src/boot | |
parent | 397b8b28d59483388f37dcd1771bde8f867a10cd (diff) | |
download | abaos-edad38a5a2dca96f5bea513d11eccf1134046d47.tar.gz abaos-edad38a5a2dca96f5bea513d11eccf1134046d47.tar.bz2 |
made framebuffer segment a member of vga_mode_t, computing it once
when vga_set_mode is called (because it will not change after every
pixel)
Diffstat (limited to 'src/boot')
-rw-r--r-- | src/boot/stage2_real_functions.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/stage2_real_functions.asm b/src/boot/stage2_real_functions.asm index 8a0ab8d..87642c2 100644 --- a/src/boot/stage2_real_functions.asm +++ b/src/boot/stage2_real_functions.asm @@ -2,7 +2,7 @@ ; (note: the first sector gets loaded by the BIOS, the ; next 3 sectors are read by the simple stage 1 loader, ; so subtract 3 here!) -NOF_LOAD_SECTORS equ 41 +NOF_LOAD_SECTORS equ 44 ; data sections used for reading the kernel from disk SECTORS_PER_CYLINDER: |