Previous 199869 Revisions Next

r18964 Wednesday 14th November, 2012 at 21:40:47 UTC by Angelo Salese
Ok, found a preliminary memory map ...
[src/mess/drivers]apc.c

trunk/src/mess/drivers/apc.c
r18963r18964
7777
7878static ADDRESS_MAP_START( apc_map, AS_PROGRAM, 16, apc_state )
7979   AM_RANGE(0x00000, 0x1ffff) AM_RAM
80   AM_RANGE(0xa0000, 0xaffff) AM_ROM AM_REGION("file", 0)
80//   AM_RANGE(0xa0000, 0xaffff) AM_ROM AM_REGION("file", 0)
8181   AM_RANGE(0xfe000, 0xfffff) AM_ROM AM_REGION("ipl", 0)
8282ADDRESS_MAP_END
8383
8484static ADDRESS_MAP_START( apc_io, AS_IO, 16, apc_state )
8585//  ADDRESS_MAP_GLOBAL_MASK(0xff)
86//   AM_RANGE(0x00, 0x1f) i8237
8687//   AM_RANGE(0x20, 0x23) i8259 master
8788//   AM_RANGE(0x28, 0x2b) i8259 slave
88//   0x2f RTC it_mode
89   AM_RANGE(0x40, 0x43) AM_DEVREADWRITE8("upd7220_chr", upd7220_device, read, write, 0x00ff)
90//  0x46 RTC CRT_IRST
91//   AM_RANGE(0x50, 0x53) AM_DEVREADWRITE8("upd7220_btm", upd7220_device, read, write, 0x00ff)
92//   AM_RANGE(0x60, 0x??) "melody"
93//   AM_RANGE(0x68, 0x6f) i8255 (0x6a par_data 0x6e par_stat ... printer port)
94//  0x2920? RTC IT_CNT0
95//   ??? serial port
89//   0x2b RTC counter port 0
90//   0x2f RTC counter mode 0 (w)
91//   0x30, 0x37 serial port 0/1 (i8251) (even/odd)
92//   0x38, 0x3f DMA extended address
93   AM_RANGE(0x40, 0x43) AM_DEVREADWRITE8("upd7220_chr", upd7220_device, read, write, 0x00ff) // odd address UPD7220 #2!
94//  0x46 UPD7220 reset interrupt
95//   0x48, 0x4f keyboard controller
96//   0x50, 0x53 upd765
97//   0x5a  APU data (Arithmetic Processing Unit!)
98//   0x5e  APU status/command
99//   0x60 Melody Processing Unit
100//   0x61 RTC counter port 1
101//   0x67 RTC counter mode 1 (w)
102//   AM_RANGE(0x68, 0x6f) i8255 , printer port (A: status (R) B: data (W) C: command (W))
103//   AM_DEVREADWRITE8("upd7220_btm", upd7220_device, read, write, 0x00ff)
104
96105ADDRESS_MAP_END
97106
98107static INPUT_PORTS_START( apc )
r18963r18964
252261   ROM_LOAD16_BYTE( "pfbu2j.bin",   0x00000, 0x001000, CRC(86970df5) SHA1(be59c5dad3bd8afc21e9f2f1404553d4371978be) )
253262    ROM_LOAD16_BYTE( "pfbu2l.bin",   0x00001, 0x001000, CRC(38df2e70) SHA1(a37ccaea00c2b290610d354de08b489fa897ec48) )
254263
255   ROM_REGION( 0x10000, "file", ROMREGION_ERASE00 )
264//   ROM_REGION( 0x10000, "file", ROMREGION_ERASE00 )
256265//   ROM_LOAD( "sioapc.o", 0, 0x10000, CRC(1) SHA1(1) )
257266
258267   ROM_REGION( 0x2000, "gfx", ROMREGION_ERASE00 )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team