1 /*
2  * PROJECT:     ReactOS VGA Font Editor
3  * LICENSE:     GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4  * PURPOSE:     PSFv1 (PC Screen) Fonts - Version 1
5  * COPYRIGHT:   Copyright 2008 Colin Finck (colin@reactos.org)
6  */
7 
8 #ifndef __PSF_H
9 #define __PSF_H
10 
11 #define PSF1_MAGIC0     0x36
12 #define PSF1_MAGIC1     0x04
13 
14 #define PSF1_MODE512    0x01
15 #define PSF1_MODEHASTAB 0x02
16 #define PSF1_MODEHASSEQ 0x04
17 #define PSF1_MAXMODE    0x05
18 
19 #define PSF1_SEPARATOR  0xFFFF
20 #define PSF1_STARTSEQ   0xFFFE
21 
22 typedef struct _PSF1_HEADER
23 {
24     UCHAR uMagic[2];
25     UCHAR uMode;
26     UCHAR uCharSize;
27 } PSF1_HEADER, *PPSF1_HEADER;
28 
29 #endif
30