trunk/src/emu/bus/isa/cga.c
| r241499 | r241500 | |
| 1750 | 1750 | m_p3df = 0; |
| 1751 | 1751 | } |
| 1752 | 1752 | |
| 1753 | | ROM_START( iskr1031 ) |
| 1754 | | ROM_REGION(0x2000,"gfx1", 0) |
| 1755 | | ROM_LOAD( "iskra-1031_font.bin", 0x0000, 0x2000, CRC(f4d62e80) SHA1(ad7e81a0c9abc224671422bbcf6f6262da92b510)) |
| 1756 | | ROM_END |
| 1757 | | |
| 1758 | | const rom_entry *isa8_ec1841_0002_device::device_rom_region() const |
| 1759 | | { |
| 1760 | | return ROM_NAME( iskr1031 ); |
| 1761 | | } |
| 1762 | | |
| 1763 | 1753 | WRITE8_MEMBER( isa8_ec1841_0002_device::char_ram_write ) |
| 1764 | 1754 | { |
| 1765 | 1755 | offset ^= BIT(offset, 12); |
| r241499 | r241500 | |
| 1827 | 1817 | |
| 1828 | 1818 | } |
| 1829 | 1819 | |
| 1820 | ROM_START( cga_iskr1031 ) |
| 1821 | ROM_REGION(0x2000,"gfx1", 0) |
| 1822 | ROM_LOAD( "iskra-1031_font.bin", 0x0000, 0x2000, CRC(f4d62e80) SHA1(ad7e81a0c9abc224671422bbcf6f6262da92b510)) |
| 1823 | ROM_END |
| 1824 | |
| 1825 | //------------------------------------------------- |
| 1826 | // rom_region - device-specific ROM region |
| 1827 | //------------------------------------------------- |
| 1828 | |
| 1829 | const rom_entry *isa8_cga_iskr1031_device::device_rom_region() const |
| 1830 | { |
| 1831 | return ROM_NAME( cga_iskr1031 ); |
| 1832 | } |
| 1833 | |
| 1834 | const device_type ISA8_CGA_ISKR1031 = &device_creator<isa8_cga_iskr1031_device>; |
| 1835 | |
| 1836 | //------------------------------------------------- |
| 1837 | // isa8_cga_iskr1031_device - constructor |
| 1838 | //------------------------------------------------- |
| 1839 | |
| 1840 | isa8_cga_iskr1031_device::isa8_cga_iskr1031_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 1841 | isa8_cga_device( mconfig, ISA8_CGA_ISKR1031, "Iskra-1031 CGA", tag, owner, clock, "cga_iskr1031", __FILE__) |
| 1842 | { |
| 1843 | } |
| 1844 | |
| 1845 | ROM_START( cga_iskr1030m ) |
| 1846 | ROM_REGION(0x2000,"gfx1", 0) |
| 1847 | ROM_LOAD( "iskra-1030m.chr", 0x0000, 0x2000, CRC(50b162eb) SHA1(5bd7cb1705a69bd16115a4c9ed1c2748a5c8ad51)) |
| 1848 | ROM_END |
| 1849 | |
| 1850 | //------------------------------------------------- |
| 1851 | // rom_region - device-specific ROM region |
| 1852 | //------------------------------------------------- |
| 1853 | |
| 1854 | const rom_entry *isa8_cga_iskr1030m_device::device_rom_region() const |
| 1855 | { |
| 1856 | return ROM_NAME( cga_iskr1030m ); |
| 1857 | } |
| 1858 | |
| 1859 | const device_type ISA8_CGA_ISKR1030M = &device_creator<isa8_cga_iskr1030m_device>; |
| 1860 | |
| 1861 | //------------------------------------------------- |
| 1862 | // isa8_cga_iskr1030m_device - constructor |
| 1863 | //------------------------------------------------- |
| 1864 | |
| 1865 | isa8_cga_iskr1030m_device::isa8_cga_iskr1030m_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 1866 | isa8_cga_device( mconfig, ISA8_CGA_ISKR1030M, "Iskra-1030M CGA", tag, owner, clock, "cga_iskr1030m", __FILE__) |
| 1867 | { |
| 1868 | } |
| 1869 | |
| 1870 | // XXX |
| 1871 | |
| 1830 | 1872 | ROM_START( mc1502 ) |
| 1831 | 1873 | ROM_REGION(0x2000,"gfx1", 0) |
| 1832 | 1874 | // taken from mc1502 |
trunk/src/emu/bus/isa/cga.h
| r241499 | r241500 | |
| 198 | 198 | public: |
| 199 | 199 | // construction/destruction |
| 200 | 200 | isa8_ec1841_0002_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 201 | | // optional information overrides |
| 202 | | virtual const rom_entry *device_rom_region() const; |
| 203 | 201 | |
| 204 | 202 | protected: |
| 205 | 203 | // device-level overrides |
| r241499 | r241500 | |
| 218 | 216 | // device type definition |
| 219 | 217 | extern const device_type ISA8_EC1841_0002; |
| 220 | 218 | |
| 219 | // ======================> isa8_cga_iskr1031_device |
| 220 | |
| 221 | class isa8_cga_iskr1030m_device : |
| 222 | public isa8_cga_device |
| 223 | { |
| 224 | public: |
| 225 | // construction/destruction |
| 226 | isa8_cga_iskr1030m_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 227 | virtual const rom_entry *device_rom_region() const; |
| 228 | }; |
| 229 | |
| 230 | // device type definition |
| 231 | extern const device_type ISA8_CGA_ISKR1030M; |
| 232 | |
| 233 | // ======================> isa8_cga_iskr1031_device |
| 234 | |
| 235 | class isa8_cga_iskr1031_device : |
| 236 | public isa8_cga_device |
| 237 | { |
| 238 | public: |
| 239 | // construction/destruction |
| 240 | isa8_cga_iskr1031_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 241 | virtual const rom_entry *device_rom_region() const; |
| 242 | }; |
| 243 | |
| 244 | // device type definition |
| 245 | extern const device_type ISA8_CGA_ISKR1031; |
| 246 | |
| 221 | 247 | // ======================> isa8_cga_mc1502_device |
| 222 | 248 | |
| 223 | 249 | class isa8_cga_mc1502_device : |
trunk/src/mess/drivers/iskr103x.c
| r241499 | r241500 | |
| 120 | 120 | ROM_REGION16_LE(0x100000,"maincpu", 0) |
| 121 | 121 | ROMX_LOAD( "iskra-1030m_0.rom", 0xfc000, 0x2000, CRC(0d698e19) SHA1(2fe117c9f4f8c4b59085d5a41f919d743c425fdd), ROM_SKIP(1)) |
| 122 | 122 | ROMX_LOAD( "iskra-1030m_1.rom", 0xfc001, 0x2000, CRC(fe808337) SHA1(b0b7ebe14324ada8aa9a6926a82b18e80f78a257), ROM_SKIP(1)) |
| 123 | | |
| 124 | | ROM_REGION(0x2000,"gfx1", 0) |
| 125 | | ROM_LOAD( "iskra-1030m.chr", 0x0000, 0x2000, CRC(50b162eb) SHA1(5bd7cb1705a69bd16115a4c9ed1c2748a5c8ad51)) |
| 126 | 123 | ROM_END |
| 127 | 124 | |
| 128 | 125 | ROM_START( iskr1031 ) |
| r241499 | r241500 | |
| 133 | 130 | ROM_SYSTEM_BIOS(1, "v2", "v2") |
| 134 | 131 | ROMX_LOAD( "150-06.bin", 0xfc000, 0x2000, CRC(1adbf969) SHA1(08c0a0fc50a75e6207b1987bae389cca60893eac), ROM_SKIP(1) | ROM_BIOS(2)) |
| 135 | 132 | ROMX_LOAD( "150-07.bin", 0xfc001, 0x2000, CRC(0dc4b65a) SHA1(c96f066251a7343eac8113ea9dcb2cb12d0334d5), ROM_SKIP(1) | ROM_BIOS(2)) |
| 136 | | |
| 137 | | //ROM_REGION(0x2000,"gfx1", 0) |
| 138 | | //ROM_LOAD( "iskra-1031_font.bin", 0x0000, 0x2000, CRC(f4d62e80) SHA1(ad7e81a0c9abc224671422bbcf6f6262da92b510)) |
| 139 | 133 | ROM_END |
| 140 | 134 | |
| 141 | 135 | /*************************************************************************** |