src/mess/machine/lisa.c
| r1520 | r1521 | |
| 1087 | 1087 | lisa_features.floppy_hardware = sony_lisa2; |
| 1088 | 1088 | lisa_features.has_double_sided_floppy = 0; |
| 1089 | 1089 | lisa_features.has_mac_xl_video = 0; |
| 1090 | |
| 1091 | bad_parity_table = auto_malloc(0x40000); /* 1 bit per byte of CPU RAM */ |
| 1090 | 1092 | } |
| 1091 | 1093 | |
| 1092 | 1094 | DRIVER_INIT( lisa210 ) |
| r1520 | r1521 | |
| 1096 | 1098 | lisa_features.floppy_hardware = sony_lisa210; |
| 1097 | 1099 | lisa_features.has_double_sided_floppy = 0; |
| 1098 | 1100 | lisa_features.has_mac_xl_video = 0; |
| 1101 | |
| 1102 | bad_parity_table = auto_malloc(0x40000); /* 1 bit per byte of CPU RAM */ |
| 1099 | 1103 | } |
| 1100 | 1104 | |
| 1101 | 1105 | DRIVER_INIT( mac_xl ) |
| r1520 | r1521 | |
| 1105 | 1109 | lisa_features.floppy_hardware = sony_lisa210; |
| 1106 | 1110 | lisa_features.has_double_sided_floppy = 0; |
| 1107 | 1111 | lisa_features.has_mac_xl_video = 1; |
| 1112 | |
| 1113 | bad_parity_table = auto_malloc(0x40000); /* 1 bit per byte of CPU RAM */ |
| 1108 | 1114 | } |
| 1109 | 1115 | |
| 1110 | 1116 | static void lisa2_set_iwm_enable_lines(int enable_mask) |
| r1520 | r1521 | |
| 1147 | 1153 | parity_error_pending = FALSE; |
| 1148 | 1154 | |
| 1149 | 1155 | bad_parity_count = 0; |
| 1150 | | bad_parity_table = memory_region(REGION_USER1); |
| 1151 | | memset(bad_parity_table, 0, memory_region_length(REGION_USER1)); /* Clear */ |
| 1156 | memset(bad_parity_table, 0, 0x40000); /* Clear */ |
| 1152 | 1157 | |
| 1153 | 1158 | /* init video */ |
| 1154 | 1159 | |
src/mess/drivers/lisa.c
| r1520 | r1521 | |
| 208 | 208 | |
| 209 | 209 | ROM_REGION(0x100,REGION_GFX1,0) /* video ROM (includes S/N) */ |
| 210 | 210 | ROM_LOAD( "vidstate.rom", 0x00, 0x100, CRC(75904783) SHA1(3b0023bd90f2ca1be0b099160a566b044856885d)) |
| 211 | | |
| 212 | | ROM_REGION(0x040000, REGION_USER1, 0) /* 1 bit per byte of CPU RAM - used for parity check emulation */ |
| 213 | | |
| 214 | 211 | ROM_END |
| 215 | 212 | |
| 216 | 213 | ROM_START( lisa210 ) |
| r1520 | r1521 | |
| 228 | 225 | |
| 229 | 226 | ROM_REGION(0x100,REGION_GFX1, 0) /* video ROM (includes S/N) */ |
| 230 | 227 | ROM_LOAD( "vidstate.rom", 0x00, 0x100, CRC(75904783) SHA1(3b0023bd90f2ca1be0b099160a566b044856885d)) |
| 231 | | |
| 232 | | ROM_REGION(0x040000, REGION_USER1, 0) /* 1 bit per byte of CPU RAM - used for parity check emulation */ |
| 233 | | |
| 234 | 228 | ROM_END |
| 235 | 229 | |
| 236 | 230 | ROM_START( macxl ) |
| r1520 | r1521 | |
| 248 | 242 | |
| 249 | 243 | ROM_REGION(0x100,REGION_GFX1, 0) /* video ROM (includes S/N) ; no dump known, although Lisa ROM works fine at our level of emulation */ |
| 250 | 244 | ROM_LOAD( "vidstate.rom", 0x00, 0x100, NO_DUMP) |
| 251 | | |
| 252 | | ROM_REGION(0x040000, REGION_USER1, 0) /* 1 bit per byte of CPU RAM - used for parity check emulation */ |
| 253 | | |
| 254 | 245 | ROM_END |
| 255 | 246 | |
| 247 | |
| 256 | 248 | static void lisa_floppy_getinfo(const device_class *devclass, UINT32 state, union devinfo *info) |
| 257 | 249 | { |
| 258 | 250 | /* floppy */ |