mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
(MESS) Correct VT220 xtal, and add the romset listed in the schematics as NO_DUMP. [Lord Nightmare]
This commit is contained in:
parent
92547ac8a0
commit
35890052f4
@ -110,7 +110,7 @@ enum
|
||||
XTAL_10_738635MHz = 10738635, /* TMS9918 family (3x NTSC subcarrier) */
|
||||
XTAL_10_816MHz = 10816000, /* Universal 1979-1980 (Cosmic Alien, etc) */
|
||||
XTAL_11MHz = 11000000, /* Mario I8039 sound */
|
||||
XTAL_11_0592MHz = 11059200, /* Lethal Justice, Ruleta RE-900 */
|
||||
XTAL_11_0592MHz = 11059200, /* Lethal Justice, Ruleta RE-900, DEC VT220 */
|
||||
XTAL_11_2MHz = 11200000, /* New York, New York */
|
||||
XTAL_11_289MHz = 11289000, /* Vanguard */
|
||||
XTAL_11_4MHz = 11400000, /* HP 9845 */
|
||||
|
@ -60,7 +60,7 @@ UINT32 vt220_state::screen_update_vt220(screen_device &screen, bitmap_ind16 &bit
|
||||
|
||||
static MACHINE_CONFIG_START( vt220, vt220_state )
|
||||
/* basic machine hardware */
|
||||
MCFG_CPU_ADD("maincpu", I8051, XTAL_16MHz)
|
||||
MCFG_CPU_ADD("maincpu", I8051, XTAL_11_0592MHz) // from schematic
|
||||
MCFG_CPU_PROGRAM_MAP(vt220_mem)
|
||||
MCFG_CPU_IO_MAP(vt220_io)
|
||||
|
||||
@ -85,18 +85,26 @@ MACHINE_CONFIG_END
|
||||
ROM_START( vt220 )
|
||||
ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
|
||||
ROM_DEFAULT_BIOS( "vt220" )
|
||||
ROM_SYSTEM_BIOS( 0, "vt220o", "VT220 Version 2.1" ) // this should probably be a subdriver of this file rather than a bios switch since the mcu is different and has code on it
|
||||
ROMX_LOAD( "23-183e5.e3", 0x0000, 0x4000, CRC(2848db40) SHA1(b3b029ef964c86ede68ad1b2854cfad766f20af0), ROM_BIOS(1)) // location e3 with jumper w7 present and w6 cut; the 8051 maps on top(?) of the first 0x1000 bytes of this rom, though this rom does seem to contain code there.
|
||||
ROMX_LOAD( "23-183e5.e3", 0x4000, 0x4000, CRC(2848db40) SHA1(b3b029ef964c86ede68ad1b2854cfad766f20af0), ROM_BIOS(1)) // the rom also maps to 4000-7fff as a14 is unconnected (do we have a ROMX_RELOAD I could use here instead of this?)
|
||||
ROMX_LOAD( "23-182e5.e4", 0x8000, 0x4000, CRC(c759bf9f) SHA1(6fe21e8eb9576fbcda76d7909b07859db0793c4e), ROM_BIOS(1)) // schematics show e4 holding a 0x2000 long rom, so an even earlier firmware probably exists
|
||||
ROMX_LOAD( "23-182e5.e4", 0xc000, 0x4000, CRC(c759bf9f) SHA1(6fe21e8eb9576fbcda76d7909b07859db0793c4e), ROM_BIOS(1)) // again a14 is unconnected here, so it maps at c000-ffff as well (do we have a ROMX_RELOAD I could use here instead of this?)
|
||||
ROM_SYSTEM_BIOS( 0, "vt220o", "VT220 from schematics" )
|
||||
ROMX_LOAD( "23-012e5.e3", 0x0000, 0x4000, NO_DUMP, ROM_BIOS(1)) // location e3 with jumper w7 present and w6 cut; the 8051 maps on top(?) of the first 0x1000 bytes of this rom, though this rom does seem to contain code there.
|
||||
ROMX_LOAD( "23-012e5.e3", 0x4000, 0x4000, NO_DUMP, ROM_BIOS(1)) // the rom also maps to 4000-7fff as a14 is unconnected (do we have a ROMX_RELOAD I could use here instead of this?)
|
||||
ROMX_LOAD( "23-248e4.e4", 0x8000, 0x2000, NO_DUMP, ROM_BIOS(1))
|
||||
// a000-bfff may be open bus or may be a mirror of above depending on whether the rom uses PGM/A13 as a secondary enable or not
|
||||
ROMX_LOAD( "23-248e4.e4", 0xc000, 0x2000, NO_DUMP, ROM_BIOS(1))
|
||||
// e000-ffff may be open bus or may be a mirror of above depending on whether the rom uses PGM/A13 as a secondary enable or not
|
||||
ROMX_LOAD( "23-011m1.e1", 0x0000, 0x1000, CRC(6c4930a9) SHA1(1200a5dbf431017a11a51b5c4c9b4e7952b0a2bb), ROM_BIOS(1)) // 8051 internal code, maps on top of the e3 rom at 0000-1000
|
||||
ROM_SYSTEM_BIOS( 1, "vt220", "VT220 Version 2.3" )
|
||||
ROMX_LOAD( "23-178e6.bin", 0x0000, 0x8000, CRC(cce5088c) SHA1(4638304729d1213658a96bb22c5211322b74d8fc), ROM_BIOS(2)) // probably location e3 with jumper w7 cut and w6 present, hence a14 connects to this rom. socket e4 would be empty so 8000-ffff is open bus
|
||||
ROM_SYSTEM_BIOS( 1, "vt220v21", "VT220 Version 2.1" )
|
||||
ROMX_LOAD( "23-183e5.e3", 0x0000, 0x4000, CRC(2848db40) SHA1(b3b029ef964c86ede68ad1b2854cfad766f20af0), ROM_BIOS(2)) // location e3 with jumper w7 present and w6 cut; the 8051 maps on top(?) of the first 0x1000 bytes of this rom, though this rom does seem to contain code there.
|
||||
ROMX_LOAD( "23-183e5.e3", 0x4000, 0x4000, CRC(2848db40) SHA1(b3b029ef964c86ede68ad1b2854cfad766f20af0), ROM_BIOS(2)) // the rom also maps to 4000-7fff as a14 is unconnected (do we have a ROMX_RELOAD I could use here instead of this?)
|
||||
ROMX_LOAD( "23-182e5.e4", 0x8000, 0x4000, CRC(c759bf9f) SHA1(6fe21e8eb9576fbcda76d7909b07859db0793c4e), ROM_BIOS(2))
|
||||
ROMX_LOAD( "23-182e5.e4", 0xc000, 0x4000, CRC(c759bf9f) SHA1(6fe21e8eb9576fbcda76d7909b07859db0793c4e), ROM_BIOS(2)) // again a14 is unconnected here, so it maps at c000-ffff as well (do we have a ROMX_RELOAD I could use here instead of this?)
|
||||
ROMX_LOAD( "23-011m1.e1", 0x0000, 0x1000, CRC(6c4930a9) SHA1(1200a5dbf431017a11a51b5c4c9b4e7952b0a2bb), ROM_BIOS(2)) // 8051 internal code, maps on top of the e3 rom at 0000-1000
|
||||
ROM_SYSTEM_BIOS( 2, "vt220", "VT220 Version 2.3" )
|
||||
ROMX_LOAD( "23-178e6.bin", 0x0000, 0x8000, CRC(cce5088c) SHA1(4638304729d1213658a96bb22c5211322b74d8fc), ROM_BIOS(3)) // probably location e3 with jumper w7 cut and w6 present, hence a14 connects to this rom. socket e4 would be empty so 8000-ffff is open bus
|
||||
|
||||
ROM_REGION( 0x4000, "chargen", ROMREGION_ERASEFF )
|
||||
ROM_LOAD( "23-348e4.e13", 0x0000, 0x2000, CRC(994f3e37) SHA1(fe72a9fe9adb3a24743a6288d88ae07570cfea9a)) // this can be read as well as a read/writable ram for custom characters which lives ?above? it in chargen address space by setting a bit in a config register. I haven't figured out where in 8051 address space it appears when readable nor where the ram appears.
|
||||
// other revisions of this chargen may exist!
|
||||
ROM_LOAD( "23-247e4.e13", 0x0000, 0x2000, NO_DUMP) // this is listed in the schematics
|
||||
ROM_LOAD( "23-348e4.e13", 0x0000, 0x2000, CRC(994f3e37) SHA1(fe72a9fe9adb3a24743a6288d88ae07570cfea9a)) // this can maybe be read as well as a read/writable ram for custom characters which lives ?above? it in chargen address space by setting a bit in a config register. I haven't figured out where in 8051 address space it appears when readable nor where the ram appears.
|
||||
ROM_END
|
||||
|
||||
/* Driver */
|
||||
|
Loading…
Reference in New Issue
Block a user