src/mess/machine/mac.c
| r6266 | r6267 | |
| 1363 | 1363 | const device_config *fdc = devtag_get_device(space->machine, "fdc"); |
| 1364 | 1364 | |
| 1365 | 1365 | if (LOG_MAC_IWM) |
| 1366 | | logerror("mac_iwm_r: offset=0x%08x (PC %x)\n", offset>>8, cpu_get_pc(space->cpu)); |
| 1366 | logerror("mac_iwm_r: offset=0x%08x mem_mask %04x (PC %x)\n", offset, mem_mask, cpu_get_pc(space->cpu)); |
| 1367 | 1367 | |
| 1368 | | result = applefdc_r(fdc, offset >> 8); |
| 1368 | result = applefdc_r(fdc, (offset >> 8)); |
| 1369 | 1369 | return (result << 8) | result; |
| 1370 | 1370 | } |
| 1371 | 1371 | |
| r6266 | r6267 | |
| 1374 | 1374 | const device_config *fdc = devtag_get_device(space->machine, "fdc"); |
| 1375 | 1375 | |
| 1376 | 1376 | if (LOG_MAC_IWM) |
| 1377 | | logerror("mac_iwm_w: offset=0x%08x data=0x%04x (PC=%x)\n", offset>>8, data, cpu_get_pc(space->cpu)); |
| 1377 | logerror("mac_iwm_w: offset=0x%08x data=0x%04x mask %04x (PC=%x)\n", offset, data, mem_mask, cpu_get_pc(space->cpu)); |
| 1378 | 1378 | |
| 1379 | 1379 | if (ACCESSING_BITS_0_7) |
| 1380 | | applefdc_w(fdc, offset >> 8, data & 0xff); |
| 1380 | applefdc_w(fdc, (offset >> 8), data & 0xff); |
| 1381 | else |
| 1382 | applefdc_w(fdc, (offset >> 8), data<<8); |
| 1381 | 1383 | } |
| 1382 | 1384 | |
| 1383 | 1385 | /* ************************************************************************* |
src/mess/drivers/mac.c
| r6266 | r6267 | |
| 985 | 985 | COMP( 1987, macse, 0, 0, macse, macplus, macse, 0, "Apple Computer", "Macintosh SE", 0 ) |
| 986 | 986 | COMP( 1987, macsefd, 0, 0, macse, macplus, macse, 0, "Apple Computer", "Macintosh SE (FDHD)", 0 ) |
| 987 | 987 | COMP( 1987, macii, 0, 0, macii, macplus, macii, 0, "Apple Computer", "Macintosh II", GAME_NOT_WORKING ) |
| 988 | | COMP( 1988, mac2fdhd, macii, 0, macii, macplus, maciifdhd, 0, "Apple Computer", "Macintosh II (FDHD)", GAME_NOT_WORKING ) |
| 989 | | COMP( 1988, maciix, macii, 0, maciix, macplus, maciix, 0, "Apple Computer", "Macintosh IIx", GAME_NOT_WORKING ) |
| 990 | | COMP( 1989, macse30, macii, 0, macse30, macplus, macse30, 0, "Apple Computer", "Macintosh SE/30", GAME_NOT_WORKING ) |
| 991 | | COMP( 1989, maciicx, macii, 0, maciix, macplus, maciicx, 0, "Apple Computer", "Macintosh IIcx", GAME_NOT_WORKING ) |
| 988 | COMP( 1988, mac2fdhd, 0, 0, macii, macplus, maciifdhd, 0, "Apple Computer", "Macintosh II (FDHD)", GAME_NOT_WORKING ) |
| 989 | COMP( 1988, maciix, mac2fdhd, 0, maciix, macplus, maciix, 0, "Apple Computer", "Macintosh IIx", GAME_NOT_WORKING ) |
| 990 | COMP( 1989, macse30, mac2fdhd, 0, macse30, macplus, macse30, 0, "Apple Computer", "Macintosh SE/30", GAME_NOT_WORKING ) |
| 991 | COMP( 1989, maciicx, mac2fdhd, 0, maciix, macplus, maciicx, 0, "Apple Computer", "Macintosh IIcx", GAME_NOT_WORKING ) |
| 992 | 992 | COMP( 1989, maciici, 0, 0, maciici, macplus, maciici, 0, "Apple Computer", "Macintosh IIci", GAME_NOT_WORKING ) |
| 993 | 993 | COMP( 1990, macclasc, 0, 0, macse, macplus, macclassic, 0, "Apple Computer", "Macintosh Classic", GAME_NOT_WORKING ) |
| 994 | 994 | COMP( 1990, maclc, 0, 0, maclc, macplus, maclc, 0, "Apple Computer", "Macintosh LC", GAME_NOT_WORKING ) |