X-Git-Url: http://git.squeep.com/?p=dcpu16;a=blobdiff_plain;f=chargen-4x8.h;h=580e0874b8c452b45a21853bdeb95b04301e2371;hp=f29cb04046e85edecdab5aadf720baab9bbd9d09;hb=HEAD;hpb=bca632cc1c329a45dde32f476b0ef9f6ef5db05a diff --git a/chargen-4x8.h b/chargen-4x8.h index f29cb04..580e087 100644 --- a/chargen-4x8.h +++ b/chargen-4x8.h @@ -3,15 +3,15 @@ /* 4x8 pixel default font map */ -const char chargen_4x8_glyphs[][4] = { +const unsigned char chargen_4x8_glyphs[][4] = { /* 00 */ - { 0x10, 0x10, 0xf0, 0x00 }, + { 0x00, 0xf0, 0x10, 0x10 }, /* 01 */ - { 0x10, 0x10, 0xf0, 0x10 }, + { 0x10, 0xf0, 0x10, 0x10 }, /* 02 */ - { 0x10, 0x10, 0x1f, 0x10 }, + { 0x10, 0x1f, 0x10, 0x10 }, /* 03 */ - { 0x10, 0x10, 0xff, 0x10 }, + { 0x00, 0xff, 0x10, 0x10 }, /* 04 */ { 0x10, 0x10, 0x10, 0x10 }, /* 05 */ @@ -78,13 +78,13 @@ const char chargen_4x8_glyphs[][4] = { /* 22 '"' "*/ { 0xb0, 0x00, 0xb0, 0x00 }, /* 23 '#' */ - { 0x7b, 0x28, 0x7b, 0x00 }, + { 0x7c, 0x28, 0x7c, 0x00 }, /* 24 '$' */ - { 0x64, 0xd6, 0x4b, 0x00 }, + { 0x64, 0xd6, 0x4c, 0x00 }, /* 25 '%' */ - { 0x86, 0x38, 0xb2, 0x00 }, + { 0x86, 0x38, 0xc2, 0x00 }, /* 26 '&' */ - { 0x6b, 0x94, 0x6e, 0x0a }, + { 0x6c, 0x94, 0x6e, 0x0a }, /* 27 ''' */ { 0x00, 0x40, 0x80, 0x00 }, /* 28 '(' */ @@ -167,7 +167,7 @@ const char chargen_4x8_glyphs[][4] = { /* 4d 'M' */ { 0xfe, 0x60, 0xfe, 0x00 }, /* 4e 'N' */ - { 0xfe, 0x80, 0x8e, 0x00 }, + { 0xfe, 0x80, 0x7e, 0x00 }, /* 4f 'O' */ { 0x7c, 0x82, 0x7c, 0x00 }, /* 50 'P' */ @@ -181,7 +181,7 @@ const char chargen_4x8_glyphs[][4] = { /* 54 'T' */ { 0x80, 0xfe, 0x80, 0x00 }, /* 55 'U' */ - { 0xfe, 0x02, 0xfe, 0x02 }, + { 0xfe, 0x02, 0xfe, 0x00 }, /* 56 'V' */ { 0xf8, 0x06, 0xf8, 0x00 }, /* 57 'W' */ @@ -218,9 +218,9 @@ const char chargen_4x8_glyphs[][4] = { /* 65 'e' */ { 0x1c, 0x2a, 0x1a, 0x00 }, /* 66 'f' */ - { 0x10, 0x77, 0x90, 0x00 }, + { 0x10, 0x7e, 0x90, 0x00 }, /* 67 'g' */ - { 0x12, 0x2a, 0x3a, 0x00 }, + { 0x12, 0x2a, 0x3c, 0x00 }, /* 68 'h' */ { 0xfe, 0x20, 0x1e, 0x00 }, /* 69 'i' */ @@ -248,7 +248,7 @@ const char chargen_4x8_glyphs[][4] = { /* 74 't' */ { 0x20, 0x7c, 0x22, 0x00 }, /* 75 'u' */ - { 0x3c, 0x02, 0x37, 0x00 }, + { 0x3c, 0x02, 0x3e, 0x00 }, /* 76 'v' */ { 0x38, 0x06, 0x38, 0x00 }, /* 77 'w' */