summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/teleprinter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/machine/teleprinter.h')
-rw-r--r--src/mess/machine/teleprinter.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/mess/machine/teleprinter.h b/src/mess/machine/teleprinter.h
deleted file mode 100644
index 0f0cad4c924..00000000000
--- a/src/mess/machine/teleprinter.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// license:BSD-3-Clause
-// copyright-holders:Miodrag Milanovic
-#ifndef __TELEPRINTER_H__
-#define __TELEPRINTER_H__
-
-#include "machine/terminal.h"
-
-#define TELEPRINTER_WIDTH 80
-#define TELEPRINTER_HEIGHT 50
-
-
-/***************************************************************************
- DEVICE CONFIGURATION MACROS
-***************************************************************************/
-#define TELEPRINTER_TAG "teleprinter"
-#define TELEPRINTER_SCREEN_TAG "tty_screen"
-
-#define MCFG_GENERIC_TELEPRINTER_KEYBOARD_CB(_devcb) \
- devcb = &generic_terminal_device::set_keyboard_callback(*device, DEVCB_##_devcb);
-
-/***************************************************************************
- FUNCTION PROTOTYPES
-***************************************************************************/
-
-class teleprinter_device : public generic_terminal_device
-{
-public:
- teleprinter_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- UINT32 tp_update(screen_device &device, bitmap_rgb32 &bitmap, const rectangle &cliprect);
-protected:
- virtual void term_write(UINT8 data);
- virtual void device_reset();
- virtual machine_config_constructor device_mconfig_additions() const;
-private:
- void scroll_line();
- void write_char(UINT8 data);
- void clear();
-};
-
-extern const device_type TELEPRINTER;
-
-#endif /* __TELEPRINTER_H__ */