Previous 15994 Revisions Next

r7620 Monday 22nd March, 2010 at 14:04:05 UTC by Miodrag Milanović
[DM7000] Things make more sense now
[src/mess/drivers]dm7000.c

src/mess/drivers/dm7000.c
r7619r7620
3939#include "emu.h"
4040#include "cpu/powerpc/ppc.h"
4141
42static ADDRESS_MAP_START( dm7000_mem, ADDRESS_SPACE_PROGRAM, 64 )
42/*
43 Memory map for the IBM "Redwood-4" STB03xxx evaluation board.
44
45 The  STB03xxx internal i/o addresses don't work for us 1:1,
46 so we need to map them at a well know virtual address.
47
48 4000 000x   uart1           -> 0xe000 000x
49 4001 00xx   ppu
50 4002 00xx   smart card
51 4003 000x   iic
52 4004 000x   uart0
53 4005 0xxx   timer
54 4006 00xx   gpio
55 4007 00xx   smart card
56 400b 000x   iic
57 400c 000x   scp
58 400d 000x   modem
59*/
60static ADDRESS_MAP_START( dm7000_mem, ADDRESS_SPACE_PROGRAM, 32 )
4361   ADDRESS_MAP_UNMAP_HIGH   
44   AM_RANGE(0x00000000, 0x0000ffff) AM_RAM    // placed for driver not to crash
45   AM_RANGE(0xa0000000, 0xa000ffff) AM_RAM    // placed for driver not to crash on real system 64MB of RAM
46   AM_RANGE(0xfff00000, 0xfff1ffff) AM_ROM AM_REGION("user1",0)
62   AM_RANGE(0x00000000, 0x01ffffff) AM_RAM   // RAM page 0 - 32MB
63   AM_RANGE(0x20000000, 0x21ffffff) AM_RAM // RAM page 1 - 32MB
64   AM_RANGE(0xfffe0000, 0xffffffff) AM_ROM AM_REGION("user1",0)
4765ADDRESS_MAP_END
4866
4967/* Input ports */
r7619r7620
6684
6785static MACHINE_DRIVER_START( dm7000 )
6886    /* basic machine hardware */
69    MDRV_CPU_ADD("maincpu",PPC603, 252000000)
87    MDRV_CPU_ADD("maincpu",PPC403GA, 252000000) // Should be PPC405
7088    MDRV_CPU_PROGRAM_MAP(dm7000_mem)
7189
7290    MDRV_MACHINE_RESET(dm7000)
r7619r7620
87105
88106/* ROM definition */
89107ROM_START( dm7000 )
90    ROM_REGION( 0x20000, "user1", ROMREGION_64BIT | ROMREGION_BE )
91   ROM_LOAD( "dm7000.bin", 0x0000, 0x20000, CRC(8a410f67) SHA1(9d6c9e4f5b05b28453d3558e69a207f05c766f54))
108    ROM_REGION( 0x20000, "user1", ROMREGION_32BIT | ROMREGION_BE  )
109   ROMX_LOAD( "dm7000.bin", 0x0000, 0x20000, CRC(8a410f67) SHA1(9d6c9e4f5b05b28453d3558e69a207f05c766f54), ROM_GROUPWORD )
92110ROM_END
93111
94112ROM_START( dm5620 )
95    ROM_REGION( 0x20000, "user1", ROMREGION_64BIT | ROMREGION_BE )
96   ROM_LOAD( "dm5620.bin", 0x0000, 0x20000, CRC(ccddb822) SHA1(3ecf553ced0671599438368f59d8d30df4d13ade))
113    ROM_REGION( 0x20000, "user1", ROMREGION_32BIT | ROMREGION_BE  )
114   ROMX_LOAD( "dm5620.bin", 0x0000, 0x20000, CRC(ccddb822) SHA1(3ecf553ced0671599438368f59d8d30df4d13ade), ROM_GROUPWORD )
97115ROM_END
98116
99117ROM_START( dm500 )
100    ROM_REGION( 0x20000, "user1", ROMREGION_64BIT | ROMREGION_BE )
118    ROM_REGION( 0x20000, "user1", ROMREGION_32BIT | ROMREGION_BE )
101119   ROM_SYSTEM_BIOS( 0, "alps", "Alps" )
102120    ROMX_LOAD( "dm500-alps-boot.bin",   0x0000, 0x20000, CRC(daf2da34) SHA1(68f3734b4589fcb3e73372e258040bc8b83fd739), ROM_GROUPWORD | ROM_REVERSE | ROM_BIOS(1))
103121   ROM_SYSTEM_BIOS( 1, "phil", "Philips" )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team