Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/aa_fonts.asm @ 116:14a074e1a375
Split C code, and use direct linking.
author | JeanDo |
---|---|
date | Sun, 26 Dec 2010 14:30:13 +0100 |
parents | d79bf9df55d7 |
children | 29ff788487fc |
comparison
equal
deleted
inserted
replaced
115:50a06adabc67 | 116:14a074e1a375 |
---|---|
26 | 26 |
27 ; Original fonts where byte swapped in PROM memory, but the repacked don't... | 27 ; Original fonts where byte swapped in PROM memory, but the repacked don't... |
28 ; AA_BYTE_SWAP EQU 1 | 28 ; AA_BYTE_SWAP EQU 1 |
29 | 29 |
30 ;---- SMALL font description and data ---------------------------------------- | 30 ;---- SMALL font description and data ---------------------------------------- |
31 aa_font28 code_pack | 31 aa_fonts code_pack |
32 aa_font28_block: | 32 aa_font28_block: |
33 DB ' ', 0x80 ; Translate space | 33 DB ' ', 0x80 ; Translate space |
34 DB '²', 0x81 | 34 DB '²', 0x81 |
35 DB '°', 0x82 | 35 DB '°', 0x82 |
36 DB '¤', 0x83 | 36 DB '¤', 0x83 |
49 if aa_font28_nbbits != 3 | 49 if aa_font28_nbbits != 3 |
50 error SMALL fount should be encoded with anti-aliasing... | 50 error SMALL fount should be encoded with anti-aliasing... |
51 endif | 51 endif |
52 | 52 |
53 ;---- MEDIUM font description and data --------------------------------------- | 53 ;---- MEDIUM font description and data --------------------------------------- |
54 aa_font48 code_pack | |
55 aa_font48_block: | 54 aa_font48_block: |
56 DB 0x27, 0x3B ; ' char | 55 DB 0x27, 0x3B ; ' char |
57 DB '"', 0x3C | 56 DB '"', 0x3C |
58 DB 'm', 0x3D | 57 DB 'm', 0x3D |
59 DB ' ', 0x3E | 58 DB ' ', 0x3E |
70 if aa_font48_nbbits != 3 | 69 if aa_font48_nbbits != 3 |
71 error MEDIUM fount should be encoded with 3bits anti-aliasing... | 70 error MEDIUM fount should be encoded with 3bits anti-aliasing... |
72 endif | 71 endif |
73 | 72 |
74 ;---- LARGE font description and data ---------------------------------------- | 73 ;---- LARGE font description and data ---------------------------------------- |
75 aa_font90 code_pack | |
76 aa_font90_block: | 74 aa_font90_block: |
77 DB ' ', 0x2F | 75 DB ' ', 0x2F |
78 DB 0 | 76 DB 0 |
79 DB aa_font90_firstChar | 77 DB aa_font90_firstChar |
80 DB aa_font90_chars | 78 DB aa_font90_chars |