aboutsummaryrefslogtreecommitdiff
path: root/convfont.c
diff options
context:
space:
mode:
Diffstat (limited to 'convfont.c')
-rw-r--r--convfont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/convfont.c b/convfont.c
index d437085..a0ae0f4 100644
--- a/convfont.c
+++ b/convfont.c
@@ -167,8 +167,8 @@ int main(int argc, char **argv) {
if(argc > 1) {
xex[0] = xex[1] = 0xff;
- xex[2] = 0x00; xex[3] = 0xb8; /* load address $B800 */
- xex[4] = 0xff; xex[5] = 0xbb; /* end address $bbff */
+ xex[2] = FONT_ADDR % 256; xex[3] = FONT_ADDR / 256; /* load address $2000 */
+ xex[4] = 0xff; xex[5] = 0x23; /* end address $23ff */
write(1, xex, 6);
}
write(1, font, 1024);