source: buchla-68k/orig/lib/INCLUDE/GLCDEFS.H@ eee74cd

Last change on this file since eee74cd was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Imported original source code.

  • Property mode set to 100755
File size: 1.0 KB
Line 
1/*
2 =============================================================================
3 glcdefs.h -- definitions for the Epson GLC
4 Version 4 -- 1988-08-03 -- D.N. Lynx Crowe
5 =============================================================================
6*/
7
8#define G_INIT (char)0x40
9#define G_MWRITE (char)0x42
10#define G_MREAD (char)0x43
11#define G_SETSAD (char)0x44
12#define G_CRSWR (char)0x46
13#define G_CRSRD (char)0x47
14#define G_CRSMRT (char)0x4C
15#define G_CRSMLT (char)0x4D
16#define G_CRSMUP (char)0x4E
17#define G_CRSMDN (char)0x4F
18#define G_ERASE (char)0x52
19#define G_SLEEP (char)0x53
20#define G_DSPCTL (char)0x58
21#define G_HSCRL (char)0x5A
22#define G_OVRLAY (char)0x5B
23#define G_CGRAM (char)0x5C
24#define G_CRSFRM (char)0x5D
25
26#define LCD_WC lcd_a1
27#define LCD_RS lcd_a0
28#define LCD_WD lcd_a0
29#define LCD_RD lcd_a1
30
31#define G_PLANE1 (unsigned)0x0000
32#define G_PLANE2 (unsigned)0x2000
33
34#define G_OFF 0 /* off */
35#define G_ON 1 /* on */
36#define G_B2 2 /* blink - FR/32 */
37#define G_B1 3 /* blink - FR/64 */
Note: See TracBrowser for help on using the repository browser.