src/mess/video/isa_cga.c
| r14211 | r14212 | |
| 687 | 687 | m_shortname = "cga"; |
| 688 | 688 | } |
| 689 | 689 | |
| 690 | | isa8_cga_device::isa8_cga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : |
| 690 | isa8_cga_device::isa8_cga_device(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, device_t *owner, UINT32 clock) : |
| 691 | 691 | device_t(mconfig, type, name, tag, owner, clock), |
| 692 | 692 | device_isa8_card_interface(mconfig, *this), |
| 693 | 693 | m_vram_size( 0x4000 ) |
| r14211 | r14212 | |
| 695 | 695 | m_chr_gen_offset[0] = m_chr_gen_offset[2] = 0x1800; |
| 696 | 696 | m_chr_gen_offset[1] = m_chr_gen_offset[3] = 0x1000; |
| 697 | 697 | m_font_selection_mask = 0x01; |
| 698 | | m_shortname = "cga"; |
| 698 | m_shortname = shortname; |
| 699 | 699 | } |
| 700 | 700 | |
| 701 | 701 | |
| r14211 | r14212 | |
| 766 | 766 | //------------------------------------------------- |
| 767 | 767 | |
| 768 | 768 | isa8_cga_mc1502_device::isa8_cga_mc1502_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 769 | | isa8_cga_device( mconfig, ISA8_CGA_MC1502, "ISA8_CGA_MC1502", tag, owner, clock ) |
| 769 | isa8_cga_device( mconfig, ISA8_CGA_MC1502, "ISA8_CGA_MC1502", "mc1502", tag, owner, clock ) |
| 770 | 770 | { |
| 771 | 771 | m_vram_size = 0x8000; |
| 772 | 772 | } |
| r14211 | r14212 | |
| 819 | 819 | //------------------------------------------------- |
| 820 | 820 | |
| 821 | 821 | isa8_cga_poisk1_device::isa8_cga_poisk1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 822 | | isa8_cga_device( mconfig, ISA8_CGA_POISK1, "ISA8_CGA_POISK1", tag, owner, clock ) |
| 822 | isa8_cga_device( mconfig, ISA8_CGA_POISK1, "ISA8_CGA_POISK1", "poisk1", tag, owner, clock ) |
| 823 | 823 | { |
| 824 | 824 | m_chr_gen_offset[0] = 0x0000; |
| 825 | 825 | m_font_selection_mask = 0; |
| r14211 | r14212 | |
| 847 | 847 | //------------------------------------------------- |
| 848 | 848 | |
| 849 | 849 | isa8_cga_poisk2_device::isa8_cga_poisk2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 850 | | isa8_cga_device( mconfig, ISA8_CGA_POISK2, "ISA8_CGA_POISK2", tag, owner, clock ) |
| 850 | isa8_cga_device( mconfig, ISA8_CGA_POISK2, "ISA8_CGA_POISK2", "poisk2", tag, owner, clock ) |
| 851 | 851 | { |
| 852 | 852 | m_chr_gen_offset[0] = 0x0000; |
| 853 | 853 | m_chr_gen_offset[1] = 0x0800; |
| r14211 | r14212 | |
| 876 | 876 | //------------------------------------------------- |
| 877 | 877 | |
| 878 | 878 | isa8_cga_superimpose_device::isa8_cga_superimpose_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 879 | | isa8_cga_device( mconfig, ISA8_CGA_SUPERIMPOSE, "ISA8_CGA_SUPERIMPOSE", tag, owner, clock ) |
| 879 | isa8_cga_device( mconfig, ISA8_CGA_SUPERIMPOSE, "ISA8_CGA_SUPERIMPOSE", "superimpose", tag, owner, clock ) |
| 880 | 880 | { |
| 881 | 881 | m_superimpose = true; |
| 882 | 882 | } |
| r14211 | r14212 | |
| 1984 | 1984 | //------------------------------------------------- |
| 1985 | 1985 | |
| 1986 | 1986 | isa8_cga_pc1512_device::isa8_cga_pc1512_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 1987 | | isa8_cga_device( mconfig, ISA8_CGA_PC1512, "ISA8_CGA_PC1512", tag, owner, clock ) |
| 1987 | isa8_cga_device( mconfig, ISA8_CGA_PC1512, "ISA8_CGA_PC1512", "pc1512", tag, owner, clock ) |
| 1988 | 1988 | { |
| 1989 | 1989 | m_vram_size = 0x10000; |
| 1990 | 1990 | m_chr_gen_offset[0] = 0x0000; |