Previous 199869 Revisions Next

r20238 Sunday 13th January, 2013 at 08:11:15 UTC by Robbbert
(MESS) Sol20 : more roms from Nama (nw)
[src/mess/drivers]ptcsol.c

trunk/src/mess/drivers/ptcsol.c
r20237r20238
1717    Note that the CONSOL rom is basically a dumb terminal program and doesn't
1818    do anything useful unless the MODE key (whatever that is) is pressed.
1919
20    CUTER is a relocatable cassette-based alternative to SOLOS.
20    CUTER is a relocatable cassette-based alternative to SOLOS. According
21    to the manual, it should work if the sense switches are set to on. But,
22    it continuously reads port 00 and does nothing.
2123
22    Need a dump of BOOTLOAD. Need a tape of CUTER. Need orginal dumps of
23    SOLOS, DPMON and CONSOL.
24    Need original dumps of all roms.
2425
2526    The character roms are built by a script from the Solace source, then the
2627    characters moved back to the original 7x9 matrix positions, as shown in
r20237r20238
129130   m_cass2(*this, CASSETTE2_TAG),
130131   m_uart(*this, "uart"),
131132   m_uart_s(*this, "uart_s"),
132   m_p_videoram(*this, "p_videoram"),
133   m_p_videoram(*this, "videoram"),
133134   m_iop_arrows(*this, "ARROWS"),
134135   m_iop_config(*this, "CONFIG"),
135136   m_iop_s1(*this, "S1"),
r20237r20238
407408   AM_RANGE(0X0800, 0Xbfff) AM_RAM // optional s100 ram
408409   AM_RANGE(0xc000, 0xc7ff) AM_ROM
409410   AM_RANGE(0Xc800, 0Xcbff) AM_RAM // system ram
410   AM_RANGE(0Xcc00, 0Xcfff) AM_RAM AM_SHARE("p_videoram")
411   AM_RANGE(0Xcc00, 0Xcfff) AM_RAM AM_SHARE("videoram")
411412   AM_RANGE(0Xd000, 0Xffff) AM_RAM // optional s100 ram
412413ADDRESS_MAP_END
413414
r20237r20238
622623   UINT16 sy=0,ma,x,inv;
623624   UINT8 polarity = (s1 & 8) ? 0xff : 0;
624625
625   UINT8 cursor_inv = FALSE;
626   bool cursor_inv = false;
626627   if (((s1 & 0x30) == 0x20) || (((s1 & 0x30) == 0x10) && (m_framecnt & 0x08)))
627      cursor_inv = TRUE;
628      cursor_inv = true;
628629
629630   m_framecnt++;
630631
r20237r20238
642643            chr = m_p_videoram[x & 0x3ff];
643644
644645            // cursor
645            if (BIT(chr, 7) && cursor_inv)
646            if (BIT(chr, 7) & cursor_inv)
646647               inv ^= 0xff;
647648
648649            chr &= 0x7f;
r20237r20238
674675            *p++ = BIT(gfx, 2);
675676            *p++ = BIT(gfx, 1);
676677            *p++ = BIT(gfx, 0);
677            *p++ = (inv) ? 1 : 0;
678            *p++ = BIT(inv, 0);
678679         }
679680      }
680681      ma+=64;
r20237r20238
757758   ROMX_LOAD( "consol.bin", 0xc000, 0x0400, BAD_DUMP CRC(80bf6d85) SHA1(84b81c60bb08a3a5435ec1be56a67aa695bce099), ROM_BIOS(3) )
758759   ROM_SYSTEM_BIOS(3, "Solos2", "Solos Patched")
759760   ROMX_LOAD( "solos2.bin", 0xc000, 0x0800, CRC(7776cc7d) SHA1(c4739a9ea7e8146ce7ae3305ed526b6045efa9d6), ROM_BIOS(4) ) // from Nama
761   ROM_SYSTEM_BIOS(4, "BOOTLOAD", "BOOTLOAD")
762   ROMX_LOAD( "bootload.bin", 0xc000, 0x0800, BAD_DUMP CRC(4261ac71) SHA1(4752408ac85d88857e8e9171c7f42bd623c9271e), ROM_BIOS(5) ) // from Nama
763//        This one doesn't work
764   ROM_SYSTEM_BIOS(5, "CUTER", "CUTER")
765   ROMX_LOAD( "cuter.bin", 0xc000, 0x0800, BAD_DUMP CRC(39cca901) SHA1(33725d6da63e295552ee13f0a735d33aee8f0d17), ROM_BIOS(6) ) // from Nama
760766
761767   ROM_REGION( 0x1000, "chargen", 0 )
762768   ROM_LOAD( "6574.bin", 0x0000, 0x0800, BAD_DUMP CRC(fd75df4f) SHA1(4d09aae2f933478532b7d3d1a2dee7123d9828ca) )
r20237r20238
764770ROM_END
765771
766772/* Driver */
767/*    YEAR  NAME    PARENT  COMPAT  MACHINE  INPUT  INIT               COMPANY                 FULLNAME  FLAGS */
773/*    YEAR  NAME    PARENT  COMPAT  MACHINE  INPUT  CLASS        INIT               COMPANY                 FULLNAME  FLAGS */
768774COMP( 1976, sol20,  0,      0,      sol20,   sol20, sol20_state, sol20, "Processor Technology Corporation", "SOL-20", 0 )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team