Previous 15994 Revisions Next

r4988 Wednesday 10th June, 2009 at 16:37:02 UTC by Curt Coder
[PROF80] Added GRIP-5 bios.
[src/mess/drivers]prof80.c

src/mess/drivers/prof80.c
r4987r4988
1414   TODO:
1515
1616   - MC6845 DE callback is broken
17   - Z80 STI (Mostek MK3801) push-model
18   - RAM banking
19   - floppy access
17   - PROF-80 RAM banking
18   - PROF-80 floppy access
2019   - UNIO card (Z80-STI, Z80-SIO, 2x centronics)
2120   - GRIP-COLOR (192kB color RAM)
22   - GRIP 1/2/3/4/5 selection
21   - GRIP selection
22   - GRIP-5 (HD6345, 256KB RAM)
23   - XR color card
2324   
2425*/
2526
r4987r4988
463464//   AM_RANGE(0xf0, 0xf0) AM_WRITE(clrg1_w)
464465ADDRESS_MAP_END
465466
467static ADDRESS_MAP_START( grip5_mem, ADDRESS_SPACE_PROGRAM, 8 )
468    AM_RANGE(0x0000, 0x3fff) AM_ROMBANK(18)
469    AM_RANGE(0x4000, 0x47ff) AM_RAM
470    AM_RANGE(0x8000, 0xffff) AM_RAMBANK(17)
471ADDRESS_MAP_END
472
473static ADDRESS_MAP_START( grip5_io, ADDRESS_SPACE_IO, 8 )
474   ADDRESS_MAP_GLOBAL_MASK(0xff)
475   AM_RANGE(0x00, 0x00) AM_READWRITE(cxstb_r, cxstb_w)
476//   AM_RANGE(0x10, 0x10) AM_WRITE(eprom_w)
477//   AM_RANGE(0x11, 0x11) AM_WRITE(vol0_w)
478//   AM_RANGE(0x12, 0x12) AM_WRITE(rts_w)
479   AM_RANGE(0x13, 0x13) AM_WRITE(page_w)
480//   AM_RANGE(0x14, 0x14) AM_WRITE(str_w)
481//   AM_RANGE(0x15, 0x15) AM_WRITE(intl_w)
482//   AM_RANGE(0x16, 0x16) AM_WRITE(dpage_w)
483//   AM_RANGE(0x17, 0x17) AM_WRITE(vol1_w)
484   AM_RANGE(0x20, 0x2f) AM_DEVREADWRITE(Z80STI_TAG, z80sti_r, z80sti_w)
485   AM_RANGE(0x30, 0x30) AM_READWRITE(lrs_r, lrs_w)
486   AM_RANGE(0x40, 0x40) AM_READ(stat_r)
487   AM_RANGE(0x50, 0x50) AM_DEVWRITE(MC6845_TAG, mc6845_address_w)
488   AM_RANGE(0x52, 0x52) AM_DEVWRITE(MC6845_TAG, mc6845_register_w)
489   AM_RANGE(0x53, 0x53) AM_DEVREAD(MC6845_TAG, mc6845_register_r)
490   AM_RANGE(0x60, 0x60) AM_DEVWRITE("centronics", centronics_data_w)
491   AM_RANGE(0x70, 0x73) AM_DEVREADWRITE(PPI8255_TAG, ppi8255_r, ppi8255_w)
492
493//   AM_RANGE(0x80, 0x80) AM_WRITE(xrflgs_w)
494//   AM_RANGE(0xc0, 0xc0) AM_WRITE(xrclrg_w)
495//   AM_RANGE(0xe0, 0xe0) AM_WRITE(xrclu0_w)
496//   AM_RANGE(0xe1, 0xe1) AM_WRITE(xrclu1_w)
497//   AM_RANGE(0xe2, 0xe2) AM_WRITE(xrclu2_w)
498
499//   AM_RANGE(0x80, 0x80) AM_WRITE(bl2out_w)
500//   AM_RANGE(0x90, 0x90) AM_WRITE(gr2out_w)
501//   AM_RANGE(0xa0, 0xa0) AM_WRITE(rd2out_w)
502//   AM_RANGE(0xb0, 0xb0) AM_WRITE(clrg2_w)
503//   AM_RANGE(0xc0, 0xc0) AM_WRITE(bluout_w)
504//   AM_RANGE(0xd0, 0xd0) AM_WRITE(grnout_w)
505//   AM_RANGE(0xe0, 0xe0) AM_WRITE(redout_w)
506//   AM_RANGE(0xf0, 0xf0) AM_WRITE(clrg1_w)
507ADDRESS_MAP_END
508
466509/* Input Ports */
467510
468511INPUT_PORTS_START( prof80 )
r4987r4988
874917   ROM_LOAD( "grip26.z2", 0x0000, 0x4000, CRC(a1c424f0) SHA1(83942bc75b9475f044f936b8d9d7540551d87db9) )
875918   ROM_LOAD( "grip31.z2", 0x0000, 0x4000, CRC(e0e4e8ab) SHA1(73d3d14c9b06fed0c187fb0fffe5ec035d8dd256) )
876919   ROM_LOAD( "grip25.z2", 0x0000, 0x4000, CRC(49ebb284) SHA1(0a7eaaf89da6db2750f820146c8f480b7157c6c7) )
920
921   ROM_REGION( 0x8000, "grip5", 0 )
922   ROM_LOAD( "grip562.z2", 0x0000, 0x8000, CRC(74be0455) SHA1(1c423ecca6363345a8690ddc45dbafdf277490d3) )
877923ROM_END
878924
879925/* System Configurations */

Previous 15994 Revisions Next


© 1998-2018 The MESS Team