src/mess/includes/prof180x.h
| r0 | r9702 | |
| 1 | #pragma once |
| 2 | |
| 3 | #ifndef __PROF180X__ |
| 4 | #define __PROF180X__ |
| 5 | |
| 6 | #define HD64180_TAG "hd64180" |
| 7 | #define FDC9268_TAG "fdc9268" |
| 8 | #define FDC9229_TAG "fdc9229" |
| 9 | #define MK3835_TAG "mk3835" |
| 10 | #define SCREEN_TAG "screen" |
| 11 | #define CENTRONICS_TAG "centronics" |
| 12 | |
| 13 | class prof180x_state : public driver_device |
| 14 | { |
| 15 | public: |
| 16 | prof180x_state(running_machine &machine, const driver_device_config_base &config) |
| 17 | : driver_device(machine, config) { } |
| 18 | |
| 19 | virtual void machine_start(); |
| 20 | virtual void machine_reset(); |
| 21 | |
| 22 | virtual void video_start(); |
| 23 | virtual bool video_update(screen_device &screen, bitmap_t &bitmap, const rectangle &cliprect); |
| 24 | |
| 25 | DECLARE_WRITE8_MEMBER( flr_w ); |
| 26 | DECLARE_READ8_MEMBER( status0_r ); |
| 27 | DECLARE_READ8_MEMBER( status1_r ); |
| 28 | DECLARE_READ8_MEMBER( status_r ); |
| 29 | |
| 30 | void bankswitch(); |
| 31 | void ls259_w(int flag, int value); |
| 32 | |
| 33 | int m_c0; |
| 34 | int m_c1; |
| 35 | int m_c2; |
| 36 | int m_mm0; |
| 37 | int m_mm1; |
| 38 | }; |
| 39 | |
| 40 | #endif |