Previous 15994 Revisions Next

r14979 Friday 20th April, 2012 at 12:12:33 UTC by Robbbert
Added skeleton Powertran Cortex, a TI-based computer (Thanks Kaylee).
[src/mess]mess.lst mess.mak
[src/mess/drivers]cortex.c*

src/mess/mess.lst
r14978r14979
21072107borisdpl
21082108cp1
21092109c900
2110cortex
src/mess/drivers/cortex.c
r0r14979
1/***************************************************************************
2
3        Powertran Cortex
4
5        20/04/2012 Skeleton driver.
6
7        ftp://ftp.whtech.com/Powertran Cortex/
8        http://www.powertrancortex.com/index.html
9
10        Uses Texas Instruments parts and similar to other TI computers.
11        It was designed by TI engineers, so it may perhaps be a clone
12        of another TI or the Geneve.
13
14        Video chip is TMS9928 or TMS9929.
15
16        64K RAM.
17        I saw somewhere that the roms are copied into ram at startup.
18
19****************************************************************************/
20
21#include "emu.h"
22#include "cpu/tms9900/tms9900.h"
23
24class cortex_state : public driver_device
25{
26public:
27   cortex_state(const machine_config &mconfig, device_type type, const char *tag)
28      : driver_device(mconfig, type, tag) { }
29
30};
31
32static ADDRESS_MAP_START( cortex_mem, AS_PROGRAM, 8, cortex_state )
33   ADDRESS_MAP_UNMAP_HIGH
34   AM_RANGE(0x0000, 0x5fff) AM_ROM
35   AM_RANGE(0x6000, 0xffff) AM_RAM
36ADDRESS_MAP_END
37
38static ADDRESS_MAP_START( cortex_io, AS_IO, 8, cortex_state )
39   ADDRESS_MAP_UNMAP_HIGH
40ADDRESS_MAP_END
41
42/* Input ports */
43static INPUT_PORTS_START( cortex )
44INPUT_PORTS_END
45
46
47static MACHINE_RESET( cortex )
48{
49}
50
51static VIDEO_START( cortex )
52{
53}
54
55static SCREEN_UPDATE_IND16( cortex )
56{
57   return 0;
58}
59
60static const struct tms9995reset_param cortex_processor_config =
61{
62   0,   /* disable automatic wait state generation */
63   0,   /* no IDLE callback */
64   0   /* no MP9537 mask */
65};
66
67
68static MACHINE_CONFIG_START( cortex, cortex_state )
69   /* basic machine hardware */
70   /* TMS9995 CPU @ 12.0 MHz */
71   MCFG_CPU_ADD("maincpu", TMS9995, 12000000)
72   MCFG_CPU_CONFIG(cortex_processor_config)
73   MCFG_CPU_PROGRAM_MAP(cortex_mem)
74   MCFG_CPU_IO_MAP(cortex_io)
75
76   MCFG_MACHINE_RESET(cortex)
77
78   /* video hardware */
79   MCFG_SCREEN_ADD("screen", RASTER)
80   MCFG_SCREEN_REFRESH_RATE(50)
81   MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
82   MCFG_SCREEN_SIZE(640, 480)
83   MCFG_SCREEN_VISIBLE_AREA(0, 640-1, 0, 480-1)
84   MCFG_VIDEO_START(cortex)
85   MCFG_SCREEN_UPDATE_STATIC(cortex)
86   MCFG_PALETTE_LENGTH(2)
87   MCFG_PALETTE_INIT(black_and_white)
88MACHINE_CONFIG_END
89
90/* ROM definition */
91ROM_START( cortex )
92   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
93   ROM_SYSTEM_BIOS(0, "basic", "Cortex Bios")
94   ROMX_LOAD( "cortex_ic47.bin", 0x0000, 0x2000, CRC(bdb8c7bd) SHA1(340829dcb7a65f2e830fd5aff82a312e3ed7918f), ROM_BIOS(1))
95   ROMX_LOAD( "cortex_ic46.bin", 0x2000, 0x2000, CRC(4de459ea) SHA1(00a42fe556d4ffe1f85b2ce369f544b07fbd06d9), ROM_BIOS(1))
96   ROMX_LOAD( "cortex_ic45.bin", 0x4000, 0x2000, CRC(b0c9b6e8) SHA1(4e20c3f0b7546b803da4805cd3b8616f96c3d923), ROM_BIOS(1))
97   ROM_SYSTEM_BIOS(1, "forth", "FIG-Forth")
98   ROMX_LOAD( "forth_ic47.bin",  0x0000, 0x2000, CRC(999034be) SHA1(0dcc7404c38aa0ae913101eb0aa98da82104b5d4), ROM_BIOS(2))
99   ROMX_LOAD( "forth_ic46.bin",  0x2000, 0x2000, CRC(8eca54cc) SHA1(0f1680e941ef60bb9bde9a4b843b78f30dff3202), ROM_BIOS(2))
100ROM_END
101
102/* Driver */
103
104/*    YEAR  NAME    PARENT  COMPAT   MACHINE    INPUT    INIT    COMPANY                  FULLNAME       FLAGS */
105COMP( 1982, cortex, 0,      0,       cortex,    cortex,  0,    "Powertran Cybernetics",   "Cortex", GAME_NOT_WORKING | GAME_NO_SOUND)
src/mess/mess.mak
r14978r14979
18681868   $(MESS_DRIVERS)/chesstrv.o   \
18691869   $(MESS_DRIVERS)/cd2650.o   \
18701870   $(MESS_DRIVERS)/codata.o   \
1871   $(MESS_DRIVERS)/cortex.o   \
18711872   $(MESS_DRIVERS)/cosmicos.o   \
18721873   $(MESS_DRIVERS)/cp1.o      \
18731874   $(MESS_DRIVERS)/csc.o      \

Previous 15994 Revisions Next


© 1998-2018 The MESS Team