mirror of
https://github.com/holub/mame
synced 2025-07-07 19:03:29 +03:00
cgenie: correct 6845 type
This commit is contained in:
parent
237f191784
commit
16bba51ef1
@ -6,7 +6,6 @@
|
||||
|
||||
TODO:
|
||||
- System is too fast, there should be one wait cycle every five cycles?
|
||||
- What's the exact MC6845 type? It can't be H46505
|
||||
- Adjust visible area so that the borders aren't that large (needs
|
||||
MC6845 changes)
|
||||
- Verify BASIC and character set versions
|
||||
@ -77,7 +76,7 @@ private:
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<cassette_image_device> m_cassette;
|
||||
required_device<ram_device> m_ram;
|
||||
required_device<mc6845_1_device> m_crtc;
|
||||
required_device<hd6845_device> m_crtc;
|
||||
required_device<rs232_port_device> m_rs232;
|
||||
required_device<expansion_slot_device> m_exp;
|
||||
required_memory_region m_char_rom;
|
||||
@ -118,8 +117,8 @@ static ADDRESS_MAP_START( cgenie_io, AS_IO, 8, cgenie_state )
|
||||
ADDRESS_MAP_GLOBAL_MASK(0xff)
|
||||
AM_RANGE(0xf8, 0xf8) AM_DEVWRITE("ay8910", ay8910_device, address_w)
|
||||
AM_RANGE(0xf9, 0xf9) AM_DEVREADWRITE("ay8910", ay8910_device, data_r, data_w)
|
||||
AM_RANGE(0xfa, 0xfa) AM_DEVWRITE("crtc", mc6845_1_device, address_w)
|
||||
AM_RANGE(0xfb, 0xfb) AM_DEVREADWRITE("crtc", mc6845_1_device, register_r, register_w)
|
||||
AM_RANGE(0xfa, 0xfa) AM_DEVWRITE("crtc", hd6845_device, address_w)
|
||||
AM_RANGE(0xfb, 0xfb) AM_DEVREADWRITE("crtc", hd6845_device, register_r, register_w)
|
||||
AM_RANGE(0xff, 0xff) AM_READWRITE(control_r, control_w)
|
||||
ADDRESS_MAP_END
|
||||
|
||||
@ -440,9 +439,9 @@ static MACHINE_CONFIG_START( cgenie, cgenie_state )
|
||||
// video hardware
|
||||
MCFG_SCREEN_ADD("screen", RASTER)
|
||||
MCFG_SCREEN_RAW_PARAMS(XTAL_17_73447MHz / 2, 568, 32, 416, 312, 28, 284)
|
||||
MCFG_SCREEN_UPDATE_DEVICE("crtc", mc6845_device, screen_update)
|
||||
MCFG_SCREEN_UPDATE_DEVICE("crtc", hd6845_device, screen_update)
|
||||
|
||||
MCFG_MC6845_ADD("crtc", MC6845_1, "screen", XTAL_17_73447MHz / 16)
|
||||
MCFG_MC6845_ADD("crtc", HD6845, "screen", XTAL_17_73447MHz / 16)
|
||||
MCFG_MC6845_SHOW_BORDER_AREA(true)
|
||||
MCFG_MC6845_CHAR_WIDTH(8)
|
||||
MCFG_MC6845_BEGIN_UPDATE_CB(cgenie_state, crtc_begin_update)
|
||||
|
Loading…
Reference in New Issue
Block a user