qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] vga: improve emulation fidelity
@ 2023-12-31  9:39 Paolo Bonzini
  2023-12-31  9:39 ` [PATCH 1/8] vga: remove unused macros Paolo Bonzini
                   ` (7 more replies)
  0 siblings, 8 replies; 17+ messages in thread
From: Paolo Bonzini @ 2023-12-31  9:39 UTC (permalink / raw)
  To: qemu-devel; +Cc: kraxel

This implements horizontal pel panning, which is used by games such as
the Commander Keen series, and also reimplements word and odd/even modes
so that they work in graphics modes; this mostly fixes Jazz Jackrabbit's
graphics.

There are still some issues with Cirrus VGA, and also Keen expects the
display parameters to be latched in ways that I don't fully understand
and that seem to differ between Keen 1 (EGA) and 4 (VGA).  So there is
still a bit of tearing, but I have been sitting on these patches since
the Christmas holidays of 2014, so let's flush this first part.

Paolo

Paolo Bonzini (8):
  vga: remove unused macros
  vga: introduce VGADisplayParams
  vga: mask addresses in non-VESA modes to 256k
  vga: implement horizontal pel panning in graphics modes
  vga: optimize horizontal pel panning in 256-color modes
  vga: reindent memory access code
  vga: use latches in odd/even mode too
  vga: sort-of implement word and double-word access modes

 hw/display/cirrus_vga.c  |  28 +--
 hw/display/vga-helpers.h | 121 +++++++++---
 hw/display/vga.c         | 418 +++++++++++++++++++++------------------
 hw/display/vga_int.h     |  18 +-
 hw/display/vga_regs.h    |   4 +
 5 files changed, 347 insertions(+), 242 deletions(-)

-- 
2.43.0



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2024-01-02 15:14 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-31  9:39 [PATCH 0/8] vga: improve emulation fidelity Paolo Bonzini
2023-12-31  9:39 ` [PATCH 1/8] vga: remove unused macros Paolo Bonzini
2023-12-31 16:01   ` BALATON Zoltan
2024-01-02 15:13     ` Paolo Bonzini
2023-12-31  9:39 ` [PATCH 2/8] vga: introduce VGADisplayParams Paolo Bonzini
2024-01-02  9:59   ` Philippe Mathieu-Daudé
2023-12-31  9:39 ` [PATCH 3/8] vga: mask addresses in non-VESA modes to 256k Paolo Bonzini
2023-12-31 16:13   ` BALATON Zoltan
2023-12-31  9:39 ` [PATCH 4/8] vga: implement horizontal pel panning in graphics modes Paolo Bonzini
2023-12-31  9:39 ` [PATCH 5/8] vga: optimize horizontal pel panning in 256-color modes Paolo Bonzini
2023-12-31 16:27   ` BALATON Zoltan
2024-01-01 19:02     ` Paolo Bonzini
2024-01-02 11:45       ` BALATON Zoltan
2023-12-31  9:39 ` [PATCH 6/8] vga: reindent memory access code Paolo Bonzini
2024-01-02 10:00   ` Philippe Mathieu-Daudé
2023-12-31  9:39 ` [PATCH 7/8] vga: use latches in odd/even mode too Paolo Bonzini
2023-12-31  9:39 ` [PATCH 8/8] vga: sort-of implement word and double-word access modes Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).