diff options
author | 2024-07-26 10:13:10 +0200 | |
---|---|---|
committer | 2024-07-26 10:13:15 +0200 | |
commit | c631f62c668d8f3e88c568f0ac553af57a260400 (patch) | |
tree | d0149736792212188ed8fcf118384a4e51d85158 /src/devices/video/wd90c26.cpp | |
parent | 6d62d34e130b45024c7901a14b238db188cf2b17 (diff) |
video/pc_vga_paradise.cpp: separate extended CRTC unlock by r/w
Diffstat (limited to 'src/devices/video/wd90c26.cpp')
-rw-r--r-- | src/devices/video/wd90c26.cpp | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/src/devices/video/wd90c26.cpp b/src/devices/video/wd90c26.cpp index 7430174aea1..da18dce61bf 100644 --- a/src/devices/video/wd90c26.cpp +++ b/src/devices/video/wd90c26.cpp @@ -24,22 +24,27 @@ wd90c26_vga_device::wd90c26_vga_device(const machine_config &mconfig, const char m_seq_space_config = address_space_config("sequencer_regs", ENDIANNESS_LITTLE, 8, 8, 0, address_map_constructor(FUNC(wd90c26_vga_device::sequencer_map), this)); } -// PR0:PR5, PR10:PR17, PR20:PR21, PR31:PR32 assumed same as derived class +// PR0:PR5, PR10:PR17, PR20:PR21, PR31:PR32 assumed same as derived classes +// TODO: implement the extra unlocks +// when PR30 is locked but PR10 ext CRTC read is enabled then $31-$3f +// reads with ASCII device signature "WD90C26REVx199y" +// (x = rev number, y = manufacturing year) +// cfr. section 6-17 at page 152 void wd90c26_vga_device::crtc_map(address_map &map) { wd90c11a_vga_device::crtc_map(map); -// m_ext_crtc_view[1](0x31, 0x31) PR18 Flat Panel Status -// m_ext_crtc_view[1](0x32, 0x33) PR19/PR1A Flat Panel Control -// m_ext_crtc_view[1](0x34, 0x34) PR1B Flat Panel Unlock -// m_ext_crtc_view[1](0x35, 0x35) PR30 Mapping RAM Unlock -// m_ext_crtc_view[1](0x37, 0x37) PR41 Vertical Expansion Initial Value -// m_ext_crtc_view[1](0x38, 0x38) PR33 Mapping RAM Address Counter -// m_ext_crtc_view[1](0x39, 0x39) PR34 Mapping RAM Data -// m_ext_crtc_view[1](0x3a, 0x3a) PR35 Mapping RAM Control and Power-Down -// m_ext_crtc_view[1](0x3b, 0x3b) PR36 LCD Panel Height Select -// m_ext_crtc_view[1](0x3c, 0x3c) PR37 Flat Panel Blinking Control -// m_ext_crtc_view[1](0x3e, 0x3e) PR39 Color LCD Control -// m_ext_crtc_view[1](0x3f, 0x3f) PR44 Power-Down Memory Refresh Control +// map(0x31, 0x31) PR18 Flat Panel Status +// map(0x32, 0x33) PR19/PR1A Flat Panel Control +// map(0x34, 0x34) PR1B Flat Panel Unlock +// map(0x35, 0x35) PR30 Mapping RAM Unlock +// map(0x37, 0x37) PR41 Vertical Expansion Initial Value +// map(0x38, 0x38) PR33 Mapping RAM Address Counter +// map(0x39, 0x39) PR34 Mapping RAM Data +// map(0x3a, 0x3a) PR35 Mapping RAM Control and Power-Down +// map(0x3b, 0x3b) PR36 LCD Panel Height Select +// map(0x3c, 0x3c) PR37 Flat Panel Blinking Control +// map(0x3e, 0x3e) PR39 Color LCD Control +// map(0x3f, 0x3f) PR44 Power-Down Memory Refresh Control } void wd90c26_vga_device::gc_map(address_map &map) |