src/mess/includes/enterp.h
| r0 | r9794 | |
| 1 | #ifndef __ENTERP_H__ |
| 2 | #define __ENTERP_H__ |
| 3 | |
| 4 | |
| 5 | /* there are 64us per line, although in reality |
| 6 | about 50 are visible. */ |
| 7 | #define ENTERPRISE_SCREEN_WIDTH (50*16) |
| 8 | |
| 9 | /* there are 312 lines per screen, although in reality |
| 10 | about 35*8 are visible */ |
| 11 | #define ENTERPRISE_SCREEN_HEIGHT (35*8) |
| 12 | |
| 13 | |
| 14 | #define NICK_PALETTE_SIZE 256 |
| 15 | |
| 16 | |
| 17 | class ep_state : public driver_device |
| 18 | { |
| 19 | public: |
| 20 | ep_state(running_machine &machine, const driver_device_config_base &config) |
| 21 | : driver_device(machine, config) { } |
| 22 | |
| 23 | UINT8 exdos_card_value; /* state of the wd1770 irq/drq lines */ |
| 24 | UINT8 keyboard_line; /* index of keyboard line to read */ |
| 25 | struct _NICK_STATE *nick; |
| 26 | }; |
| 27 | |
| 28 | |
| 29 | /*----------- defined in video/epnick.c -----------*/ |
| 30 | |
| 31 | PALETTE_INIT( epnick ); |
| 32 | VIDEO_START( epnick ); |
| 33 | VIDEO_UPDATE( epnick ); |
| 34 | |
| 35 | WRITE8_HANDLER( epnick_reg_w ); |
| 36 | |
| 37 | |
| 38 | #endif /* __ENTERP_H__ */ |