aboutsummaryrefslogtreecommitdiffstats
path: root/src/font.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-01-17 18:49:20 -0500
committerKevin O'Connor <kevin@koconnor.net>2009-01-17 18:49:20 -0500
commit308537650feeabcd953283e828cf7f51495c11c5 (patch)
treec4cfb8b1e44679ac41abe68e25071a549a41c329 /src/font.c
parent095e89bc0b9238ae88383484ca006a3e7af873ad (diff)
downloadseabios-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/font.c b/src/font.c
index 99c7f435..3f8662f9 100644
--- a/src/font.c
+++ b/src/font.c
@@ -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,