-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfont_small_hex.asm
38 lines (37 loc) · 1.41 KB
/
font_small_hex.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
;;
; Copyright Jacques Deschênes 2023,2024
; This file is part of stm8-gamepad
;
; stm8-gamepadis free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later version.
;
; stm8-gamepadis distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
; GNU General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with ntsc_tuto. If not, see <http://www.gnu.org/licenses/>.
;;
.area CODE
SMALL_FONT_WIDTH=4
SMALL_FONT_HEIGHT=6
font_hex_5x6:
.byte 0xe0,0xa0,0xa0,0xa0,0xe0,0x00 ;0
.byte 0xc0,0x40,0x40,0x40,0xe0,0x00 ;1
.byte 0xe0,0x20,0xe0,0x80,0xe0,0x00 ;2
.byte 0xe0,0x20,0xe0,0x20,0xe0,0x00 ;3
.byte 0xa0,0xa0,0xe0,0x20,0x20,0x00 ;4
.byte 0xe0,0x80,0xe0,0x20,0xe0,0x00 ;5
.byte 0x80,0x80,0xe0,0xa0,0xe0,0x00 ;6
.byte 0xe0,0x20,0x20,0x20,0x20,0x00 ;7
.byte 0xe0,0xa0,0xe0,0xa0,0xe0,0x00 ;8
.byte 0xe0,0xa0,0xe0,0x20,0x20,0x00 ;9
.byte 0xe0,0xa0,0xe0,0xa0,0xa0,0x00 ;A
.byte 0xc0,0xa0,0xc0,0xa0,0xc0,0x00 ;B
.byte 0xe0,0x80,0x80,0x80,0xe0,0x00 ;C
.byte 0xc0,0xa0,0xa0,0xa0,0xc0,0x00 ;D
.byte 0xe0,0x80,0xe0,0x80,0xe0,0x00 ;E
.byte 0xe0,0x80,0xe0,0x80,0x80,0x00 ;F