Previous 15994 Revisions Next

r12865 Friday 16th September, 2011 at 13:39:02 UTC by Angelo Salese
[VT240]: basic fixing of ROM loading
[src/emu/cpu/i8085]8085dasm.c
[src/mess/drivers]vt240.c

src/emu/cpu/i8085/8085dasm.c
r12864r12865
4747/* 8080/8085A mnemonics were more irritation than information
4848   What would you guess "CP $3456" to mean? It's not compare,
4949   but call if plus ... therefore: */
50//#define Z80_MNEMONICS
50#define Z80_MNEMONICS
5151
5252#define OP(A)   oprom[(A) - PC]
5353#define ARG(A)  opram[(A) - PC]
src/mess/drivers/vt240.c
r12864r12865
44
55        31/03/2010 Skeleton driver.
66
7   ROM POST notes:
8   0x0139: ROM test
9   0x015f: RAM test
10   0x0071: RAM fill to 0x00
11   0x1c8f: UPD7220
712
8    mc7105 - failing the rom check. If you skip that, it is waiting on i/o.
9
1013****************************************************************************/
1114#define ADDRESS_MAP_MODERN
1215
r12864r12865
3336
3437static ADDRESS_MAP_START(vt240_mem, AS_PROGRAM, 8, vt240_state)
3538   ADDRESS_MAP_UNMAP_HIGH
36   AM_RANGE(0x0000, 0x7fff) AM_ROM
39   AM_RANGE(0x0000, 0x3fff) AM_ROM AM_REGION("ipl", 0)
40   AM_RANGE(0x4000, 0x5fff) AM_ROM AM_REGION("ipl", 0x8000)
3741   AM_RANGE(0x8000, 0x87ff) AM_RAM
3842ADDRESS_MAP_END
3943
r12864r12865
8488
8589/* ROM definition */
8690ROM_START( mc7105 )
87   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
91   ROM_REGION( 0x10000, "ipl", ROMREGION_ERASEFF )
8892   ROM_LOAD( "027.bin", 0x8000, 0x8000, CRC(a159b412) SHA1(956097ccc2652d494258b3682498cfd3096d7d4f))
8993   ROM_LOAD( "028.bin", 0x0000, 0x8000, CRC(b253151f) SHA1(22ffeef8eb5df3c38bfe91266f26d1e7822cdb53))
90   ROM_FILL( 0x006e, 3, 0 )   // hack to skip the failing rom test
9194
9295   ROM_REGION( 0x20000, "subcpu", ROMREGION_ERASEFF )
9396   ROM_LOAD16_BYTE( "029.bin", 0x00000, 0x8000, CRC(4a6db217) SHA1(47637325609ea19ffab61fe31e2700d72fa50729))

Previous 15994 Revisions Next


© 1998-2018 The MESS Team