Previous 15994 Revisions Next

r4904 Monday 1st June, 2009 at 12:33:41 UTC by Curt Coder
[XEROX820] Added keyboard hack, bank switching, memory maps, devices.
[docs]messnew.txt
[src/mess]mess.mak
[src/mess/drivers]xerox820.c
[src/mess/includes]xerox820.h*

src/mess/includes/xerox820.h
r0r4904
1#ifndef __XEROX820__
2#define __XEROX820__
3
4#define SCREEN_TAG      "screen"
5
6#define Z80_TAG         "u46"
7#define Z80KBPIO_TAG   "u105"
8#define Z80GPPIO_TAG   "u101"
9#define Z80SIO_TAG      "u96"
10#define Z80CTC_TAG      "u99"
11#define WD1771_TAG      "u109"
12#define COM8116_TAG      "u76"
13
14#define XEROX820_LCD_VIDEORAM_SIZE   0x1000
15#define XEROX820_LCD_VIDEORAM_MASK   0x0fff
16
17typedef struct _xerox820_state xerox820_state;
18struct _xerox820_state
19{
20   /* keyboard state */
21   int pbrdy;                     /* key pressed */
22   int keydata;                  /* keyboard data */
23
24   /* video state */
25   UINT8 *video_ram;               /* video RAM */
26   UINT8 *char_rom;               /* character ROM */
27   UINT8 scroll;                  /* vertical scroll */
28   int ncset2;                     /* national character set */
29
30   /* floppy state */
31   int fdc_irq;                  /* interrupt request */
32   int fdc_drq;                  /* data request */
33   int _8n5;                     /* 5.25" / 8" drive select */
34   int dsdd;                     /* double sided disk detect */
35
36   /* devices */
37   const device_config *kbpio;
38   const device_config *z80ctc;
39   const device_config *com8116;
40   const device_config *wd1771;
41};
42
43#endif
src/mess/mess.mak
r4903r4904
371371   $(MESSOBJ)/votrax.a \
372372   $(MESSOBJ)/vtech.a \
373373   $(MESSOBJ)/z80ne.a \
374   $(MESSOBJ)/xerox.a \
374375   $(MESSOBJ)/shared.a \
375376
376377
r4903r4904
13711372   $(MESS_DRIVERS)/h8.o \
13721373   $(MESS_DRIVERS)/h19.o \
13731374   $(MESS_DRIVERS)/h89.o \
1375   
1376$(MESSOBJ)/xerox.a: \
1377   $(MESS_DRIVERS)/xerox820.o \
13741378
13751379$(MESSOBJ)/skeleton.a: \
13761380   $(MESS_DRIVERS)/a6809.o \
r4903r4904
14031407   $(MESS_DRIVERS)/tiki100.o \
14041408   $(MESS_DRIVERS)/vcs80.o \
14051409   $(MESS_DRIVERS)/v1050.o \
1406   $(MESS_DRIVERS)/xerox820.o \
14071410   $(MESS_DRIVERS)/xor100.o \
14081411   $(MESS_DRIVERS)/iq151.o \
14091412   $(MESS_DRIVERS)/pc6001.o \
src/mess/drivers/xerox820.c
r4903r4904
44
55        12/05/2009 Skeleton driver.
66
7   The incoming key is expected to be placed at FF30 (might be interrupt driven)
87
98****************************************************************************/
109
10/*
11
12   TODO:
13
14   - floppy
15   - add xtals.h
16   - baud A/B (COM8116 chip)
17   - type in Monitor v1.0 from manual
18   - proper keyboard emulation (MCU?)
19
20   http://users.telenet.be/lust/Xerox820/index.htm
21   http://www.classiccmp.org/dunfield/img41867/system.htm
22   http://www.microcodeconsulting.com/z80/plus2.htm
23
24*/
25
1126#include "driver.h"
27#include "includes/xerox820.h"
1228#include "cpu/z80/z80.h"
29#include "cpu/z80/z80daisy.h"
30#include "machine/z80pio.h"
31#include "machine/z80ctc.h"
32#include "machine/z80sio.h"
33#include "machine/wd17xx.h"
34#include "devices/basicdsk.h"
1335
14static const UINT8 *FNT;
36INLINE const device_config *get_floppy_image(running_machine *machine, int drive)
37{
38   return image_from_devtype_and_index(machine, IO_FLOPPY, drive);
39}
1540
16static READ8_HANDLER( xerox820_videoram_r )
41/* Keyboard HACK */
42
43static const UINT8 xerox820_keycodes[3][9][8] =
1744{
18   return videoram[offset];
45   /* unshifted */
46   {
47   { 0x1e, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37 },
48   { 0x38, 0x39, 0x30, 0x2d, 0x3d, 0x08, 0x7f, 0x2d },
49   { 0x37, 0x38, 0x39, 0x09, 0x71, 0x77, 0x65, 0x72 },
50   { 0x74, 0x79, 0x75, 0x69, 0x6f, 0x70, 0x5b, 0x5d },
51   { 0x1b, 0x2b, 0x34, 0x35, 0x36, 0x61, 0x73, 0x64 },
52   { 0x66, 0x67, 0x68, 0x6a, 0x6b, 0x6c, 0x3b, 0x27 },
53   { 0x0d, 0x0a, 0x01, 0x31, 0x32, 0x33, 0x7a, 0x78 },
54   { 0x63, 0x76, 0x62, 0x6e, 0x6d, 0x2c, 0x2e, 0x2f },
55   { 0x04, 0x02, 0x03, 0x30, 0x2e, 0x20, 0x00, 0x00 }
56   },
57
58   /* shifted */
59   {
60   { 0x1e, 0x21, 0x40, 0x23, 0x24, 0x25, 0x5e, 0x26 },
61   { 0x2a, 0x28, 0x29, 0x5f, 0x2b, 0x08, 0x7f, 0x2d },
62   { 0x37, 0x38, 0x39, 0x09, 0x51, 0x57, 0x45, 0x52 },
63   { 0x54, 0x59, 0x55, 0x49, 0x4f, 0x50, 0x7b, 0x7d },
64   { 0x1b, 0x2b, 0x34, 0x35, 0x36, 0x41, 0x53, 0x44 },
65   { 0x46, 0x47, 0x48, 0x4a, 0x4b, 0x4c, 0x3a, 0x22 },
66   { 0x0d, 0x0a, 0x01, 0x31, 0x32, 0x33, 0x5a, 0x58 },
67   { 0x43, 0x56, 0x42, 0x4e, 0x4d, 0x3c, 0x3e, 0x3f },
68   { 0x04, 0x02, 0x03, 0x30, 0x2e, 0x20, 0x00, 0x00 }
69   },
70
71   /* control */
72   {
73   { 0x9e, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97 },
74   { 0x98, 0x99, 0x90, 0x1f, 0x0a, 0x88, 0xff, 0xad },
75   { 0xb7, 0xb8, 0xb9, 0x89, 0x11, 0x17, 0x05, 0x12 },
76   { 0x14, 0x19, 0x15, 0x09, 0x0f, 0x10, 0x1b, 0x1d },
77   { 0x9b, 0xab, 0xb4, 0xb5, 0xb6, 0x01, 0x13, 0x04 },
78   { 0x06, 0x07, 0x08, 0x0a, 0x0b, 0x0c, 0x7e, 0x60 },
79   { 0x8d, 0x8a, 0x81, 0xb1, 0xb2, 0xb3, 0x1a, 0x18 },
80   { 0x03, 0x16, 0x02, 0x0e, 0x0d, 0x1c, 0x7c, 0x5c },
81   { 0x84, 0x82, 0x83, 0xb0, 0xae, 0x00, 0x00, 0x00 }
82   }
83};
84
85static void xerox820_keyboard_scan(running_machine *machine)
86{
87   xerox820_state *state = machine->driver_data;
88
89   static const char *const keynames[] = { "ROW0", "ROW1", "ROW2", "ROW3", "ROW4", "ROW5", "ROW6", "ROW7", "ROW8" };
90   int table = 0, row, col;
91   int keydata = -1;
92
93   if (input_port_read(machine, "ROW9") & 0x07)
94   {
95      /* shift, upper case */
96      table = 1;
97   }
98
99   if (input_port_read(machine, "ROW9") & 0x18)
100   {
101      /* ctrl */
102      table = 2;
103   }
104
105   /* scan keyboard */
106   for (row = 0; row < 9; row++)
107   {
108      UINT8 data = input_port_read(machine, keynames[row]);
109
110      for (col = 0; col < 8; col++)
111      {
112         if (!BIT(data, col))
113         {
114            /* latch key data */
115            keydata = ~xerox820_keycodes[table][row][col];
116           
117            if (state->keydata != keydata)
118            {
119               state->keydata = keydata;
120               //z80pio_bstb_w(state->kbpio, 0);
121               //z80pio_bstb_w(state->kbpio, 1);
122               z80pio_p_w(state->kbpio, 1, state->keydata);
123            }
124         }
125      }
126   }
127
128   state->keydata = keydata;
19129}
20130
21static WRITE8_HANDLER( xerox820_videoram_w )
131static TIMER_DEVICE_CALLBACK( xerox820_keyboard_tick )
22132{
23   videoram[offset] = data;
133   xerox820_keyboard_scan(timer->machine);
24134}
25135
26static ADDRESS_MAP_START(xerox820_mem, ADDRESS_SPACE_PROGRAM, 8)
136/* Read/Write Handlers */
137
138static void xerox820_bankswitch(running_machine *machine, int bank)
139{
140   const address_space *program = cputag_get_address_space(machine, Z80_TAG, ADDRESS_SPACE_PROGRAM);
141
142   if (bank)
143   {
144      /* ROM */
145      memory_install_readwrite8_handler(program, 0x0000, 0x0fff, 0, 0, SMH_BANK(1), SMH_UNMAP);
146   }
147   else
148   {
149      /* RAM */
150      memory_install_readwrite8_handler(program, 0x0000, 0x0fff, 0, 0, SMH_BANK(1), SMH_BANK(1));
151   }
152
153   memory_install_readwrite8_handler(program, 0x3000, 0x3fff, 0, 0, SMH_BANK(2), SMH_BANK(2));
154
155   memory_set_bank(machine, 1, bank);
156   memory_set_bank(machine, 2, bank);
157}
158
159static READ8_DEVICE_HANDLER(z80pio_alt_r)
160{
161   int channel = BIT(offset, 1);
162   return (offset & 1) ? z80pio_c_r(device, channel) : z80pio_d_r(device, channel);
163}
164
165static WRITE8_DEVICE_HANDLER(z80pio_alt_w)
166{
167   int channel = BIT(offset, 1);
168   if (offset & 1)
169      z80pio_c_w(device, channel, data);
170   else
171      z80pio_d_w(device, channel, data);
172}
173
174static WRITE8_HANDLER( bauda_w )
175{
176//   xerox820_state *state = space->machine->driver_data;
177
178//   com8116_str_w(state->com8116, data & 0x0f);
179}
180
181static WRITE8_HANDLER( baudb_w )
182{
183//   xerox820_state *state = space->machine->driver_data;
184
185//   com8116_stt_w(state->com8116, data & 0x0f);
186}
187
188static WRITE8_HANDLER( scroll_w )
189{
190   xerox820_state *state = space->machine->driver_data;
191
192   state->scroll = data;
193}
194
195/* Memory Maps */
196
197static ADDRESS_MAP_START( xerox820_mem, ADDRESS_SPACE_PROGRAM, 8 )
27198   ADDRESS_MAP_UNMAP_HIGH
28   AM_RANGE( 0x0000, 0x0fff ) AM_ROM
29   AM_RANGE( 0x1000, 0x2fff ) AM_RAM
30   AM_RANGE( 0x3000, 0x3bff ) AM_READWRITE(xerox820_videoram_r,xerox820_videoram_w) AM_SIZE(&videoram_size) AM_BASE(&videoram)
31   AM_RANGE( 0x3c00, 0xffff ) AM_RAM
199   AM_RANGE(0x0000, 0x0fff) AM_RAMBANK(1)
200   AM_RANGE(0x1000, 0x2fff) AM_RAM
201   AM_RANGE(0x3000, 0x3fff) AM_RAMBANK(2)
202   AM_RANGE(0x4000, 0xffff) AM_RAM
32203ADDRESS_MAP_END
33204
34static ADDRESS_MAP_START( xerox820_io , ADDRESS_SPACE_IO, 8)
35   ADDRESS_MAP_UNMAP_HIGH
205static ADDRESS_MAP_START( xerox820_io, ADDRESS_SPACE_IO, 8 )
36206   ADDRESS_MAP_GLOBAL_MASK(0xff)
37/* IN 1C, OUT 7,C,14,18,1A,1B,1C,1D,1F */
207   AM_RANGE(0x00, 0x00) AM_MIRROR(0x03) AM_WRITE(bauda_w)
208   AM_RANGE(0x04, 0x04) AM_MIRROR(0x02) AM_DEVREADWRITE(Z80SIO_TAG, z80sio_d_r, z80sio_d_w)
209   AM_RANGE(0x05, 0x05) AM_MIRROR(0x02) AM_DEVREADWRITE(Z80SIO_TAG, z80sio_c_r, z80sio_c_w)
210   AM_RANGE(0x08, 0x0b) AM_DEVREADWRITE(Z80GPPIO_TAG, z80pio_alt_r, z80pio_alt_w)
211   AM_RANGE(0x0c, 0x0c) AM_MIRROR(0x03) AM_WRITE(baudb_w)
212   AM_RANGE(0x10, 0x13) AM_DEVREADWRITE(WD1771_TAG, wd17xx_r, wd17xx_w)
213   AM_RANGE(0x14, 0x14) AM_MIRROR(0x03) AM_WRITE(scroll_w)
214   AM_RANGE(0x18, 0x1b) AM_DEVREADWRITE(Z80CTC_TAG, z80ctc_r, z80ctc_w)
215   AM_RANGE(0x1c, 0x1f) AM_DEVREADWRITE(Z80KBPIO_TAG, z80pio_alt_r, z80pio_alt_w)
38216ADDRESS_MAP_END
39217
40/* Input ports */
41INPUT_PORTS_START( xerox820 )
218/* Input Ports */
219
220static INPUT_PORTS_START( xerox820 )
221   PORT_START("ROW0")
222   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("HELP") PORT_CODE(KEYCODE_TILDE)
223   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_1) PORT_CHAR('1') PORT_CHAR('!')
224   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_2) PORT_CHAR('2') PORT_CHAR('@')
225   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_3) PORT_CHAR('3') PORT_CHAR('#')
226   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_4) PORT_CHAR('4') PORT_CHAR('$')
227   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_5) PORT_CHAR('5') PORT_CHAR('%')
228   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_6) PORT_CHAR('6') PORT_CHAR('^')
229   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_7) PORT_CHAR('7') PORT_CHAR('&')
230
231   PORT_START("ROW1")
232   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_8) PORT_CHAR('8') PORT_CHAR('*')
233   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_9) PORT_CHAR('9') PORT_CHAR('(')
234   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_0) PORT_CHAR('0') PORT_CHAR(')')
235   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_MINUS) PORT_CHAR('-') PORT_CHAR('_')
236   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_EQUALS) PORT_CHAR('=') PORT_CHAR('+')
237   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("BACKSPACE") PORT_CODE(KEYCODE_BACKSPACE) PORT_CHAR(8)
238   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("DEL") PORT_CODE(KEYCODE_DEL)
239   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad -") PORT_CODE(KEYCODE_MINUS_PAD)
240
241   PORT_START("ROW2")
242   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 7") PORT_CODE(KEYCODE_7_PAD)
243   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 8") PORT_CODE(KEYCODE_8_PAD)
244   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 9") PORT_CODE(KEYCODE_9_PAD)
245   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("TAB") PORT_CODE(KEYCODE_TAB) PORT_CHAR('\t')
246   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_Q) PORT_CHAR('q') PORT_CHAR('Q')
247   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_W) PORT_CHAR('w') PORT_CHAR('W')
248   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_E) PORT_CHAR('e') PORT_CHAR('E')
249   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_R) PORT_CHAR('r') PORT_CHAR('R')
250   
251   PORT_START("ROW3")
252   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_T) PORT_CHAR('t') PORT_CHAR('T')
253   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_Y) PORT_CHAR('y') PORT_CHAR('Y')
254   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_U) PORT_CHAR('u') PORT_CHAR('U')
255   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_I) PORT_CHAR('i') PORT_CHAR('I')
256   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_O) PORT_CHAR('o') PORT_CHAR('O')
257   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_P) PORT_CHAR('p') PORT_CHAR('P')
258   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_OPENBRACE) PORT_CHAR('[') PORT_CHAR('{')
259   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_CLOSEBRACE) PORT_CHAR(']') PORT_CHAR('}')
260   
261   PORT_START("ROW4")
262   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("ESC") PORT_CODE(KEYCODE_ESC) PORT_CHAR(UCHAR_MAMEKEY(ESC))
263   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad +") PORT_CODE(KEYCODE_PLUS_PAD)
264   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 4") PORT_CODE(KEYCODE_4_PAD)
265   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 5") PORT_CODE(KEYCODE_5_PAD)
266   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 6") PORT_CODE(KEYCODE_6_PAD)
267   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_A) PORT_CHAR('a') PORT_CHAR('A')
268   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_S) PORT_CHAR('s') PORT_CHAR('S')
269   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_D) PORT_CHAR('d') PORT_CHAR('D')
270   
271   PORT_START("ROW5")
272   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_F) PORT_CHAR('f') PORT_CHAR('F')
273   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_G) PORT_CHAR('g') PORT_CHAR('G')
274   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_H) PORT_CHAR('h') PORT_CHAR('H')
275   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_J) PORT_CHAR('j') PORT_CHAR('J')
276   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_K) PORT_CHAR('k') PORT_CHAR('K')
277   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_L) PORT_CHAR('l') PORT_CHAR('L')
278   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_COLON) PORT_CHAR(';') PORT_CHAR(':')
279   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_QUOTE) PORT_CHAR('\'') PORT_CHAR('"')
280   
281   PORT_START("ROW6")
282   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("RETURN") PORT_CODE(KEYCODE_ENTER) PORT_CHAR('\r')
283   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("LINE FEED") PORT_CODE(KEYCODE_ENTER_PAD)
284   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("\xE2\x86\x91") PORT_CODE(KEYCODE_UP) PORT_CHAR(UCHAR_MAMEKEY(UP))
285   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 1") PORT_CODE(KEYCODE_1_PAD)
286   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 2") PORT_CODE(KEYCODE_2_PAD)
287   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 3") PORT_CODE(KEYCODE_3_PAD)
288   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_Z) PORT_CHAR('z') PORT_CHAR('Z')
289   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_X) PORT_CHAR('x') PORT_CHAR('X')
290   
291   PORT_START("ROW7")
292   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_C) PORT_CHAR('c') PORT_CHAR('C')
293   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_V) PORT_CHAR('v') PORT_CHAR('V')
294   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_B) PORT_CHAR('b') PORT_CHAR('B')
295   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_N) PORT_CHAR('n') PORT_CHAR('N')
296   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_M) PORT_CHAR('m') PORT_CHAR('M')
297   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_COMMA) PORT_CHAR(',') PORT_CHAR('<')
298   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_STOP) PORT_CHAR('.') PORT_CHAR('>')
299   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_SLASH) PORT_CHAR('/') PORT_CHAR('?')
300   
301   PORT_START("ROW8")
302   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("\xE2\x86\x90") PORT_CODE(KEYCODE_LEFT) PORT_CHAR(UCHAR_MAMEKEY(LEFT))
303   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("\xE2\x86\x93") PORT_CODE(KEYCODE_DOWN) PORT_CHAR(UCHAR_MAMEKEY(DOWN))
304   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("\xE2\x86\x92") PORT_CODE(KEYCODE_RIGHT) PORT_CHAR(UCHAR_MAMEKEY(RIGHT))
305   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 0") PORT_CODE(KEYCODE_0_PAD)
306   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad .") PORT_CODE(KEYCODE_ASTERISK)
307   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("SPACE") PORT_CODE(KEYCODE_SPACE) PORT_CHAR(' ')
308   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD )
309   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD )
310
311   PORT_START("ROW9")
312   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("LOCK") PORT_CODE(KEYCODE_CAPSLOCK) PORT_TOGGLE
313   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("LEFT SHIFT") PORT_CODE(KEYCODE_LSHIFT) PORT_CHAR(UCHAR_SHIFT_1)
314   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("RIGHT SHIFT") PORT_CODE(KEYCODE_RSHIFT)
315   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("LEFT CTRL") PORT_CODE(KEYCODE_LCONTROL) PORT_CHAR(UCHAR_MAMEKEY(LCONTROL))
316   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("RIGHT CTRL") PORT_CODE(KEYCODE_RCONTROL) PORT_CHAR(UCHAR_MAMEKEY(RCONTROL))
42317INPUT_PORTS_END
43318
319/* Z80 PIO */
44320
45static MACHINE_RESET(xerox820)
321static WRITE_LINE_DEVICE_HANDLER( z80daisy_interrupt )
46322{
323   cputag_set_input_line(device->machine, Z80_TAG, INPUT_LINE_IRQ0, state);
47324}
48325
326static WRITE_LINE_DEVICE_HANDLER( xerox820_pio_pbrdy_w )
327{
328   xerox820_state *driver_state = device->machine->driver_data;
329
330   driver_state->pbrdy = state;
331}
332
333static READ8_DEVICE_HANDLER( xerox820_pio_port_a_r )
334{
335   /*
336
337      bit      signal         description
338
339      0
340      1
341      2
342      3      PBRDY         keyboard data available
343      4      R/W5         8"/5.25" disk select (0=5.25", 1=8")
344      5      400/460         double sided disk detect (only on Etch 2 PCB) (0=SS, 1=DS)
345      6
346      7
347
348   */
349
350   xerox820_state *state = device->machine->driver_data;
351
352   return (state->dsdd << 5) | (state->_8n5 << 4) | (state->pbrdy << 3);
353};
354
355static WRITE8_DEVICE_HANDLER( xerox820_pio_port_a_w )
356{
357   /*
358
359      bit      signal         description
360
361      0      _DVSEL1         drive select 1
362      1      _DVSEL2         drive select 2
363      2                  side select
364      3     
365      4     
366      5
367      6      NCSET2         display character set (inverted and connected to chargen A10)
368      7      BANK         bank switching (0=RAM, 1=ROM/videoram)
369
370   */
371
372   xerox820_state *state = device->machine->driver_data;
373
374   /* drive select */
375   wd17xx_set_drive(state->wd1771, data & 0x03);
376
377   floppy_drive_set_motor_state(get_floppy_image(device->machine, 0), 1);
378   floppy_drive_set_motor_state(get_floppy_image(device->machine, 1), 1);
379   floppy_drive_set_ready_state(get_floppy_image(device->machine, 0), 1, 0);
380   floppy_drive_set_ready_state(get_floppy_image(device->machine, 1), 1, 0);
381
382   /* side select */
383   wd17xx_set_side(state->wd1771, BIT(data, 2));
384
385   /* display character set */
386   state->ncset2 = !BIT(data, 6);
387
388   /* bank switching */
389   xerox820_bankswitch(device->machine, BIT(data, 7));
390   
391   logerror("PA %02x\n", data);
392};
393
394static READ8_DEVICE_HANDLER( xerox820_pio_port_b_r )
395{
396   /*
397
398      bit      description
399
400      0      KB0
401      1      KB1
402      2      KB2
403      3      KB3
404      4      KB4
405      5      KB5
406      6      KB6
407      7      KB7
408
409   */
410
411   xerox820_state *state = device->machine->driver_data;
412
413   return state->keydata;
414};
415
416static const z80pio_interface kbpio_intf =
417{
418   DEVCB_LINE(z80daisy_interrupt),            /* callback when change interrupt status */
419   DEVCB_HANDLER(xerox820_pio_port_a_r),      /* port A read callback */
420   DEVCB_HANDLER(xerox820_pio_port_b_r),      /* port B read callback */
421   DEVCB_HANDLER(xerox820_pio_port_a_w),      /* port A write callback */
422   DEVCB_NULL,                           /* port B write callback */
423   DEVCB_NULL,                           /* portA ready active callback */
424   DEVCB_LINE(xerox820_pio_pbrdy_w)         /* portB ready active callback */
425};
426
427static const z80pio_interface gppio_intf =
428{
429   DEVCB_LINE(z80daisy_interrupt),   /* callback when change interrupt status */
430   DEVCB_NULL,      /* port A read callback */
431   DEVCB_NULL,      /* port B read callback */
432   DEVCB_NULL,      /* port A write callback */
433   DEVCB_NULL,      /* port B write callback */
434   DEVCB_NULL,      /* portA ready active callback */
435   DEVCB_NULL      /* portB ready active callback */
436};
437
438/* Z80 SIO */
439
440static const z80sio_interface sio_intf =
441{
442   z80daisy_interrupt,      /* interrupt handler */
443   NULL,            /* DTR changed handler */
444   NULL,            /* RTS changed handler */
445   NULL,            /* BREAK changed handler */
446   NULL,            /* transmit handler */
447   NULL            /* receive handler */
448};
449
450/* Z80 CTC */
451
452static TIMER_DEVICE_CALLBACK( ctc_tick )
453{
454   xerox820_state *state = timer->machine->driver_data;
455
456   z80ctc_trg_w(state->z80ctc, 0, 1);
457   z80ctc_trg_w(state->z80ctc, 0, 0);
458}
459
460static WRITE8_DEVICE_HANDLER( ctc_z0_w )
461{
462//   z80ctc_trg_w(device, 1, data);
463}
464
465static WRITE8_DEVICE_HANDLER( ctc_z1_w )
466{
467   z80ctc_trg_w(device, 2, data);
468}
469
470static WRITE8_DEVICE_HANDLER( ctc_z2_w )
471{
472//   z80ctc_trg_w(device, 3, data);
473}
474
475static const z80ctc_interface ctc_intf =
476{
477   0,                 /* timer disables */
478   z80daisy_interrupt,   /* interrupt handler */
479   ctc_z0_w,         /* ZC/TO0 callback */
480   ctc_z1_w,         /* ZC/TO1 callback */
481   ctc_z2_w          /* ZC/TO2 callback */
482};
483
484/* Z80 Daisy Chain */
485
486static const z80_daisy_chain xerox820_daisy_chain[] =
487{
488   { Z80SIO_TAG },
489   { Z80KBPIO_TAG },
490   { Z80GPPIO_TAG },
491   { Z80CTC_TAG },
492   { NULL }
493};
494
495/* WD1771 Interface */
496
497static WD17XX_CALLBACK( wd1771_callback )
498{
499   xerox820_state *driver_state = device->machine->driver_data;
500
501   int halt = cpu_get_reg(cputag_get_cpu(device->machine, Z80_TAG), Z80_HALT);
502
503   switch (state)
504   {
505   case WD17XX_IRQ_CLR: driver_state->fdc_irq = 0; break;
506   case WD17XX_IRQ_SET: driver_state->fdc_irq = 1; break;
507   case WD17XX_DRQ_CLR: driver_state->fdc_drq = 0; break;
508   case WD17XX_DRQ_SET: driver_state->fdc_drq = 1; break;
509   }
510
511   logerror("halt %u FDC IRQ %u DRQ %u\n", halt, driver_state->fdc_irq, driver_state->fdc_drq);
512
513   if (halt && (driver_state->fdc_irq | driver_state->fdc_drq))
514   {
515      cputag_set_input_line(device->machine, Z80_TAG, INPUT_LINE_NMI, ASSERT_LINE);
516   }
517   else
518   {
519      cputag_set_input_line(device->machine, Z80_TAG, INPUT_LINE_NMI, CLEAR_LINE);
520   }
521}
522
523static const wd17xx_interface wd1771_intf =
524{
525   wd1771_callback,
526   NULL
527};
528
529/* Video */
530
49531static VIDEO_START( xerox820 )
50532{
51   FNT = memory_region(machine, "gfx1");
533   xerox820_state *state = machine->driver_data;
534
535   /* find memory regions */
536   state->char_rom = memory_region(machine, "chargen");
52537}
53538
54539static VIDEO_UPDATE( xerox820 )
55540{
541   xerox820_state *state = screen->machine->driver_data;
542
56543   static UINT8 framecnt=0;
57544   UINT8 y,ra,chr,gfx;
58   UINT16 sy=0,ma=0,x;
545   UINT16 sy=0,ma=(state->scroll + 1) * 0x80,x;
59546
60547   framecnt++;
61548
62549   for (y = 0; y < 24; y++)
63550   {
551      if (ma > 0xb80) ma = 0;
552
64553      for (ra = 0; ra < 10; ra++)
65554      {
66         UINT16 *p = BITMAP_ADDR16(bitmap, sy++, 0);
555         UINT16 *p = BITMAP_ADDR16(bitmap, sy++, 0);
67556
68557         for (x = ma; x < ma + 80; x++)
69558         {
70559            if (ra < 8)
71560            {
72               chr = videoram[x]^0x80;
561               chr = state->video_ram[x & XEROX820_LCD_VIDEORAM_MASK] ^ 0x80;
73562
74563               /* Take care of flashing characters */
75564               if ((chr < 0x80) && (framecnt & 0x08))
76565                  chr |= 0x80;
77566
78567               /* get pattern of pixels for that character scanline */
79               gfx = FNT[(chr<<3) | ra ];
568               gfx = state->char_rom[(state->ncset2 << 10) | (chr<<3) | ra ];
80569            }
81570            else
82571               gfx = 0xff;
r4903r4904
96585   return 0;
97586}
98587
588/* Machine Initialization */
589
590static MACHINE_START( xerox820 )
591{
592   xerox820_state *state = machine->driver_data;
593
594   /* find devices */
595   state->kbpio = devtag_get_device(machine, Z80KBPIO_TAG);
596   state->z80ctc = devtag_get_device(machine, Z80CTC_TAG);
597   state->wd1771 = devtag_get_device(machine, WD1771_TAG);
598//   state->com8116 = devtag_get_device(machine, COM8116_TAG);
599
600   /* allocate video memory */
601   state->video_ram = auto_alloc_array(machine, UINT8, XEROX820_LCD_VIDEORAM_SIZE);
602
603   /* setup memory banking */
604   memory_configure_bank(machine, 1, 0, 1, memory_region(machine, Z80_TAG), 0);
605   memory_configure_bank(machine, 1, 1, 1, memory_region(machine, "monitor"), 0);
606
607   memory_configure_bank(machine, 2, 0, 1, memory_region(machine, Z80_TAG) + 0x3000, 0);
608   memory_configure_bank(machine, 2, 1, 1, state->video_ram, 0);
609
610   /* bank switch */
611   xerox820_bankswitch(machine, 1);
612
613   /* register for state saving */
614   state_save_register_global_pointer(machine, state->video_ram, XEROX820_LCD_VIDEORAM_SIZE);
615   state_save_register_global(machine, state->pbrdy);
616   state_save_register_global(machine, state->keydata);
617   state_save_register_global(machine, state->scroll);
618   state_save_register_global(machine, state->ncset2);
619   state_save_register_global(machine, state->fdc_irq);
620   state_save_register_global(machine, state->fdc_drq);
621   state_save_register_global(machine, state->_8n5);
622   state_save_register_global(machine, state->dsdd);
623}
624
625/* Machine Drivers */
626
99627static MACHINE_DRIVER_START( xerox820 )
628   MDRV_DRIVER_DATA(xerox820_state)
629
100630    /* basic machine hardware */
101    MDRV_CPU_ADD("maincpu",Z80, XTAL_4MHz)
631    MDRV_CPU_ADD(Z80_TAG, Z80, XTAL_20MHz/8)
102632    MDRV_CPU_PROGRAM_MAP(xerox820_mem)
103633    MDRV_CPU_IO_MAP(xerox820_io)
634   MDRV_CPU_CONFIG(xerox820_daisy_chain)
104635
105    MDRV_MACHINE_RESET(xerox820)
636    MDRV_MACHINE_START(xerox820)
106637
107638    /* video hardware */
108    MDRV_SCREEN_ADD("screen", RASTER)
109    MDRV_SCREEN_REFRESH_RATE(50)
110    MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
111    MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
112   MDRV_SCREEN_SIZE(80*7, 24*10)
113   MDRV_SCREEN_VISIBLE_AREA(0,80*7-1,0,24*10-1)
114    MDRV_PALETTE_LENGTH(2)
639    MDRV_SCREEN_ADD(SCREEN_TAG, RASTER)
640   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
641   MDRV_SCREEN_RAW_PARAMS(10694250, 700, 0, 560, 260, 0, 240)
642
643   MDRV_PALETTE_LENGTH(2)
115644    MDRV_PALETTE_INIT(black_and_white)
116645
117646    MDRV_VIDEO_START(xerox820)
118647    MDRV_VIDEO_UPDATE(xerox820)
648
649   /* keyboard */
650   MDRV_TIMER_ADD_PERIODIC("keyboard", xerox820_keyboard_tick, HZ(60))
651   MDRV_TIMER_ADD_PERIODIC("ctc", ctc_tick, HZ(XTAL_20MHz/8))
652
653   /* devices */
654   MDRV_Z80SIO_ADD(Z80SIO_TAG, XTAL_20MHz/8, sio_intf)
655   MDRV_Z80PIO_ADD(Z80KBPIO_TAG, kbpio_intf)
656   MDRV_Z80PIO_ADD(Z80GPPIO_TAG, gppio_intf)
657   MDRV_Z80CTC_ADD(Z80CTC_TAG, XTAL_20MHz/8, ctc_intf)
658   MDRV_WD177X_ADD(WD1771_TAG, wd1771_intf)
659//   MDRV_COM8116_ADD(COM8116_TAG, 5068800, com8116_intf)
119660MACHINE_DRIVER_END
120661
121static SYSTEM_CONFIG_START(xerox820)
122SYSTEM_CONFIG_END
662static MACHINE_DRIVER_START( xerox820ii )
663//  MDRV_CPU_ADD(Z80_TAG, Z80, XTAL_16MHz/4)
664MACHINE_DRIVER_END
123665
124/* ROM definition */
666/* ROMs */
667
125668ROM_START( xerox820 )
126   ROM_REGION( 0x10000, "maincpu", 0 )
127   ROM_LOAD( "x820_u64.bin", 0x0000, 0x0800, CRC(2fc227e2) SHA1(b4ea0ae23d281a687956e8a514cb364a1372678e))
128   ROM_LOAD( "x820_u63.bin", 0x0800, 0x0800, CRC(bc11f834) SHA1(4fd2b209a6e6ff9b0c41800eb5228c34a0d7f7ef))
669   ROM_REGION( 0x10000, Z80_TAG, ROMREGION_ERASE00 )
129670
130   ROM_REGION( 0x800, "gfx1", 0 )
131   ROM_LOAD( "x820_u92.bin", 0x0000, 0x0800, CRC(b823fa98) SHA1(ad0ea346aa257a53ad5701f4201896a2b3a0f928))
671   ROM_REGION( 0x1000, "monitor", 0 )
672   ROM_DEFAULT_BIOS( "v20" )
673   ROM_SYSTEM_BIOS( 0, "v10", "Monitor v1.0" )
674   ROMX_LOAD( "x820v10.u64", 0x0000, 0x0800, NO_DUMP, ROM_BIOS(1) )
675   ROMX_LOAD( "x820v10.u63", 0x0800, 0x0800, NO_DUMP, ROM_BIOS(1) )
676   ROM_SYSTEM_BIOS( 1, "v20", "Monitor v2.0" )
677   ROMX_LOAD( "x820v20.u64", 0x0000, 0x0800, CRC(2fc227e2) SHA1(b4ea0ae23d281a687956e8a514cb364a1372678e), ROM_BIOS(2) )
678   ROMX_LOAD( "x820v20.u63", 0x0800, 0x0800, CRC(bc11f834) SHA1(4fd2b209a6e6ff9b0c41800eb5228c34a0d7f7ef), ROM_BIOS(2) )
679
680   ROM_REGION( 0x800, "chargen", 0 )
681   ROM_LOAD( "x820.u92", 0x0000, 0x0800, CRC(b823fa98) SHA1(ad0ea346aa257a53ad5701f4201896a2b3a0f928) )
132682ROM_END
133683
134/* Driver */
684ROM_START( xerox820ii )
685   ROM_REGION( 0x10000, Z80_TAG, ROMREGION_ERASE00 )
135686
136/*    YEAR  NAME    PARENT  COMPAT   MACHINE    INPUT    INIT    CONFIG COMPANY   FULLNAME       FLAGS */
137COMP( ????, xerox820,  0,       0,    xerox820,    xerox820,     0,       xerox820,      "Xerox",   "Xerox 820",      GAME_NOT_WORKING)
687   ROM_REGION( 0x2000, "monitor", 0 )
688   ROM_LOAD( "x820ii.u33", 0x0000, 0x0800, NO_DUMP )
689   ROM_LOAD( "x820ii.u34", 0x0800, 0x0800, NO_DUMP )
690   ROM_LOAD( "x820ii.u35", 0x1000, 0x0800, NO_DUMP )
691   ROM_LOAD( "x820ii.u36", 0x1800, 0x0800, NO_DUMP )
138692
693   ROM_REGION( 0x800, "chargen", 0 )
694   ROM_LOAD( "x820ii.u58", 0x0000, 0x0800, NO_DUMP )
695ROM_END
696
697/* System Configuration */
698
699static DEVICE_IMAGE_LOAD( xerox820_floppy )
700{
701   xerox820_state *state = image->machine->driver_data;
702
703   if (image_has_been_created(image))
704   {
705      return INIT_FAIL;
706   }
707
708   if (device_load_basicdsk_floppy(image) == INIT_PASS)
709   {
710      switch (image_length(image))
711      {
712      case 77*1*26*128: // 250K 8" SSSD
713         basicdsk_set_geometry(image, 77, 1, 26, 128, 0, 0, FALSE);
714         state->_8n5 = 1;
715         state->dsdd = 0;
716         return INIT_PASS;
717
718      case 77*1*26*256: // 500K 8" SSDD
719         basicdsk_set_geometry(image, 77, 1, 26, 256, 0, 0, FALSE);
720         state->_8n5 = 1;
721         state->dsdd = 0;
722         return INIT_PASS;
723      }
724   }
725
726   return INIT_FAIL;
727}
728
729static void xerox820_floppy_getinfo(const mess_device_class *devclass, UINT32 state, union devinfo *info)
730{
731   /* floppy */
732   switch(state)
733   {
734      /* --- the following bits of info are returned as 64-bit signed integers --- */
735      case MESS_DEVINFO_INT_COUNT:                  info->i = 2; break;
736
737      /* --- the following bits of info are returned as pointers to data or functions --- */
738      case MESS_DEVINFO_PTR_LOAD:                     info->load = DEVICE_IMAGE_LOAD_NAME(xerox820_floppy); break;
739
740      /* --- the following bits of info are returned as NULL-terminated strings --- */
741      case MESS_DEVINFO_STR_FILE_EXTENSIONS:            strcpy(info->s = device_temp_str(), "dsk"); break;
742
743      default:                                 legacybasicdsk_device_getinfo(devclass, state, info); break;
744   }
745}
746
747static SYSTEM_CONFIG_START( xerox820 )
748   CONFIG_RAM_DEFAULT   (64 * 1024)
749   CONFIG_DEVICE(xerox820_floppy_getinfo)
750SYSTEM_CONFIG_END
751/*
752static SYSTEM_CONFIG_START( xerox820ii )
753   CONFIG_RAM_DEFAULT   (64 * 1024)
754   CONFIG_DEVICE(xerox820_floppy_getinfo)
755//   CONFIG_DEVICE(xerox820_harddisk_getinfo) 10MB
756SYSTEM_CONFIG_END
757*/
758/* System Drivers */
759
760/*    YEAR  NAME        PARENT      COMPAT  MACHINE     INPUT      INIT   CONFIG      COMPANY      FULLNAME      FLAGS */
761COMP( 1981, xerox820,   0,         0,      xerox820,   xerox820,   0,      xerox820,   "Xerox",   "Xerox 820",   GAME_NOT_WORKING)
762/*
763COMP( 1983, xerox820ii,   xerox820,   0,      xerox820ii,   xerox820,   0,      xerox820ii,   "Xerox",   "Xerox 820-II",   GAME_NOT_WORKING)
764*/
docs/messnew.txt
r4903r4904
3838- TK85 [Robbbert, Miodrag Milanovic]
3939- Timex Sinclair 1500 [Robbbert, Miodrag Milanovic]
4040- Votrax Type-'N-Talk (not working) [Lord Nightmare, Kevtris]
41- Xerox 820 (not working) [Robbbert, Curt Coder]
4142- ZX97 (not working) [Miodrag Milanovic]
4243
4344Skeleton drivers :
r4903r4904
130131- VCS-80
131132- Visual 1050
132133- V-Tech Socrates
133- Xerox 820
134134- XOR-100-12
135135
136136System Driver Changes:

Previous 15994 Revisions Next


© 1998-2018 The MESS Team