all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob a7099a3379d69e2c3c11feb715e3221d88926952 998 bytes (raw)
name: test/etags/cp-src/screen.hpp 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
 
/* ======================================================================= */
/*                                 SCREEN.H                                */
/* ======================================================================= */

// This stuff is entirely non-portable MSDOS-ish code. Note the hardware
// address below, for the standard location of the EGA video buffer.

#if !defined(__COLORS)
#define __COLORS

enum COLORS {
    BLACK,          /* dark colors */
    BLUE,
    GREEN,
    CYAN,
    RED,
    MAGENTA,
    BROWN,
    LIGHTGRAY,
    DARKGRAY,       /* light colors */
    LIGHTBLUE,
    LIGHTGREEN,
    LIGHTCYAN,
    LIGHTRED,
    LIGHTMAGENTA,
    YELLOW,
    WHITE
};
#endif

#define SCREEN_FP(x,y) \
    ((char far *) (0xB8000000L | ((unsigned) (160 * (y) + 2 * (x)))))
#define SCREEN_START   SCREEN_FP(0, 0)

void goto_xy(unsigned char x, unsigned char y);
void hide_cursor(void);
void cursor_position(void);
void clear_screen(void);
void write_xyc(int x, int y, char c);

debug log:

solving a7099a3379d69e2c3c11feb715e3221d88926952 ...
found a7099a3379d69e2c3c11feb715e3221d88926952 in https://git.savannah.gnu.org/cgit/emacs.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.