11 #include "vdc_patch_charset.h"
15 unsigned char c[2] = {0x00, 0x20};
18 /* char attribute, alternate char set, white, full intensity.
19 * set to 0x0f for normal char set
21 unsigned char blank = 0x8f;
27 cputsxy(4, 0, "0 1 2 3 4 5 6 7 8 9 A B C D E F");
29 /* Manipulate the VDC with IRQs turned off.
30 * KERNALs default IRQ handler will also try to read the VDC status
31 * register, which could interfere with our code trying to read it.
35 // vdc_load_thinfont();
38 /* write 16 chars per line */
41 sprintf(pos, "%02x ", *c);
42 vdc_write_mem(i, pos, 4);
46 vdc_write_mem(i, c, 2);
55 /* clear attribute mem */
58 vdc_write_mem(i + 0x800, &blank, 1);
62 /* set cursor, so basic's prompt won't overwrite our output */
64 cputs(EURSYM aUML oUML uUML AUML OUML UUML szLIG);