Previous 15994 Revisions Next

r918 Sunday 2nd September, 2007 at 13:41:24 UTC by Nathan Woods
[X68000] DIM image fixes, implemented writing to the MFP interrupt pending
registers. [Barry Rodewald]
[docs]messnew.txt
[src/mess/drivers]x68k.c

src/mess/drivers/x68k.c
r917r918
532532   sys.mouse.inputtype++;
533533   if(sys.mouse.inputtype > 2)
534534   {
535      int val = scc_get_reg_b(0);
535536      sys.mouse.inputtype = 0;
536537      sys.mouse.bufferempty = 1;
538      val &= ~0x01;
539      scc_set_reg_b(0,val);
537540   }
538541
539542   return ipt;
r917r918
575578      if((scc_get_reg_b(5) & 0x02) != prev)
576579      {
577580         if(scc_get_reg_b(5) & 0x02)
581         {
582            int val = scc_get_reg_b(0);
578583            sys.mouse.bufferempty = 0;
584            val |= 0x01;
585            scc_set_reg_b(0,val);
586         }
579587      }
580588      break;
581589   case 1:
r917r918
783791
784792READ16_HANDLER( x68k_hdc_r )
785793{
786//   logerror("SASI: [%08x] read from HDC, offset %04x\n",activecpu_get_pc(),offset);
794   logerror("SASI: [%08x] read from HDC, offset %04x\n",activecpu_get_pc(),offset);
787795   switch(offset)
788796   {
789797   case 0x01:
r917r918
10141022   case 4:  // IERB
10151023      sys.mfp.ierb = data;
10161024      break;
1025   case 5:  // IPRA
1026      sys.mfp.ipra = data;
1027      break;
1028   case 6:  // IPRB
1029      sys.mfp.iprb = data;
1030      break;
10171031   case 7:
10181032      sys.mfp.isra = data;
10191033      break;
r917r918
16971711   // TODO: expand on this basic implementation
16981712
16991713   logerror("FDD: DIM image loaded - type %i, %i tracks, %i sectors per track, %i bytes per sector\n", format,tracks, sectors,sectorlen);
1700   basicdsk_set_geometry(image, 77, heads, sectors, sectorlen, firstsector, 0x100, FALSE);
1714   basicdsk_set_geometry(image, tracks+1, heads, sectors, sectorlen, firstsector, 0x100, FALSE);
17011715}
17021716
17031717DEVICE_LOAD( x68k_floppy )
docs/messnew.txt
r917r918
1111----------------------
1212- [3DO] Protection fixes.  [Ernesto Corvi]
1313
14- [AMIGA] Added CD-ROM and cartridge support, marked as working but with imperfect graphics,
15  added CDDA audio.  Bug fix to FDC.  [Ernesto Corvi]
14- [AMIGA] Added CD-ROM and cartridge support, marked as working but with
15  imperfect graphics, added CDDA audio.  Bug fix to FDC.  [Ernesto Corvi]
1616
1717- [AMIGA] Made battery backed-up RTC support configurable.  [Dirk Best]
1818
1919- [AMSTRAD] Palette fix.  [Barry Rodewald]
2020
21- [APPLE2GS] Fixed raster interrupts and scanline counter registers to fire at the proper
22  times.  Mouse pointer is no longer flickery in GUI apps and some border effects work in
23  the FTA XMAS DEMO.  [R. Belmont]
21- [APPLE2GS] Fixed raster interrupts and scanline counter registers to fire
22  at the proper times.  Mouse pointer is no longer flickery in GUI apps and
23  some border effects work in the FTA XMAS DEMO.  [R. Belmont]
2424
2525- [A2600] Added automatic input device selection.  [Cowering & Wilbert Pol]
2626
r917r918
3434
3535- [PC88] Fixed regression from 0.112.  [R. Belmont]
3636
37- [X68000] Supported more BIOSes, sprite fixes, made SRAM executable and added
38  an hsync timer.  [Barry Rodewald]
37- [X68000] Supported more BIOSes, sprite fixes, DIM image fixes, made SRAM
38  executable and added an hsync timer.  Implemented writing to the MFP
39  interrupt pending registers.  [Barry Rodewald]
3940
4041
4142

Previous 15994 Revisions Next


© 1998-2018 The MESS Team