source: buchla-68k/include/glcdefs.h@ f7428b1

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

Started to rework include files.

  • Property mode set to 100644
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#pragma once
9
10#define G_INIT (int8_t)0x40
11#define G_MWRITE (int8_t)0x42
12#define G_MREAD (int8_t)0x43
13#define G_SETSAD (int8_t)0x44
14#define G_CRSWR (int8_t)0x46
15#define G_CRSRD (int8_t)0x47
16#define G_CRSMRT (int8_t)0x4C
17#define G_CRSMLT (int8_t)0x4D
18#define G_CRSMUP (int8_t)0x4E
19#define G_CRSMDN (int8_t)0x4F
20#define G_ERASE (int8_t)0x52
21#define G_SLEEP (int8_t)0x53
22#define G_DSPCTL (int8_t)0x58
23#define G_HSCRL (int8_t)0x5A
24#define G_OVRLAY (int8_t)0x5B
25#define G_CGRAM (int8_t)0x5C
26#define G_CRSFRM (int8_t)0x5D
27
28#define LCD_WC lcd_a1
29#define LCD_RS lcd_a0
30#define LCD_WD lcd_a0
31#define LCD_RD lcd_a1
32
33#define G_PLANE1 (uint16_t)0x0000
34#define G_PLANE2 (uint16_t)0x2000
35
36#define G_OFF 0 /* off */
37#define G_ON 1 /* on */
38#define G_B2 2 /* blink - FR/32 */
39#define G_B1 3 /* blink - FR/64 */
Note: See TracBrowser for help on using the repository browser.