Previous 15994 Revisions Next

r4335 Monday 23rd February, 2009 at 11:50:16 UTC by Dirk Best
Removed unnecessary printer.h include
[src/mess/drivers]amstrad.c exidy.c super80.c

src/mess/drivers/super80.c
r4334r4335
1111#include "devices/z80bin.h"
1212#include "sound/speaker.h"
1313#include "machine/ctronics.h"
14#include "devices/printer.h"
1514
15
1616static UINT8 super80_mhz=2;   /* state of bit 2 of port F0 */
1717static UINT16 vidpg=0xfe00;   /* Home position of video page being displayed */
1818static UINT8 int_sw;      /* internal 1 MHz flipflop */
r4334r4335
8888
8989static void palette_set_colors_rgb(running_machine *machine, const UINT8 *colors)
9090{
91   UINT8 r, b, g, color_count = 16;
91   UINT8 r, b, g, color_count = 16;
9292
9393   while (color_count--)
9494   {
r4334r4335
102102   int i;
103103   machine->colortable = colortable_alloc(machine, 16);
104104   palette_set_colors_rgb(machine, super80_rgb_palette);
105   
105
106106   for( i = 0; i < 256; i++ )
107107   {
108108      colortable_entry_set_value(machine->colortable, i*2, i>>4);
r4334r4335
190190   if (curs_type > 1) for (i = 0;i < ARRAY_LENGTH(mc6845_cursor);i++) mc6845_cursor[i]=0xff; // turn on full cursor
191191
192192   if (curs_type == 1) for (i = r10;i < r11;i++) mc6845_cursor[i]=0xff; // for each line that should show, turn on that scan line
193     
193
194194   if (curs_type == 3) for (i = r11; i < r10;i++) mc6845_cursor[i]=0; // now take a bite out of the middle
195195}
196196
r4334r4335
267267         col = 15;      /* b&w */
268268      else
269269         col = 5;      /* green */
270   }     
270   }
271271
272272   /* display the picture */
273273   for (y=0; y<16; y++)
r4334r4335
11021102
11031103   /* cassette */
11041104   MDRV_CASSETTE_ADD( "cassette", super80_cassette_config )
1105   
1105
11061106   /* cartridge */
11071107   MDRV_IMPORT_FROM(super80_cartslot)
11081108MACHINE_DRIVER_END
src/mess/drivers/exidy.c
r4334r4335
147147#include "devices/cassette.h"
148148#include "devices/snapquik.h"
149149#include "devices/cartslot.h"
150#include "devices/printer.h"
151150#include "devices/z80bin.h"
152151#include "machine/ay31015.h"
153152
r4334r4335
542541     - tied high, allowing PARIN and PAROUT bios routines to run */
543542
544543   UINT8 data = 0xc0;
545   static const char *const keynames[] = { "LINE0", "LINE1", "LINE2", "LINE3", "LINE4", "LINE5", "LINE6", "LINE7",
544   static const char *const keynames[] = { "LINE0", "LINE1", "LINE2", "LINE3", "LINE4", "LINE5", "LINE6", "LINE7",
546545                              "LINE8", "LINE9", "LINE10", "LINE11", "LINE12", "LINE13", "LINE14", "LINE15" };
547546
548547   /* bit 5 - vsync (inverted) */
r4334r4335
802801
803802   MDRV_CASSETTE_ADD( "cassette1", exidy_cassette_config )
804803   MDRV_CASSETTE_ADD( "cassette2", exidy_cassette_config )
805   
804
806805   MDRV_WD179X_ADD("wd179x", default_wd17xx_interface )
807806
808807   /* cartridge */
src/mess/drivers/amstrad.c
r4334r4335
104104#include "includes/msx.h"  /* MSX floppy device load */
105105#include "devices/snapquik.h"
106106#include "devices/cartslot.h"
107#include "devices/printer.h"
108107#include "devices/cassette.h"
109108#include "formats/tzx_cas.h"
110109

Previous 15994 Revisions Next


© 1998-2018 The MESS Team