mirror of
https://codeberg.org/hkzlab/TK2000_floppicator.git
synced 2026-01-11 09:13:07 +11:00
Add empty floppicator project
This commit is contained in:
parent
667ffdd197
commit
be70ff936e
29 changed files with 2153 additions and 0 deletions
24
src/charset.h
Normal file
24
src/charset.h
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#ifndef _CHARSET_HEADER_
|
||||
#define _CHARSET_HEADER_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
// @ A B C D E F G H I
|
||||
// J K L M N O P Q R S
|
||||
// T U V W X Y Z [ \ ]
|
||||
// ^ _ ! " # $ % & ' (
|
||||
// ) * + , - . / 0 1 2
|
||||
// 3 4 5 6 7 8 9 : ; <
|
||||
// = > ?
|
||||
// Then graphic characters follow
|
||||
|
||||
#define CHAR_HEIGHT 8
|
||||
|
||||
#define ALPHA_OFFSET (1 * CHAR_HEIGHT
|
||||
#define SYMBOL_OFFSET (28 * CHAR_HEIGHT)
|
||||
#define NUM_OFFSET (48 * CHAR_HEIGHT)
|
||||
#define GRAPH_OFFSET (58 * CHAR_HEIGHT)
|
||||
|
||||
const uint8_t* const CHARSET = (uint8_t*)0xF200;
|
||||
|
||||
#endif /* _CHARSET_HEADER_ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue