Previous 15994 Revisions Next

r2599 Saturday 10th May, 2008 at 23:54:43 UTC by Nathan Woods
[TI99] Fixed disk controller. [Michael Zapf]
[docs]messnew.txt
[src/mess/drivers]ti99_4x.c
[src/mess/machine]99_peb.c

src/mess/machine/99_peb.c
r2598r2599
404404   activecpu_adjust_icount(-4);
405405
406406   /* simulate byte write */
407   data = (tmp_buffer & mem_mask) | (data & ~mem_mask);
407   data = (tmp_buffer & ~mem_mask) | (data & mem_mask);
408408
409409   if (active_card != -1)
410410   {
r2598r2599
689689
690690         handler16 = ti99_4p_expansion_ports[active_card].w.width_16bit.mem_read;
691691         if (handler16)
692            reply = (*handler16)(machine, offset, /*mem_mask*/0);
692            reply = (*handler16)(machine, offset, /*mem_mask*/0xffff);
693693      }
694694   }
695695
r2598r2599
721721   else
722722   {
723723      /* simulate byte write */
724      data = (tmp_buffer & mem_mask) | (data & ~mem_mask);
724      data = (tmp_buffer & ~mem_mask) | (data & mem_mask);
725725
726726      if (ti99_4p_expansion_ports[active_card].width == width_8bit)
727727      {
r2598r2599
740740
741741         handler16 = ti99_4p_expansion_ports[active_card].w.width_16bit.mem_write;
742742         if (handler16)
743            (*handler16)(machine, offset, data, /*mem_mask*/0);
743            (*handler16)(machine, offset, data, /*mem_mask*/0xffff);
744744      }
745745   }
746746}
src/mess/drivers/ti99_4x.c
r2598r2599
1616Historical notes: TI made several last minute design changes.
1717    * TI99/4 prototypes had an extra port for an I/R joystick and keypad interface.
1818    * early TI99/4 prototypes were designed for a tms9985, not a tms9900.
19*/
1920
20Note: Changes in MAME 0.124u4 caused the execution of code via the read handlers to no longer work.
21   Therefore, the PEB at 4000-5FFF is commented out until a solution is found.
22   Also, the ti99_4ev title screen isn't working. Press 1 to enter Basic. */
23
2421#include "driver.h"
2522#include "deprecat.h"
2623#include "video/v9938.h"
r2598r2599
4845   ADDRESS_MAP_GLOBAL_MASK(0xffff)
4946   AM_RANGE(0x0000, 0x1fff) AM_ROM                              /*system ROM*/
5047   AM_RANGE(0x2000, 0x3fff) AM_READWRITE(ti99_nop_8_r, ti99_nop_8_w)   /*lower 8kb of RAM extension - installed dynamically*/
51//   AM_RANGE(0x4000, 0x5fff) AM_READWRITE(ti99_4x_peb_r, ti99_4x_peb_w)   /*DSR ROM space*/
48   AM_RANGE(0x4000, 0x5fff) AM_READWRITE(ti99_4x_peb_r, ti99_4x_peb_w)   /*DSR ROM space*/
5249   AM_RANGE(0x6000, 0x7fff) AM_READWRITE(ti99_cart_r, ti99_cart_w)      /*cartridge memory*/
5350   AM_RANGE(0x8000, 0x80ff) AM_MIRROR(0x0300) AM_RAMBANK(1)         /*RAM PAD, mirrored 4 times*/
5451   AM_RANGE(0x8400, 0x87ff) AM_READWRITE(ti99_nop_8_r, ti99_wsnd_w)   /*soundchip write*/
r2598r2599
6663   ADDRESS_MAP_GLOBAL_MASK(0xffff)
6764   AM_RANGE(0x0000, 0x1fff) AM_ROM                              /*system ROM*/
6865   AM_RANGE(0x2000, 0x3fff) AM_READWRITE(ti99_nop_8_r, ti99_nop_8_w)   /*lower 8kb of RAM extension - installed dynamically*/
69//   AM_RANGE(0x4000, 0x5fff) AM_READWRITE(ti99_4x_peb_r, ti99_4x_peb_w)   /*DSR ROM space*/
66   AM_RANGE(0x4000, 0x5fff) AM_READWRITE(ti99_4x_peb_r, ti99_4x_peb_w)   /*DSR ROM space*/
7067   AM_RANGE(0x6000, 0x7fff) AM_READWRITE(ti99_cart_r, ti99_cart_w)      /*cartridge memory*/
7168   AM_RANGE(0x8000, 0x80ff) AM_MIRROR(0x0300) AM_RAMBANK(1)         /*RAM PAD, mirrored 4 times*/
7269   AM_RANGE(0x8400, 0x87ff) AM_READWRITE(ti99_nop_8_r, ti99_wsnd_w)   /*soundchip write*/
docs/messnew.txt
r2598r2599
88
99System Driver Changes:
1010----------------------
11(none)
11- [TI99] Fixed disk controller.  [Michael Zapf]
1212
1313
1414

Previous 15994 Revisions Next


© 1998-2018 The MESS Team