Previous 15994 Revisions Next

r6267 Tuesday 3rd November, 2009 at 02:19:04 UTC by R. Belmont
[MAC] FDC tweek for II-series machines, fixed parent messup in last checkins
[src/mess/drivers]mac.c
[src/mess/machine]mac.c

src/mess/machine/mac.c
r6266r6267
13631363   const device_config *fdc = devtag_get_device(space->machine, "fdc");
13641364
13651365   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));
13671367
1368   result = applefdc_r(fdc, offset >> 8);
1368   result = applefdc_r(fdc, (offset >> 8));
13691369   return (result << 8) | result;
13701370}
13711371
r6266r6267
13741374   const device_config *fdc = devtag_get_device(space->machine, "fdc");
13751375
13761376   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));
13781378
13791379   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);
13811383}
13821384
13831385/* *************************************************************************
src/mess/drivers/mac.c
r6266r6267
985985COMP( 1987, macse,    0,   0,   macse,    macplus,  macse,    0,     "Apple Computer", "Macintosh SE",  0 )
986986COMP( 1987, macsefd,  0,   0,   macse,    macplus,  macse,    0,     "Apple Computer", "Macintosh SE (FDHD)",  0 )
987987COMP( 1987, macii,    0,   0,   macii,    macplus,  macii,    0,     "Apple Computer", "Macintosh II",  GAME_NOT_WORKING )
988COMP( 1988, mac2fdhd, macii,   0,   macii,    macplus,  maciifdhd,    0,     "Apple Computer", "Macintosh II (FDHD)",  GAME_NOT_WORKING )
989COMP( 1988, maciix,   macii,    0,   maciix,   macplus,  maciix,    0,     "Apple Computer", "Macintosh IIx",  GAME_NOT_WORKING )
990COMP( 1989, macse30,  macii,    0,   macse30,  macplus,  macse30,    0,     "Apple Computer", "Macintosh SE/30",  GAME_NOT_WORKING )
991COMP( 1989, maciicx,  macii,    0,   maciix,   macplus,  maciicx,    0,     "Apple Computer", "Macintosh IIcx",  GAME_NOT_WORKING )
988COMP( 1988, mac2fdhd, 0,   0,   macii,    macplus,  maciifdhd,    0,     "Apple Computer", "Macintosh II (FDHD)",  GAME_NOT_WORKING )
989COMP( 1988, maciix,   mac2fdhd, 0,   maciix,   macplus,  maciix,    0,     "Apple Computer", "Macintosh IIx",  GAME_NOT_WORKING )
990COMP( 1989, macse30,  mac2fdhd, 0,   macse30,  macplus,  macse30,    0,     "Apple Computer", "Macintosh SE/30",  GAME_NOT_WORKING )
991COMP( 1989, maciicx,  mac2fdhd, 0,   maciix,   macplus,  maciicx,    0,     "Apple Computer", "Macintosh IIcx",  GAME_NOT_WORKING )
992992COMP( 1989, maciici,  0,   0,   maciici,  macplus,  maciici,    0,     "Apple Computer", "Macintosh IIci",  GAME_NOT_WORKING )
993993COMP( 1990, macclasc, 0,   0,   macse,    macplus,  macclassic,    0,     "Apple Computer", "Macintosh Classic",  GAME_NOT_WORKING )
994994COMP( 1990, maclc,    0,   0,   maclc,    macplus,  maclc,    0,     "Apple Computer", "Macintosh LC",  GAME_NOT_WORKING )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team