Previous 15994 Revisions Next

r4724 Sunday 17th May, 2009 at 04:01:52 UTC by Barry Rodewald
[FMTOWNS] Added basic memory map, updated some documentation.
[src/mess/drivers]fmtowns.c

src/mess/drivers/fmtowns.c
r4723r4724
55   Japanese computer system released in 1989.
66   
77   CPU:  AMD 80386SX (80387 available as add-on)
8   Sound:  Yamaha YM2612 (or YM3438?)
8   Sound:  Yamaha YM3438
99           Ricoh RF5c68
10   Video:  Custom(?)
10   Video:  VGA + some custom extra video hardware
1111           320x200 - 640x480
1212           16 - 32768 colours from a possible palette of between 4096 and
1313             16.7m colours (depending on video mode)
r4723r4724
2929#include "sound/rf5c68.h"
3030
3131static ADDRESS_MAP_START(towns_mem, ADDRESS_SPACE_PROGRAM, 32)
32   ADDRESS_MAP_UNMAP_HIGH
32  // memory map based on FM-Towns/Bochs (Bochs modified to emulate the FM-Towns)
33  // may not be (and probably is not) correct
34  AM_RANGE(0x000c0000, 0x000c7fff) AM_NOP  // GVRAM
35  AM_RANGE(0x000c8000, 0x000cffff) AM_NOP  // TVRAM
36  AM_RANGE(0x000d0000, 0x000d7fff) AM_ROM AM_REGION("user",0x100000)  // DIC ROM
37  AM_RANGE(0x000d8000, 0x000d9fff) AM_NOP  // CMOS RAM
38  AM_RANGE(0x000f8000, 0x000fffff) AM_ROM AM_REGION("user",0x238000)  // BOOT (SYSTEM) ROM
39  AM_RANGE(0x80000000, 0x8007ffff) AM_NOP  // VRAM
40  AM_RANGE(0x80100000, 0x8017ffff) AM_NOP  // VRAM (mirror? second page?)
41  AM_RANGE(0x81000000, 0x8101ffff) AM_NOP  // Sprite RAM
42  AM_RANGE(0xc2000000, 0xc207ffff) AM_ROM AM_REGION("user",0x000000)  // OS ROM
43  AM_RANGE(0xc2080000, 0xc20fffff) AM_ROM AM_REGION("user",0x100000)  // DIC ROM
44  AM_RANGE(0xc2100000, 0xc213ffff) AM_ROM AM_REGION("user",0x180000)  // FONT ROM
45  AM_RANGE(0xc2140000, 0xc2141fff) AM_NOP  // CMOS (mirror?)
46  AM_RANGE(0xc2200000, 0xc2200fff) AM_NOP  // WAVE RAM
47  AM_RANGE(0xfffc0000, 0xffffffff) AM_ROM AM_REGION("user",0x200000)  // SYSTEM ROM
3348ADDRESS_MAP_END
3449
3550static ADDRESS_MAP_START( towns_io , ADDRESS_SPACE_IO, 32)
r4723r4724
7287   
7388    /* sound hardware */
7489    MDRV_SPEAKER_STANDARD_MONO("mono")
75   MDRV_SOUND_ADD("fm", YM2612, 4000000) // actual clock speed unknown
76//   MDRV_SOUND_CONFIG(ym2612_interface)
90   MDRV_SOUND_ADD("fm", YM3438, 4000000) // actual clock speed unknown
91//   MDRV_SOUND_CONFIG(ym3438_interface)
7792   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
7893   MDRV_SOUND_ADD("pcm", RF5C68, 4000000)  // actual clock speed unknown
7994//   MDRV_SOUND_CONFIG(rf5c68_interface)
r4723r4724
85100
86101/* ROM definitions */
87102ROM_START( fmtowns )
88  ROM_REGION( 0x280000, "maincpu", ROMREGION_ERASEFF )
103  ROM_REGION32_LE( 0x280000, "user", 0)
89104   ROM_LOAD("fmt_dos.rom",  0x000000, 0x080000, CRC(112872ee) SHA1(57fd146478226f7f215caf63154c763a6d52165e) )
90105   ROM_LOAD("fmt_f20.rom",  0x080000, 0x080000, CRC(9f55a20c) SHA1(1920711cb66340bb741a760de187de2f76040b8c) )
91106   ROM_LOAD("fmt_dic.rom",  0x100000, 0x080000, CRC(82d1daa2) SHA1(7564020dba71deee27184824b84dbbbb7c72aa4e) )
r4723r4724
94109ROM_END
95110
96111ROM_START( fmtownsa )
97  ROM_REGION( 0x280000, "maincpu", ROMREGION_ERASEFF )
112  ROM_REGION32_LE( 0x280000, "user", 0)
98113   ROM_LOAD("fmt_dos.rom",  0x000000, 0x080000, CRC(22270e9f) SHA1(a7e97b25ff72b14121146137db8b45d6c66af2ae) )
99114   ROM_LOAD("fmt_f20.rom",  0x080000, 0x080000, CRC(75660aac) SHA1(6a521e1d2a632c26e53b83d2cc4b0edecfc1e68c) )
100115   ROM_LOAD("fmt_dic.rom",  0x100000, 0x080000, CRC(74b1d152) SHA1(f63602a1bd67c2ad63122bfb4ffdaf483510f6a8) )
r4723r4724
103118ROM_END
104119
105120ROM_START( fmtmarty )
106  ROM_REGION( 0x400000, "maincpu", ROMREGION_ERASEFF )
121  ROM_REGION32_LE( 0x400000, "user", 0)
107122   ROM_LOAD("mrom.m36",  0x000000, 0x200000, CRC(9c0c060c) SHA1(5721c5f9657c570638352fa9acac57fa8d0b94bd) )
108123   ROM_LOAD("mrom.m37",  0x200000, 0x200000, CRC(fb66bb56) SHA1(e273b5fa618373bdf7536495cd53c8aac1cce9a5) )
109124ROM_END

Previous 15994 Revisions Next


© 1998-2018 The MESS Team