Previous 15994 Revisions Next

r14212 Thursday 26th January, 2012 at 20:28:45 UTC by Wilbert Pol
isa_cga shortname fix (nw)
[src/mess/video]isa_cga.c isa_cga.h

src/mess/video/isa_cga.c
r14211r14212
687687   m_shortname = "cga";
688688}
689689
690isa8_cga_device::isa8_cga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
690isa8_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) :
691691        device_t(mconfig, type, name, tag, owner, clock),
692692      device_isa8_card_interface(mconfig, *this),
693693      m_vram_size( 0x4000 )
r14211r14212
695695   m_chr_gen_offset[0] = m_chr_gen_offset[2] = 0x1800;
696696   m_chr_gen_offset[1] = m_chr_gen_offset[3] = 0x1000;
697697   m_font_selection_mask = 0x01;
698   m_shortname = "cga";
698   m_shortname = shortname;
699699}
700700
701701
r14211r14212
766766//-------------------------------------------------
767767
768768isa8_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 )
770770{
771771   m_vram_size = 0x8000;
772772}
r14211r14212
819819//-------------------------------------------------
820820
821821isa8_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 )
823823{
824824   m_chr_gen_offset[0] = 0x0000;
825825   m_font_selection_mask = 0;
r14211r14212
847847//-------------------------------------------------
848848
849849isa8_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 )
851851{
852852   m_chr_gen_offset[0] = 0x0000;
853853   m_chr_gen_offset[1] = 0x0800;
r14211r14212
876876//-------------------------------------------------
877877
878878isa8_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 )
880880{
881881   m_superimpose = true;
882882}
r14211r14212
19841984//-------------------------------------------------
19851985
19861986isa8_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 )
19881988{
19891989   m_vram_size = 0x10000;
19901990   m_chr_gen_offset[0] = 0x0000;
src/mess/video/isa_cga.h
r14211r14212
2626public:
2727   // construction/destruction
2828   isa8_cga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
29   isa8_cga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
29   isa8_cga_device(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, device_t *owner, UINT32 clock);
3030
3131   // optional information overrides
3232   virtual machine_config_constructor device_mconfig_additions() const;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team