src/mess/drivers/atarist.c
| r3790 | r3791 | |
| 278 | 278 | |
| 279 | 279 | */ |
| 280 | 280 | |
| 281 | | atarist_state *state = space->machine->driver_data; |
| 281 | // atarist_state *state = space->machine->driver_data; |
| 282 | 282 | |
| 283 | 283 | return (ikbd_tx << 3) | (input_port_read_safe(space->machine, "IKBD_JOY1", 0xff) & 0x06); |
| 284 | 284 | } |
| r3790 | r3791 | |
| 297 | 297 | |
| 298 | 298 | */ |
| 299 | 299 | |
| 300 | | atarist_state *state = space->machine->driver_data; |
| 300 | // atarist_state *state = space->machine->driver_data; |
| 301 | 301 | |
| 302 | 302 | ikbd_rx = (data & 0x10) >> 4; |
| 303 | 303 | } |
| r3790 | r3791 | |
| 1379 | 1379 | |
| 1380 | 1380 | static IRQ_CALLBACK( atarist_int_ack ) |
| 1381 | 1381 | { |
| 1382 | | atarist_state *state = device->machine->driver_data; |
| 1382 | // atarist_state *state = device->machine->driver_data; |
| 1383 | 1383 | |
| 1384 | 1384 | const device_config *mc68901 = device_list_find_by_tag(device->machine->config->devicelist, MC68901, MC68901_TAG); |
| 1385 | 1385 | |
src/mess/drivers/sg1000.c
| r3790 | r3791 | |
| 78 | 78 | #include "video/tms9928a.h" |
| 79 | 79 | |
| 80 | 80 | #define IS_CARTRIDGE_TV_DRAW(ptr) \ |
| 81 | | (!strncmp("annakmn", (const char *)&##ptr[0x13b3], 7)) |
| 81 | (!strncmp("annakmn", (const char *)&ptr[0x13b3], 7)) |
| 82 | 82 | |
| 83 | 83 | #define IS_CARTRIDGE_THE_CASTLE(ptr) \ |
| 84 | | (!strncmp("ASCII 1986", (const char *)&##ptr[0x1cc3], 10)) |
| 84 | (!strncmp("ASCII 1986", (const char *)&ptr[0x1cc3], 10)) |
| 85 | 85 | |
| 86 | 86 | #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)) |
| 88 | 88 | |
| 89 | 89 | #define IS_CARTRIDGE_MUSIC_EDITOR(ptr) \ |
| 90 | | (!strncmp("PIANO", (const char *)&##ptr[0x0841], 5)) |
| 90 | (!strncmp("PIANO", (const char *)&ptr[0x0841], 5)) |
| 91 | 91 | |
| 92 | 92 | static const device_config *cassette_device_image(running_machine *machine) |
| 93 | 93 | { |
| r3790 | r3791 | |
| 984 | 984 | |
| 985 | 985 | static DEVICE_IMAGE_LOAD( sc3000_cart ) |
| 986 | 986 | { |
| 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); |
| 988 | 988 | int size = image_length(image); |
| 989 | 989 | UINT8 *ptr = memory_region(image->machine, "main"); |
| 990 | 990 | |