diff options
| author | Mark Cave-Ayland | 2021-10-08 00:12:47 +0200 |
|---|---|---|
| committer | Laurent Vivier | 2021-10-08 13:31:03 +0200 |
| commit | e6108b96363bda0704ca69e5dfdb4b07dc589336 (patch) | |
| tree | 2009220bd32b19b97ce4950567586a506dd05b69 /python/VERSION | |
| parent | macfb: add trace events for reading and writing the control registers (diff) | |
| download | qemu-e6108b96363bda0704ca69e5dfdb4b07dc589336.tar.gz qemu-e6108b96363bda0704ca69e5dfdb4b07dc589336.tar.xz qemu-e6108b96363bda0704ca69e5dfdb4b07dc589336.zip | |
macfb: implement mode sense to allow display type to be detected
The MacOS toolbox ROM uses the monitor sense to detect the display type and then
offer a fixed set of resolutions and colour depths accordingly. Implement the
monitor sense using information found in Apple Technical Note HW26: "Macintosh
Quadra Built-In Video" along with some local experiments.
Since the default configuration is 640 x 480 with 8-bit colour then hardcode
the sense register to return MACFB_DISPLAY_VGA for now.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20211007221253.29024-8-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'python/VERSION')
0 files changed, 0 insertions, 0 deletions
