apple1-videocard-lib/lib/c64font.h

875 lines
13 KiB
C
Raw Normal View History

2021-12-23 17:55:56 +00:00
#ifndef FONT8X8_H
#define FONT8X8_H
// C64 FONTS translated into ASCII
#pragma data_seg(Code)
byte FONT[768] = {
// char $120
0b00000000
, 0b00000000
, 0b00000000
, 0b00000000
, 0b00000000
, 0b00000000
, 0b00000000
, 0b00000000
// char $121
, 0b00011000
, 0b00011000
, 0b00011000
, 0b00011000
, 0b00000000
, 0b00000000
, 0b00011000
, 0b00000000
// char $122
, 0b01100110
, 0b01100110
, 0b01100110
, 0b00000000
, 0b00000000
, 0b00000000
, 0b00000000
, 0b00000000
// char $123
, 0b01100110
, 0b01100110
, 0b11111111
, 0b01100110
, 0b11111111
, 0b01100110
, 0b01100110
, 0b00000000
// char $124
, 0b00011000
, 0b00111110
, 0b01100000
, 0b00111100
, 0b00000110
, 0b01111100
, 0b00011000
, 0b00000000
// char $125
, 0b01100010
, 0b01100110
, 0b00001100
, 0b00011000
, 0b00110000
, 0b01100110
, 0b01000110
, 0b00000000
// char $126
, 0b00111100
, 0b01100110
, 0b00111100
, 0b00111000
, 0b01100111
, 0b01100110
, 0b00111111
, 0b00000000
// char $127
, 0b00000110
, 0b00001100
, 0b00011000
, 0b00000000
, 0b00000000
, 0b00000000
, 0b00000000
, 0b00000000
// char $128
, 0b00001100
, 0b00011000
, 0b00110000
, 0b00110000
, 0b00110000
, 0b00011000
, 0b00001100
, 0b00000000
// char $129
, 0b00110000
, 0b00011000
, 0b00001100
, 0b00001100
, 0b00001100
, 0b00011000
, 0b00110000
, 0b00000000
// char $12a
, 0b00000000
, 0b01100110
, 0b00111100
, 0b11111111
, 0b00111100
, 0b01100110
, 0b00000000
, 0b00000000
// char $12b
, 0b00000000
, 0b00011000
, 0b00011000
, 0b01111110
, 0b00011000
, 0b00011000
, 0b00000000
, 0b00000000
// char $12c
, 0b00000000
, 0b00000000
, 0b00000000
, 0b00000000
, 0b00000000
, 0b00011000
, 0b00011000
, 0b00110000
// char $12d
, 0b00000000
, 0b00000000
, 0b00000000
, 0b01111110
, 0b00000000
, 0b00000000
, 0b00000000
, 0b00000000
// char $12e
, 0b00000000
, 0b00000000
, 0b00000000
, 0b00000000
, 0b00000000
, 0b00011000
, 0b00011000
, 0b00000000
// char $12f
, 0b00000000
, 0b00000011
, 0b00000110
, 0b00001100
, 0b00011000
, 0b00110000
, 0b01100000
, 0b00000000
// char $130
, 0b00111100
, 0b01100110
, 0b01101110
, 0b01110110
, 0b01100110
, 0b01100110
, 0b00111100
, 0b00000000
// char $131
, 0b00011000
, 0b00011000
, 0b00111000
, 0b00011000
, 0b00011000
, 0b00011000
, 0b01111110
, 0b00000000
// char $132
, 0b00111100
, 0b01100110
, 0b00000110
, 0b00001100
, 0b00110000
, 0b01100000
, 0b01111110
, 0b00000000
// char $133
, 0b00111100
, 0b01100110
, 0b00000110
, 0b00011100
, 0b00000110
, 0b01100110
, 0b00111100
, 0b00000000
// char $134
, 0b00000110
, 0b00001110
, 0b00011110
, 0b01100110
, 0b01111111
, 0b00000110
, 0b00000110
, 0b00000000
// char $135
, 0b01111110
, 0b01100000
, 0b01111100
, 0b00000110
, 0b00000110
, 0b01100110
, 0b00111100
, 0b00000000
// char $136
, 0b00111100
, 0b01100110
, 0b01100000
, 0b01111100
, 0b01100110
, 0b01100110
, 0b00111100
, 0b00000000
// char $137
, 0b01111110
, 0b01100110
, 0b00001100
, 0b00011000
, 0b00011000
, 0b00011000
, 0b00011000
, 0b00000000
// char $138
, 0b00111100
, 0b01100110
, 0b01100110
, 0b00111100
, 0b01100110
, 0b01100110
, 0b00111100
, 0b00000000
// char $139
, 0b00111100
, 0b01100110
, 0b01100110
, 0b00111110
, 0b00000110
, 0b01100110
, 0b00111100
, 0b00000000
// char $13a
, 0b00000000
, 0b00000000
, 0b00011000
, 0b00000000
, 0b00000000
, 0b00011000
, 0b00000000
, 0b00000000
// char $13b
, 0b00000000
, 0b00000000
, 0b00011000
, 0b00000000
, 0b00000000
, 0b00011000
, 0b00011000
, 0b00110000
// char $13c
, 0b00001110
, 0b00011000
, 0b00110000
, 0b01100000
, 0b00110000
, 0b00011000
, 0b00001110
, 0b00000000
// char $13d
, 0b00000000
, 0b00000000
, 0b01111110
, 0b00000000
, 0b01111110
, 0b00000000
, 0b00000000
, 0b00000000
// char $13e
, 0b01110000
, 0b00011000
, 0b00001100
, 0b00000110
, 0b00001100
, 0b00011000
, 0b01110000
, 0b00000000
// char $13f
, 0b00111100
, 0b01100110
, 0b00000110
, 0b00001100
, 0b00011000
, 0b00000000
, 0b00011000
, 0b00000000
// char $100
, 0b00111100
, 0b01100110
, 0b01101110
, 0b01101110
, 0b01100000
, 0b01100010
, 0b00111100
, 0b00000000
// char $141
, 0b00011000
, 0b00111100
, 0b01100110
, 0b01111110
, 0b01100110
, 0b01100110
, 0b01100110
, 0b00000000
// char $142
, 0b01111100
, 0b01100110
, 0b01100110
, 0b01111100
, 0b01100110
, 0b01100110
, 0b01111100
, 0b00000000
// char $143
, 0b00111100
, 0b01100110
, 0b01100000
, 0b01100000
, 0b01100000
, 0b01100110
, 0b00111100
, 0b00000000
// char $144
, 0b01111000
, 0b01101100
, 0b01100110
, 0b01100110
, 0b01100110
, 0b01101100
, 0b01111000
, 0b00000000
// char $145
, 0b01111110
, 0b01100000
, 0b01100000
, 0b01111000
, 0b01100000
, 0b01100000
, 0b01111110
, 0b00000000
// char $146
, 0b01111110
, 0b01100000
, 0b01100000
, 0b01111000
, 0b01100000
, 0b01100000
, 0b01100000
, 0b00000000
// char $147
, 0b00111100
, 0b01100110
, 0b01100000
, 0b01101110
, 0b01100110
, 0b01100110
, 0b00111100
, 0b00000000
// char $148
, 0b01100110
, 0b01100110
, 0b01100110
, 0b01111110
, 0b01100110
, 0b01100110
, 0b01100110
, 0b00000000
// char $149
, 0b00111100
, 0b00011000
, 0b00011000
, 0b00011000
, 0b00011000
, 0b00011000
, 0b00111100
, 0b00000000
// char $14a
, 0b00011110
, 0b00001100
, 0b00001100
, 0b00001100
, 0b00001100
, 0b01101100
, 0b00111000
, 0b00000000
// char $14b
, 0b01100110
, 0b01101100
, 0b01111000
, 0b01110000
, 0b01111000
, 0b01101100
, 0b01100110
, 0b00000000
// char $14c
, 0b01100000
, 0b01100000
, 0b01100000
, 0b01100000
, 0b01100000
, 0b01100000
, 0b01111110
, 0b00000000
// char $14d
, 0b01100011
, 0b01110111
, 0b01111111
, 0b01101011
, 0b01100011
, 0b01100011
, 0b01100011
, 0b00000000
// char $14e
, 0b01100110
, 0b01110110
, 0b01111110
, 0b01111110
, 0b01101110
, 0b01100110
, 0b01100110
, 0b00000000
// char $14f
, 0b00111100
, 0b01100110
, 0b01100110
, 0b01100110
, 0b01100110
, 0b01100110
, 0b00111100
, 0b00000000
// char $150
, 0b01111100
, 0b01100110
, 0b01100110
, 0b01111100
, 0b01100000
, 0b01100000
, 0b01100000
, 0b00000000
// char $151
, 0b00111100
, 0b01100110
, 0b01100110
, 0b01100110
, 0b01100110
, 0b00111100
, 0b00001110
, 0b00000000
// char $152
, 0b01111100
, 0b01100110
, 0b01100110
, 0b01111100
, 0b01111000
, 0b01101100
, 0b01100110
, 0b00000000
// char $153
, 0b00111100
, 0b01100110
, 0b01100000
, 0b00111100
, 0b00000110
, 0b01100110
, 0b00111100
, 0b00000000
// char $154
, 0b01111110
, 0b00011000
, 0b00011000
, 0b00011000
, 0b00011000
, 0b00011000
, 0b00011000
, 0b00000000
// char $155
, 0b01100110
, 0b01100110
, 0b01100110
, 0b01100110
, 0b01100110
, 0b01100110
, 0b00111100
, 0b00000000
// char $156
, 0b01100110
, 0b01100110
, 0b01100110
, 0b01100110
, 0b01100110
, 0b00111100
, 0b00011000
, 0b00000000
// char $157
, 0b01100011
, 0b01100011
, 0b01100011
, 0b01101011
, 0b01111111
, 0b01110111
, 0b01100011
, 0b00000000
// char $158
, 0b01100110
, 0b01100110
, 0b00111100
, 0b00011000
, 0b00111100
, 0b01100110
, 0b01100110
, 0b00000000
// char $159
, 0b01100110
, 0b01100110
, 0b01100110
, 0b00111100
, 0b00011000
, 0b00011000
, 0b00011000
, 0b00000000
// char $15a
, 0b01111110
, 0b00000110
, 0b00001100
, 0b00011000
, 0b00110000
, 0b01100000
, 0b01111110
, 0b00000000
// char $11b
, 0b00111100
, 0b00110000
, 0b00110000
, 0b00110000
, 0b00110000
, 0b00110000
, 0b00111100
, 0b00000000
// char $11c
, 0b00001100
, 0b00010010
, 0b00110000
, 0b01111100
, 0b00110000
, 0b01100010
, 0b11111100
, 0b00000000
// char $11d
, 0b00111100
, 0b00001100
, 0b00001100
, 0b00001100
, 0b00001100
, 0b00001100
, 0b00111100
, 0b00000000
// char $11e
, 0b00000000
, 0b00011000
, 0b00111100
, 0b01111110
, 0b00011000
, 0b00011000
, 0b00011000
, 0b00011000
// char $11f
, 0b00000000
, 0b00010000
, 0b00110000
, 0b01111111
, 0b01111111
, 0b00110000
, 0b00010000
, 0b00000000
// char $140
, 0b00000000
, 0b00000000
, 0b00000000
, 0b11111111
, 0b11111111
, 0b00000000
, 0b00000000
, 0b00000000
// char $101
, 0b00000000
, 0b00000000
, 0b00111100
, 0b00000110
, 0b00111110
, 0b01100110
, 0b00111110
, 0b00000000
// char $102
, 0b00000000
, 0b01100000
, 0b01100000
, 0b01111100
, 0b01100110
, 0b01100110
, 0b01111100
, 0b00000000
// char $103
, 0b00000000
, 0b00000000
, 0b00111100
, 0b01100000
, 0b01100000
, 0b01100000
, 0b00111100
, 0b00000000
// char $104
, 0b00000000
, 0b00000110
, 0b00000110
, 0b00111110
, 0b01100110
, 0b01100110
, 0b00111110
, 0b00000000
// char $105
, 0b00000000
, 0b00000000
, 0b00111100
, 0b01100110
, 0b01111110
, 0b01100000
, 0b00111100
, 0b00000000
// char $106
, 0b00000000
, 0b00001110
, 0b00011000
, 0b00111110
, 0b00011000
, 0b00011000
, 0b00011000
, 0b00000000
// char $107
, 0b00000000
, 0b00000000
, 0b00111110
, 0b01100110
, 0b01100110
, 0b00111110
, 0b00000110
, 0b01111100
// char $108
, 0b00000000
, 0b01100000
, 0b01100000
, 0b01111100
, 0b01100110
, 0b01100110
, 0b01100110
, 0b00000000
// char $109
, 0b00000000
, 0b00011000
, 0b00000000
, 0b00111000
, 0b00011000
, 0b00011000
, 0b00111100
, 0b00000000
// char $10a
, 0b00000000
, 0b00000110
, 0b00000000
, 0b00000110
, 0b00000110
, 0b00000110
, 0b00000110
, 0b00111100
// char $10b
, 0b00000000
, 0b01100000
, 0b01100000
, 0b01101100
, 0b01111000
, 0b01101100
, 0b01100110
, 0b00000000
// char $10c
, 0b00000000
, 0b00111000
, 0b00011000
, 0b00011000
, 0b00011000
, 0b00011000
, 0b00111100
, 0b00000000
// char $10d
, 0b00000000
, 0b00000000
, 0b01100110
, 0b01111111
, 0b01111111
, 0b01101011
, 0b01100011
, 0b00000000
// char $10e
, 0b00000000
, 0b00000000
, 0b01111100
, 0b01100110
, 0b01100110
, 0b01100110
, 0b01100110
, 0b00000000
// char $10f
, 0b00000000
, 0b00000000
, 0b00111100
, 0b01100110
, 0b01100110
, 0b01100110
, 0b00111100
, 0b00000000
// char $110
, 0b00000000
, 0b00000000
, 0b01111100
, 0b01100110
, 0b01100110
, 0b01111100
, 0b01100000
, 0b01100000
// char $111
, 0b00000000
, 0b00000000
, 0b00111110
, 0b01100110
, 0b01100110
, 0b00111110
, 0b00000110
, 0b00000110
// char $112
, 0b00000000
, 0b00000000
, 0b01111100
, 0b01100110
, 0b01100000
, 0b01100000
, 0b01100000
, 0b00000000
// char $113
, 0b00000000
, 0b00000000
, 0b00111110
, 0b01100000
, 0b00111100
, 0b00000110
, 0b01111100
, 0b00000000
// char $114
, 0b00000000
, 0b00011000
, 0b01111110
, 0b00011000
, 0b00011000
, 0b00011000
, 0b00001110
, 0b00000000
// char $115
, 0b00000000
, 0b00000000
, 0b01100110
, 0b01100110
, 0b01100110
, 0b01100110
, 0b00111110
, 0b00000000
// char $116
, 0b00000000
, 0b00000000
, 0b01100110
, 0b01100110
, 0b01100110
, 0b00111100
, 0b00011000
, 0b00000000
// char $117
, 0b00000000
, 0b00000000
, 0b01100011
, 0b01101011
, 0b01111111
, 0b00111110
, 0b00110110
, 0b00000000
// char $118
, 0b00000000
, 0b00000000
, 0b01100110
, 0b00111100
, 0b00011000
, 0b00111100
, 0b01100110
, 0b00000000
// char $119
, 0b00000000
, 0b00000000
, 0b01100110
, 0b01100110
, 0b01100110
, 0b00111110
, 0b00001100
, 0b01111000
// char $11a
, 0b00000000
, 0b00000000
, 0b01111110
, 0b00001100
, 0b00011000
, 0b00110000
, 0b01111110
, 0b00000000
// char $15b
, 0b00011000
, 0b00011000
, 0b00011000
, 0b11111111
, 0b11111111
, 0b00011000
, 0b00011000
, 0b00011000
// char $15c
, 0b11000000
, 0b11000000
, 0b00110000
, 0b00110000
, 0b11000000
, 0b11000000
, 0b00110000
, 0b00110000
// char $15d
, 0b00011000
, 0b00011000
, 0b00011000
, 0b00011000
, 0b00011000
, 0b00011000
, 0b00011000
, 0b00011000
// char $15e
, 0b00110011
, 0b00110011
, 0b11001100
, 0b11001100
, 0b00110011
, 0b00110011
, 0b11001100
, 0b11001100
// char $15f
, 0b00110011
, 0b10011001
, 0b11001100
, 0b01100110
, 0b00110011
, 0b10011001
, 0b11001100
, 0b01100110
};