Previous 15994 Revisions Next

r6745 Friday 25th December, 2009 at 08:09:36 UTC by Robbbert
[EXIDY] Added the F4 character display. Updated comments.
[src/mess/drivers]exidy.c

src/mess/drivers/exidy.c
r6744r6745
8585
8686    Sound:
8787
88    external speaker connected to the parallel port
89    speaker is connected to all pins. All pins need to be toggled at the same time.
88    External speaker connected to the parallel port.
89    There was a dac you could make instead, this is supported.
9090
9191
9292    Kevin Thacker [MESS driver]
93    Robbbert [Various corrections and additions over the years]
9394
9495 ******************************************************************************
9596
r6744r6745
9899    The Sorcerer has a bus connection for S100 equipment. This allows the connection
99100    of disk drives, provided that suitable driver/boot software is loaded.
100101
101    The driver "exidy" emulates a Sorcerer with 4 floppy disk drives fitted, and 32k of ram.
102    The driver "exidy" emulates a Sorcerer with 4 floppy disk drives fitted, and 44k of ram.
102103
103104    The driver "exidyd" emulates the most common form, a cassette-based system with 48k of ram.
104105
r6744r6745
133134
134135The sorcerer has a UART device used by the serial interface and the cassette system.
135136
137An examination of the disk controller boot rom shows the controller is not a
138standard one; a custom implementation will need to be written.
136139
140
137141********************************************************************************/
138142
139143#include "driver.h"
r6744r6745
319323   PORT_CONFSETTING(    0x00, DEF_STR(Off))
320324INPUT_PORTS_END
321325
326/**************************** F4 CHARACTER DISPLAYER ******************************************************/
327
328static const gfx_layout exidy_charlayout =
329{
330   8, 8,               /* 8 x 8 characters */
331   256,               /* 256 characters */
332   1,               /* 1 bits per pixel */
333   { 0 },               /* no bitplanes */
334   /* x offsets */
335   { 0, 1, 2, 3, 4, 5, 6, 7 },
336   /* y offsets */
337   {  0*8,  1*8,  2*8,  3*8,  4*8,  5*8,  6*8,  7*8 },
338   8*8               /* every char takes 8 bytes */
339};
340
341/* This will show the 128 characters in the ROM + whatever happens to be in the PCG */
342static GFXDECODE_START( exidy )
343   GFXDECODE_ENTRY( "maincpu", 0xf800, exidy_charlayout, 0, 1 )
344GFXDECODE_END
345
322346/**********************************************************************************************************/
323347
324348static const ay31015_config exidy_ay31015_config =
r6744r6745
367391   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
368392   MDRV_SCREEN_SIZE(64*8, 30*8)
369393   MDRV_SCREEN_VISIBLE_AREA(0, 64*8-1, 0, 30*8-1)
394
395   MDRV_GFXDECODE(exidy)
370396   MDRV_PALETTE_LENGTH(2)
371397   MDRV_PALETTE_INIT(black_and_white)
372398
r6744r6745
409435   MDRV_CPU_MODIFY("maincpu")
410436   MDRV_CPU_PROGRAM_MAP(exidyd_mem)
411437
412   MDRV_MACHINE_START( exidy )
413   MDRV_MACHINE_RESET( exidy )
414
415438   MDRV_FLOPPY_4_DRIVES_REMOVE()
416439MACHINE_DRIVER_END
417440

Previous 15994 Revisions Next


© 1998-2018 The MESS Team