diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2009-01-17 18:49:20 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2009-01-17 18:49:20 -0500 |
commit | 308537650feeabcd953283e828cf7f51495c11c5 (patch) | |
tree | c4cfb8b1e44679ac41abe68e25071a549a41c329 /src/font.c | |
parent | 095e89bc0b9238ae88383484ca006a3e7af873ad (diff) | |
download | seabios-308537650feeabcd953283e828cf7f51495c11c5.tar.gz |
Move variables from assembler to C code.
Define macro VAR16FIXED for declaring a variable at a fixed location.
Introduce new file src/misc.c, and move non int15 calls from system.c
to it.
Implement all fixed location variables in C code.
Move IDT/GDT defs to misc.c. Remove unused gdt entry 1.
Diffstat (limited to 'src/font.c')
-rw-r--r-- | src/font.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ * found at ftp://ftp.simtel.net/pub/simtelnet/msdos/screen/fntcol16.zip * This font is public domain */ -const u8 vgafont8[128*8] __aligned(1) VAR16 = { +u8 vgafont8[128*8] VAR16FIXED(0xfa6e) = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7e, 0x81, 0xa5, 0x81, 0xbd, 0x99, 0x81, 0x7e, 0x7e, 0xff, 0xdb, 0xff, 0xc3, 0xe7, 0xff, 0x7e, |