Previous 15994 Revisions Next

r2534 Sunday 4th May, 2008 at 03:10:04 UTC by Robbbert
[TI99_4X] Temporary workaround.
[src/mess/drivers]ti99_4x.c

src/mess/drivers/ti99_4x.c
r2533r2534
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*/
2019
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
2124#include "driver.h"
2225#include "deprecat.h"
2326#include "video/v9938.h"
r2533r2534
4245*/
4346
4447static ADDRESS_MAP_START(memmap, ADDRESS_SPACE_PROGRAM, 16)
45
48   ADDRESS_MAP_GLOBAL_MASK(0xffff)
4649   AM_RANGE(0x0000, 0x1fff) AM_ROM                              /*system ROM*/
4750   AM_RANGE(0x2000, 0x3fff) AM_READWRITE(ti99_nop_8_r, ti99_nop_8_w)   /*lower 8kb of RAM extension - installed dynamically*/
48   AM_RANGE(0x4000, 0x5fff) AM_READWRITE(ti99_4x_peb_r, ti99_4x_peb_w)   /*DSR ROM space*/
51//   AM_RANGE(0x4000, 0x5fff) AM_READWRITE(ti99_4x_peb_r, ti99_4x_peb_w)   /*DSR ROM space*/
4952   AM_RANGE(0x6000, 0x7fff) AM_READWRITE(ti99_cart_r, ti99_cart_w)      /*cartridge memory*/
5053   AM_RANGE(0x8000, 0x80ff) AM_MIRROR(0x0300) AM_RAMBANK(1)         /*RAM PAD, mirrored 4 times*/
5154   AM_RANGE(0x8400, 0x87ff) AM_READWRITE(ti99_nop_8_r, ti99_wsnd_w)   /*soundchip write*/
r2533r2534
6063ADDRESS_MAP_END
6164
6265static ADDRESS_MAP_START(memmap_4ev, ADDRESS_SPACE_PROGRAM, 16)
63
66   ADDRESS_MAP_GLOBAL_MASK(0xffff)
6467   AM_RANGE(0x0000, 0x1fff) AM_ROM                              /*system ROM*/
6568   AM_RANGE(0x2000, 0x3fff) AM_READWRITE(ti99_nop_8_r, ti99_nop_8_w)   /*lower 8kb of RAM extension - installed dynamically*/
66   AM_RANGE(0x4000, 0x5fff) AM_READWRITE(ti99_4x_peb_r, ti99_4x_peb_w)   /*DSR ROM space*/
69//   AM_RANGE(0x4000, 0x5fff) AM_READWRITE(ti99_4x_peb_r, ti99_4x_peb_w)   /*DSR ROM space*/
6770   AM_RANGE(0x6000, 0x7fff) AM_READWRITE(ti99_cart_r, ti99_cart_w)      /*cartridge memory*/
6871   AM_RANGE(0x8000, 0x80ff) AM_MIRROR(0x0300) AM_RAMBANK(1)         /*RAM PAD, mirrored 4 times*/
6972   AM_RANGE(0x8400, 0x87ff) AM_READWRITE(ti99_nop_8_r, ti99_wsnd_w)   /*soundchip write*/

Previous 15994 Revisions Next


© 1998-2018 The MESS Team