src/mess/machine/mac.c
| r13507 | r13508 | |
| 2152 | 2152 | mac->m_pm_cmd[5]); |
| 2153 | 2153 | #endif |
| 2154 | 2154 | |
| 2155 | #if 0 |
| 2155 | 2156 | mac->m_pm_state = 10; |
| 2156 | 2157 | mac->m_pmu_send_timer->adjust(attotime(0, ATTOSECONDS_IN_USEC(200))); |
| 2157 | 2158 | if (ADB_IS_PM_VIA1) |
| r13507 | r13508 | |
| 2177 | 2178 | mac->m_adb_command = mac->m_pm_cmd[5]; |
| 2178 | 2179 | mac->adb_talk(); |
| 2179 | 2180 | } |
| 2181 | #else |
| 2182 | if (((mac->m_pm_cmd[2] == 0xfc) || (mac->m_pm_cmd[2] == 0x2c)) && (mac->m_pm_cmd[3] == 4)) |
| 2183 | { |
| 2184 | // printf("PMU: request to poll ADB, returning nothing\n"); |
| 2185 | mac->m_pm_slen = 0; |
| 2186 | mac->m_pmu_int_status = 0; |
| 2187 | } |
| 2188 | else |
| 2189 | { |
| 2190 | mac->m_pm_state = 10; |
| 2191 | mac->m_pmu_send_timer->adjust(attotime(0, ATTOSECONDS_IN_USEC(200))); |
| 2192 | if (ADB_IS_PM_VIA1) |
| 2193 | { |
| 2194 | mac->m_pmu_int_status = 0x1; |
| 2195 | } |
| 2196 | else if (ADB_IS_PM_VIA2) |
| 2197 | { |
| 2198 | mac->m_pmu_int_status = 0x10; |
| 2199 | } |
| 2200 | else |
| 2201 | { |
| 2202 | fatalerror("mac: unknown ADB PMU type\n"); |
| 2203 | } |
| 2204 | mac->m_pmu_last_adb_command = mac->m_pm_cmd[2]; |
| 2205 | } |
| 2206 | |
| 2207 | mac->m_adb_command = mac->m_pm_cmd[2]; |
| 2208 | mac->m_adb_waiting_cmd = 1; |
| 2209 | mac->adb_talk(); |
| 2210 | #endif |
| 2180 | 2211 | break; |
| 2181 | 2212 | |
| 2182 | 2213 | case 0x21: // turn ADB auto-poll off (does this need a reply?) |
| r13507 | r13508 | |
| 2185 | 2216 | case 0x28: // read ADB |
| 2186 | 2217 | if (mac->m_adb_datasize > 0) |
| 2187 | 2218 | { |
| 2219 | mac->m_adb_datasize = 1; // hack |
| 2220 | |
| 2188 | 2221 | mac->m_pm_out[0] = mac->m_pm_out[1] = 3 + mac->m_adb_datasize; |
| 2189 | 2222 | mac->m_pm_out[2] = 0; |
| 2190 | | mac->m_pm_out[3] = mac->m_pmu_last_adb_command; |
| 2223 | // mac->m_pm_out[3] = mac->m_pmu_last_adb_command; |
| 2224 | mac->m_pm_out[3] = 0; |
| 2191 | 2225 | mac->m_pm_out[4] = mac->m_adb_datasize; |
| 2192 | 2226 | for (int i = 0; i < mac->m_adb_datasize; i++) |
| 2193 | 2227 | { |
| 2194 | | mac->m_pm_out[5+i] = mac->m_adb_buffer[i]; |
| 2228 | mac->m_pm_out[5+i] = 0; //mac->m_adb_buffer[i]; |
| 2195 | 2229 | } |
| 2196 | 2230 | mac->m_pm_slen = 5 + mac->m_adb_datasize; |
| 2197 | 2231 | } |
| r13507 | r13508 | |
| 2199 | 2233 | { |
| 2200 | 2234 | mac->m_pm_out[0] = mac->m_pm_out[1] = 4; |
| 2201 | 2235 | mac->m_pm_out[2] = 0; |
| 2202 | | mac->m_pm_out[3] = mac->m_pmu_last_adb_command; |
| 2236 | mac->m_pm_out[3] = 0; |
| 2237 | // mac->m_pm_out[3] = mac->m_pmu_last_adb_command; |
| 2203 | 2238 | mac->m_pm_out[4] = 1; // length of following data |
| 2204 | 2239 | mac->m_pm_out[5] = 0; |
| 2205 | 2240 | mac->m_pm_slen = 6; |
| r13507 | r13508 | |
| 2310 | 2345 | mac->m_pmu_send_timer->adjust(attotime(0, ATTOSECONDS_IN_USEC(200))); |
| 2311 | 2346 | break; |
| 2312 | 2347 | |
| 2348 | case 0x6c: // read battery ID |
| 2349 | pmu_one_byte_reply(mac, 1); |
| 2350 | break; |
| 2351 | |
| 2313 | 2352 | case 0x78: // read interrupt flag |
| 2314 | 2353 | if (ADB_IS_PM_VIA2) // PB 140/170 use a "leaner" PMU protocol where you get the data for a PMU interrupt here |
| 2315 | 2354 | { |
| 2355 | #if 0 |
| 2316 | 2356 | if ((mac->m_pmu_int_status&0xf0) == 0x10) |
| 2317 | 2357 | { |
| 2318 | 2358 | if (mac->m_adb_datasize > 0) |
| 2319 | 2359 | { |
| 2360 | mac->m_adb_datasize = 1; // hack |
| 2320 | 2361 | mac->m_pm_out[0] = mac->m_pm_out[1] = 2 + mac->m_adb_datasize; |
| 2321 | 2362 | mac->m_pm_out[2] = mac->m_pmu_int_status; // ADB status in low nibble |
| 2322 | 2363 | mac->m_pm_out[3] = mac->m_pmu_last_adb_command; // ADB command that was sent |
| 2323 | 2364 | for (int i = 0; i < mac->m_adb_datasize; i++) |
| 2324 | 2365 | { |
| 2325 | | mac->m_pm_out[4+i] = mac->m_adb_buffer[i]; |
| 2366 | mac->m_pm_out[4+i] = 0; //mac->m_adb_buffer[i]; |
| 2326 | 2367 | } |
| 2327 | 2368 | mac->m_pm_slen = 4 + mac->m_adb_datasize; |
| 2328 | 2369 | mac->m_pmu_send_timer->adjust(attotime(0, ATTOSECONDS_IN_USEC(1500))); |
| r13507 | r13508 | |
| 2348 | 2389 | { |
| 2349 | 2390 | pmu_one_byte_reply(mac, mac->m_pmu_int_status); |
| 2350 | 2391 | } |
| 2392 | #else |
| 2393 | if ((mac->m_pmu_int_status&0xf0) == 0x10) |
| 2394 | { |
| 2395 | mac->m_pm_out[0] = mac->m_pm_out[1] = 2; |
| 2396 | mac->m_pm_out[2] = mac->m_pmu_int_status; // ADB status in low nibble |
| 2397 | mac->m_pm_out[3] = mac->m_pmu_last_adb_command; // ADB command that was sent OR 0x80 for extra error-ness |
| 2398 | mac->m_pm_out[4] = 0; // return data |
| 2399 | mac->m_pm_slen = 4; |
| 2400 | mac->m_pmu_send_timer->adjust(attotime(0, ATTOSECONDS_IN_USEC(1500))); |
| 2401 | } |
| 2402 | else |
| 2403 | { |
| 2404 | pmu_one_byte_reply(mac, mac->m_pmu_int_status); |
| 2405 | } |
| 2406 | #endif |
| 2351 | 2407 | } |
| 2352 | 2408 | else |
| 2353 | 2409 | { |
| r13507 | r13508 | |
| 2379 | 2435 | // printf("PMU read at %x\n", mac->m_pm_cmd[2] | (mac->m_pm_cmd[3]<<8)); |
| 2380 | 2436 | |
| 2381 | 2437 | // note: read at 0xEE00 0 = target disk mode, 0xff = normal bootup |
| 2382 | | // (actually 0x00EE, the 50753 IN register? would make more sense) |
| 2438 | // (actually 0x00EE, the 50753 port 6) |
| 2383 | 2439 | |
| 2384 | 2440 | for (i = 0; i < mac->m_pm_cmd[4]; i++) |
| 2385 | 2441 | { |
| r13507 | r13508 | |
| 2422 | 2478 | m_adb_timer_ticks = 8; |
| 2423 | 2479 | this->m_adb_timer->adjust(attotime(0, ATTOSECONDS_IN_USEC(100))); |
| 2424 | 2480 | } |
| 2481 | #if 0 |
| 2425 | 2482 | else if (ADB_IS_PM_CLASS) |
| 2426 | 2483 | { |
| 2427 | 2484 | m_adb_waiting_cmd = 1; |
| r13507 | r13508 | |
| 2437 | 2494 | m_pmu_int_status = 0x10; |
| 2438 | 2495 | } |
| 2439 | 2496 | } |
| 2497 | #endif |
| 2440 | 2498 | else |
| 2441 | 2499 | { |
| 2442 | 2500 | m_adb_irq_pending = 1; |
| r13507 | r13508 | |
| 2457 | 2515 | m_adb_timer_ticks = 8; |
| 2458 | 2516 | this->m_adb_timer->adjust(attotime(0, ATTOSECONDS_IN_USEC(100))); |
| 2459 | 2517 | } |
| 2518 | #if 0 |
| 2460 | 2519 | else if (ADB_IS_PM_CLASS) |
| 2461 | 2520 | { |
| 2462 | 2521 | m_adb_waiting_cmd = 1; |
| r13507 | r13508 | |
| 2465 | 2524 | m_pmu_send_timer->adjust(attotime(0, ATTOSECONDS_IN_USEC(200))); |
| 2466 | 2525 | m_pmu_int_status = 0x1; |
| 2467 | 2526 | } |
| 2527 | #endif |
| 2468 | 2528 | else |
| 2469 | 2529 | { |
| 2470 | 2530 | m_adb_irq_pending = 1; |
src/mess/video/mac.c
| r13507 | r13508 | |
| 63 | 63 | palette_set_color_rgb(machine, 1, 0x00, 0x00, 0x00); |
| 64 | 64 | } |
| 65 | 65 | |
| 66 | | // 16-level grayscale |
| 66 | // 4-level grayscale |
| 67 | 67 | PALETTE_INIT( macgsc ) |
| 68 | 68 | { |
| 69 | | for (int i = 15; i >= 0; i--) |
| 70 | | { |
| 71 | | UINT8 component = i | (i<<4); |
| 72 | | |
| 73 | | palette_set_color_rgb(machine, 15-i, component, component, component); |
| 74 | | } |
| 69 | palette_set_color_rgb(machine, 0, 0xff, 0xff, 0xff); |
| 70 | palette_set_color_rgb(machine, 1, 0x7f, 0x7f, 0x7f); |
| 71 | palette_set_color_rgb(machine, 2, 0x3f, 0x3f, 0x3f); |
| 72 | palette_set_color_rgb(machine, 3, 0x00, 0x00, 0x00); |
| 75 | 73 | } |
| 76 | 74 | |
| 77 | 75 | VIDEO_START( mac ) |
| r13507 | r13508 | |
| 201 | 199 | { |
| 202 | 200 | line = BITMAP_ADDR16(bitmap, y, 0); |
| 203 | 201 | |
| 204 | | for (x = 0; x < 640/2; x++) |
| 202 | for (x = 0; x < 640/4; x++) |
| 205 | 203 | { |
| 206 | | pixels = vram8[(y * 320) + (BYTE4_XOR_BE(x))]; |
| 204 | pixels = vram8[(y * 160) + (BYTE4_XOR_BE(x))]; |
| 207 | 205 | |
| 208 | | *line++ = (pixels>>4)&0xf; |
| 209 | | *line++ = pixels&0xf; |
| 206 | // *line++ = (pixels>>4)&0xf; |
| 207 | // *line++ = pixels&0xf; |
| 208 | *line++ = ((pixels>>6)&3); |
| 209 | *line++ = ((pixels>>4)&3); |
| 210 | *line++ = ((pixels>>2)&3); |
| 211 | *line++ = (pixels&3); |
| 212 | |
| 210 | 213 | } |
| 211 | 214 | } |
| 212 | 215 | return 0; |
| r13507 | r13508 | |
| 981 | 984 | return 0; |
| 982 | 985 | } |
| 983 | 986 | |
| 987 | SCREEN_UPDATE( macpbwd ) /* Color PowerBooks using an off-the-shelf WD video chipset */ |
| 988 | { |
| 989 | UINT32 *scanline; |
| 990 | int x, y; |
| 991 | mac_state *mac = screen->machine().driver_data<mac_state>(); |
| 992 | UINT8 *vram8 = (UINT8 *)mac->m_vram; |
| 993 | UINT8 pixels; |
| 994 | |
| 995 | // vram8 += 0x40000; |
| 996 | |
| 997 | for (y = 0; y < 480; y++) |
| 998 | { |
| 999 | scanline = BITMAP_ADDR32(bitmap, y, 0); |
| 1000 | for (x = 0; x < 640; x++) |
| 1001 | { |
| 1002 | pixels = vram8[(y * 640) + (BYTE4_XOR_BE(x))]; |
| 1003 | *scanline++ = mac->m_rbv_palette[pixels]; |
| 1004 | } |
| 1005 | } |
| 1006 | |
| 1007 | return 0; |
| 1008 | } |
| 1009 | |
| 1010 | READ32_MEMBER(mac_state::macwd_r) |
| 1011 | { |
| 1012 | switch (offset) |
| 1013 | { |
| 1014 | case 0xf6: |
| 1015 | if (m_screen->vblank()) |
| 1016 | { |
| 1017 | return 0xffffffff; |
| 1018 | } |
| 1019 | else |
| 1020 | { |
| 1021 | return 0; |
| 1022 | } |
| 1023 | break; |
| 1024 | |
| 1025 | default: |
| 1026 | // printf("macwd_r: @ %x, mask %08x (PC=%x)\n", offset, mem_mask, cpu_get_pc(m_maincpu)); |
| 1027 | break; |
| 1028 | } |
| 1029 | return 0; |
| 1030 | } |
| 1031 | |
| 1032 | WRITE32_MEMBER(mac_state::macwd_w) |
| 1033 | { |
| 1034 | switch (offset) |
| 1035 | { |
| 1036 | case 0xf2: |
| 1037 | if (mem_mask == 0xff000000) // DAC control |
| 1038 | { |
| 1039 | m_rbv_clutoffs = data>>24; |
| 1040 | m_rbv_count = 0; |
| 1041 | } |
| 1042 | else if (mem_mask == 0x00ff0000) // DAC data |
| 1043 | { |
| 1044 | m_rbv_colors[m_rbv_count++] = (data>>16)&0xff; |
| 1045 | if (m_rbv_count == 3) |
| 1046 | { |
| 1047 | // printf("RAMDAC: color %d = %02x %02x %02x\n", m_rbv_clutoffs, m_rbv_colors[0], m_rbv_colors[1], m_rbv_colors[2]); |
| 1048 | m_rbv_palette[m_rbv_clutoffs] = MAKE_RGB(m_rbv_colors[0], m_rbv_colors[1], m_rbv_colors[2]); |
| 1049 | m_rbv_clutoffs++; |
| 1050 | m_rbv_count = 0; |
| 1051 | } |
| 1052 | } |
| 1053 | else |
| 1054 | { |
| 1055 | printf("macwd: Unknown DAC write, data %08x, mask %08x\n", data, mem_mask); |
| 1056 | } |
| 1057 | break; |
| 1058 | |
| 1059 | default: |
| 1060 | printf("macwd_w: %x @ %x, mask %08x (PC=%x)\n", data, offset, mem_mask, cpu_get_pc(m_maincpu)); |
| 1061 | break; |
| 1062 | } |
| 1063 | } |
| 1064 | |
src/mess/drivers/mac.c
| r13507 | r13508 | |
| 746 | 746 | |
| 747 | 747 | AM_RANGE(0x60000000, 0x6001ffff) AM_RAM AM_BASE(m_vram) AM_MIRROR(0x0ffe0000) |
| 748 | 748 | ADDRESS_MAP_END |
| 749 | | /* |
| 749 | |
| 750 | 750 | static ADDRESS_MAP_START(macpb165c_map, AS_PROGRAM, 32, mac_state ) |
| 751 | 751 | AM_RANGE(0x40000000, 0x400fffff) AM_ROM AM_REGION("bootrom", 0) AM_MIRROR(0x0ff00000) |
| 752 | 752 | |
| r13507 | r13508 | |
| 761 | 761 | AM_RANGE(0x50f20000, 0x50f21fff) AM_READ(buserror_r) // bus error here to detect we're not the grayscale 160/165/180 |
| 762 | 762 | AM_RANGE(0x50f24000, 0x50f27fff) AM_READ(buserror_r) // bus error here to make sure we aren't mistaken for another decoder |
| 763 | 763 | |
| 764 | | AM_RANGE(0xfc040000, 0xfc07ffff) AM_RAM AM_BASE(m_vram) |
| 765 | | AM_RANGE(0xfcff0000, 0xfcffffff) AM_ROM AM_REGION("bootrom", 0xf0000) |
| 764 | // on-board color video on 165c/180c |
| 765 | AM_RANGE(0xfc000000, 0xfc07ffff) AM_RAM AM_BASE(m_vram) AM_MIRROR(0x00380000) // 512k of VRAM |
| 766 | AM_RANGE(0xfc400000, 0xfcefffff) AM_READWRITE(macwd_r, macwd_w) |
| 767 | // fc4003c8 = DAC control, fc4003c9 = DAC data |
| 768 | // fc4003da bit 3 is VBL |
| 769 | AM_RANGE(0xfcff8000, 0xfcffffff) AM_ROM AM_REGION("vrom", 0x0000) |
| 766 | 770 | ADDRESS_MAP_END |
| 767 | | */ |
| 768 | 771 | |
| 769 | 772 | static ADDRESS_MAP_START(quadra700_map, AS_PROGRAM, 32, mac_state ) |
| 770 | 773 | AM_RANGE(0x40000000, 0x400fffff) AM_ROM AM_REGION("bootrom", 0) AM_MIRROR(0x0ff00000) |
| r13507 | r13508 | |
| 887 | 890 | DEVCB_NULL, |
| 888 | 891 | FLOPPY_STANDARD_3_5_DSHD, |
| 889 | 892 | LEGACY_FLOPPY_OPTIONS_NAME(apple35_mac), |
| 890 | | NULL, |
| 893 | "floppy_3_5", |
| 891 | 894 | NULL |
| 892 | 895 | }; |
| 893 | 896 | |
| r13507 | r13508 | |
| 967 | 970 | MCFG_RAM_EXTRA_OPTIONS("1M,2M,2560K,4M") |
| 968 | 971 | |
| 969 | 972 | // software list |
| 973 | MCFG_SOFTWARE_LIST_ADD("flop35_list","mac_flop") |
| 970 | 974 | MCFG_SOFTWARE_LIST_ADD("hdd_list", "mac_hdd") |
| 971 | 975 | MACHINE_CONFIG_END |
| 972 | 976 | |
| r13507 | r13508 | |
| 1080 | 1084 | MCFG_RAM_EXTRA_OPTIONS("8M,32M,64M,96M,128M") |
| 1081 | 1085 | |
| 1082 | 1086 | // software list |
| 1087 | MCFG_SOFTWARE_LIST_ADD("flop35_list","mac_flop") |
| 1083 | 1088 | MCFG_SOFTWARE_LIST_ADD("hdd_list", "mac_hdd") |
| 1084 | 1089 | MACHINE_CONFIG_END |
| 1085 | 1090 | |
| r13507 | r13508 | |
| 1131 | 1136 | MCFG_RAM_EXTRA_OPTIONS("8M,16M,32M,64M,96M,128M") |
| 1132 | 1137 | |
| 1133 | 1138 | // software list |
| 1139 | MCFG_SOFTWARE_LIST_ADD("flop35_list","mac_flop") |
| 1134 | 1140 | MCFG_SOFTWARE_LIST_ADD("hdd_list", "mac_hdd") |
| 1135 | 1141 | MACHINE_CONFIG_END |
| 1136 | 1142 | |
| r13507 | r13508 | |
| 1312 | 1318 | MCFG_RAM_ADD(RAM_TAG) |
| 1313 | 1319 | MCFG_RAM_DEFAULT_SIZE("2M") |
| 1314 | 1320 | MCFG_RAM_EXTRA_OPTIONS("8M,16M,32M,48M,64M,96M,128M") |
| 1321 | |
| 1322 | MCFG_SOFTWARE_LIST_ADD("flop35_list","mac_flop") |
| 1323 | MCFG_SOFTWARE_LIST_ADD("hdd_list", "mac_hdd") |
| 1315 | 1324 | MACHINE_CONFIG_END |
| 1316 | 1325 | |
| 1317 | 1326 | static MACHINE_CONFIG_START( macpb140, mac_state ) |
| r13507 | r13508 | |
| 1362 | 1371 | MCFG_RAM_ADD(RAM_TAG) |
| 1363 | 1372 | MCFG_RAM_DEFAULT_SIZE("2M") |
| 1364 | 1373 | MCFG_RAM_EXTRA_OPTIONS("4M,6M,8M") |
| 1374 | |
| 1375 | MCFG_SOFTWARE_LIST_ADD("flop35_list","mac_flop") |
| 1376 | MCFG_SOFTWARE_LIST_ADD("hdd_list", "mac_hdd") |
| 1365 | 1377 | MACHINE_CONFIG_END |
| 1366 | 1378 | |
| 1367 | 1379 | // PowerBook 145 = 140 @ 25 MHz (still 2MB RAM - the 145B upped that to 4MB) |
| r13507 | r13508 | |
| 1432 | 1444 | MCFG_RAM_ADD(RAM_TAG) |
| 1433 | 1445 | MCFG_RAM_DEFAULT_SIZE("4M") |
| 1434 | 1446 | MCFG_RAM_EXTRA_OPTIONS("8M,12M,16M") |
| 1447 | |
| 1448 | MCFG_SOFTWARE_LIST_ADD("flop35_list","mac_flop") |
| 1449 | MCFG_SOFTWARE_LIST_ADD("hdd_list", "mac_hdd") |
| 1435 | 1450 | MACHINE_CONFIG_END |
| 1436 | 1451 | |
| 1437 | 1452 | static MACHINE_CONFIG_DERIVED( macpb180, macpb160 ) |
| r13507 | r13508 | |
| 1442 | 1457 | MCFG_RAM_DEFAULT_SIZE("4M") |
| 1443 | 1458 | MCFG_RAM_EXTRA_OPTIONS("8M,12M,16M") |
| 1444 | 1459 | MACHINE_CONFIG_END |
| 1445 | | /* |
| 1460 | |
| 1446 | 1461 | static MACHINE_CONFIG_DERIVED( macpb180c, macpb160 ) |
| 1447 | 1462 | MCFG_CPU_REPLACE("maincpu", M68030, 33000000) |
| 1448 | 1463 | MCFG_CPU_PROGRAM_MAP(macpb165c_map) |
| 1449 | 1464 | |
| 1465 | MCFG_SCREEN_MODIFY(MAC_SCREEN_NAME) |
| 1466 | MCFG_SCREEN_FORMAT(BITMAP_FORMAT_RGB32) |
| 1467 | MCFG_SCREEN_SIZE(800, 525) |
| 1468 | MCFG_SCREEN_VISIBLE_AREA(0, 640-1, 0, 480-1) |
| 1469 | MCFG_SCREEN_UPDATE(macpbwd) |
| 1470 | |
| 1450 | 1471 | MCFG_RAM_MODIFY(RAM_TAG) |
| 1451 | 1472 | MCFG_RAM_DEFAULT_SIZE("4M") |
| 1452 | 1473 | MCFG_RAM_EXTRA_OPTIONS("8M,12M,16M") |
| 1453 | 1474 | MACHINE_CONFIG_END |
| 1454 | | */ |
| 1475 | |
| 1455 | 1476 | static MACHINE_CONFIG_DERIVED( macclas2, maclc ) |
| 1456 | 1477 | |
| 1457 | 1478 | MCFG_CPU_REPLACE("maincpu", M68030, C15M) |
| r13507 | r13508 | |
| 1639 | 1660 | MCFG_RAM_ADD(RAM_TAG) |
| 1640 | 1661 | MCFG_RAM_DEFAULT_SIZE("4M") |
| 1641 | 1662 | MCFG_RAM_EXTRA_OPTIONS("8M,16M,32M,64M,68M,72M,80M,96M,128M") |
| 1663 | |
| 1664 | // software list |
| 1665 | MCFG_SOFTWARE_LIST_ADD("flop35_list","mac_flop") |
| 1666 | MCFG_SOFTWARE_LIST_ADD("hdd_list", "mac_hdd") |
| 1642 | 1667 | MACHINE_CONFIG_END |
| 1643 | 1668 | |
| 1644 | 1669 | static INPUT_PORTS_START( macplus ) |
| r13507 | r13508 | |
| 2085 | 2110 | ROM_LOAD( "e33b2724.rom", 0x000000, 0x100000, CRC(536c60f4) SHA1(c0510682ae6d973652d7e17f3c3b27629c47afac) ) |
| 2086 | 2111 | ROM_END |
| 2087 | 2112 | |
| 2113 | ROM_START( macpb180c ) |
| 2114 | ROM_REGION32_BE(0x100000, "bootrom", 0) |
| 2115 | ROM_LOAD( "e33b2724.rom", 0x000000, 0x100000, CRC(536c60f4) SHA1(c0510682ae6d973652d7e17f3c3b27629c47afac) ) |
| 2116 | |
| 2117 | ROM_REGION32_BE(0x8000, "vrom", 0) |
| 2118 | ROM_LOAD( "pb180cvrom.bin", 0x0000, 0x8000, CRC(810c75ad) SHA1(3a936e97dee5ceeb25e50197ef504e514ae689a4)) |
| 2119 | ROM_END |
| 2120 | |
| 2088 | 2121 | ROM_START( maccclas ) |
| 2089 | 2122 | ROM_REGION32_BE(0x100000, "bootrom", 0) |
| 2090 | 2123 | ROM_LOAD( "ecd99dc0.rom", 0x000000, 0x100000, CRC(c84c3aa5) SHA1(fd9e852e2d77fe17287ba678709b9334d4d74f1e) ) |
| r13507 | r13508 | |
| 2118 | 2151 | COMP( 1992, macpb145, macpb140, 0, macpb145, macadb, macpb140, "Apple Computer", "Macintosh PowerBook 145", GAME_NOT_WORKING ) |
| 2119 | 2152 | COMP( 1992, macpb160, 0, 0, macpb160, macadb, macpb160, "Apple Computer", "Macintosh PowerBook 160", GAME_NOT_WORKING ) |
| 2120 | 2153 | COMP( 1992, macpb180, macpb160, 0, macpb180, macadb, macpb160, "Apple Computer", "Macintosh PowerBook 180", GAME_NOT_WORKING ) |
| 2121 | | //COMP( 1992, macp180c, macpb160, 0, macpb180c,macadb, macpb160, "Apple Computer", "Macintosh PowerBook 180c", GAME_NOT_WORKING ) |
| 2154 | COMP( 1992, macpb180c,macpb160, 0, macpb180c,macadb, macpb160, "Apple Computer", "Macintosh PowerBook 180c", GAME_NOT_WORKING ) |
| 2122 | 2155 | COMP( 1993, maccclas, 0, 0, maclc2, macadb, maclrcclassic,"Apple Computer", "Macintosh Color Classic", GAME_NOT_WORKING ) |
| 2123 | 2156 | COMP( 1992, macpb145b,macpb140, 0, macpb170, macadb, macpb140, "Apple Computer", "Macintosh PowerBook 145B", GAME_NOT_WORKING ) |
| 2124 | 2157 | COMP( 1993, maclc3, 0, 0, maclc3, maciici, maclc3, "Apple Computer", "Macintosh LC III", GAME_NOT_WORKING ) |