]> git.proxmox.com Git - mirror_qemu.git/commit
vga: mask addresses in non-VESA modes to 256k
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 29 Dec 2014 13:43:42 +0000 (14:43 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 Jan 2024 09:43:13 +0000 (10:43 +0100)
commit9b53b95a1c3b46e5a54734a46f37790460c9265e
tree9edfc2fa6e3c0434ac065edae3bc6c56786dffff
parentf9b925fd41337027e959baeb23d714b5214cd5ff
vga: mask addresses in non-VESA modes to 256k

This allows setting the start address to a high value, and reading the
bottom of the screen from the beginning of VRAM.  Commander Keen 4
("Goodbye, Galaxy!") relies on this behavior.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/display/vga-helpers.h
hw/display/vga.c