Previous 15994 Revisions Next

r3791 Monday 8th December, 2008 at 17:38:56 UTC by Miodrag Milanović
Fixed compiling errors
[src/mess/drivers]atarist.c sg1000.c

src/mess/drivers/atarist.c
r3790r3791
278278
279279    */
280280
281   atarist_state *state = space->machine->driver_data;
281//   atarist_state *state = space->machine->driver_data;
282282
283283   return (ikbd_tx << 3) | (input_port_read_safe(space->machine, "IKBD_JOY1", 0xff) & 0x06);
284284}
r3790r3791
297297
298298    */
299299
300   atarist_state *state = space->machine->driver_data;
300//   atarist_state *state = space->machine->driver_data;
301301
302302   ikbd_rx = (data & 0x10) >> 4;
303303}
r3790r3791
13791379
13801380static IRQ_CALLBACK( atarist_int_ack )
13811381{
1382   atarist_state *state = device->machine->driver_data;
1382//   atarist_state *state = device->machine->driver_data;
13831383
13841384   const device_config *mc68901 = device_list_find_by_tag(device->machine->config->devicelist, MC68901, MC68901_TAG);
13851385
src/mess/drivers/sg1000.c
r3790r3791
7878#include "video/tms9928a.h"
7979
8080#define IS_CARTRIDGE_TV_DRAW(ptr) \
81   (!strncmp("annakmn", (const char *)&##ptr[0x13b3], 7))
81   (!strncmp("annakmn", (const char *)&ptr[0x13b3], 7))
8282
8383#define IS_CARTRIDGE_THE_CASTLE(ptr) \
84   (!strncmp("ASCII 1986", (const char *)&##ptr[0x1cc3], 10))
84   (!strncmp("ASCII 1986", (const char *)&ptr[0x1cc3], 10))
8585
8686#define IS_CARTRIDGE_BASIC_LEVEL_III(ptr) \
87   (!strncmp("SC-3000 BASIC Level 3 ver 1.0", (const char *)&##ptr[0x6a20], 29))
87   (!strncmp("SC-3000 BASIC Level 3 ver 1.0", (const char *)&ptr[0x6a20], 29))
8888
8989#define IS_CARTRIDGE_MUSIC_EDITOR(ptr) \
90   (!strncmp("PIANO", (const char *)&##ptr[0x0841], 5))
90   (!strncmp("PIANO", (const char *)&ptr[0x0841], 5))
9191
9292static const device_config *cassette_device_image(running_machine *machine)
9393{
r3790r3791
984984
985985static DEVICE_IMAGE_LOAD( sc3000_cart )
986986{
987   const address_space *program = cputag_get_address_space(image->machine, "main", ADDRESS_SPACE_PROGRAM);
987//   const address_space *program = cputag_get_address_space(image->machine, "main", ADDRESS_SPACE_PROGRAM);
988988   int size = image_length(image);
989989   UINT8 *ptr = memory_region(image->machine, "main");
990990

Previous 15994 Revisions Next


© 1998-2018 The MESS Team