view lcdemu/globals.c @ 992:a7b0b426f9ca

target-utils: boot ROM UART autodetection revamped The new implementation should work with both the familiar Calypso C035 boot ROM version found in our regular targets as well as the older Calypso F741979B version found on the vintage D-Sample board.
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Wed, 30 Dec 2015 21:28:41 +0000
parents 69623c4cbf6c
children
line wrap: on
line source

/*
 * LCDemu based on HECterm by the same author
 * Definitions of global variables
 */

#include <X11/Xlib.h>
#include <X11/Xresource.h>
#include <X11/Xutil.h>

char *progbasename, *proginstancename;
char *mydisplayname;
Display *mydisplay;
Window mainwindow;
GC mainwingc;
int display_depth;

XrmDatabase xrmdb_defaults, xrmdb_displayres, xrmdb_cmdline;
XrmQuark xrmquark_topclass, xrmquark_topinstance;

XImage *(*convert_function)();