Mark Cave-Ayland
e6108b9636
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>
2021-10-08 13:31:03 +02:00
..
2021-10-05 17:30:57 -04:00
2021-06-17 07:10:32 -05:00
2021-09-30 13:42:10 +01:00
2020-07-10 15:18:08 +02:00
2021-07-06 14:28:55 +01:00
2021-10-07 08:41:33 +10:00
2021-10-05 16:53:17 -07:00
2020-09-18 14:12:32 -04:00
2021-03-19 15:18:43 +01:00
2021-10-08 13:31:03 +02:00
2021-08-26 17:01:59 +01:00
2021-05-14 10:26:18 -04:00
2020-10-27 11:10:32 +00:00
2020-09-18 14:12:32 -04:00
2021-07-08 14:15:45 -05:00
2021-10-05 17:30:57 -04:00
2021-09-30 13:44:13 +01:00
2021-07-08 14:15:01 -05:00
2021-09-21 07:56:49 +10:00
2021-09-30 13:42:10 +01:00
2020-09-18 14:12:32 -04:00
2021-07-19 10:08:45 +02:00
2020-09-30 19:11:36 +02:00
2021-01-19 09:11:52 +01:00
2021-05-14 10:26:18 -04:00
2021-02-21 18:41:04 +01:00
2021-09-20 08:50:59 +02:00
2021-03-05 15:17:34 +00:00
2021-09-29 10:45:19 +02:00
2021-09-30 13:42:10 +01:00
2021-09-30 13:42:10 +01:00
2020-09-18 14:12:32 -04:00
2021-09-04 17:34:05 -04:00
2021-09-30 12:26:06 +10:00
2020-09-09 09:27:09 -04:00
2021-02-10 09:23:28 +00:00
2021-09-21 07:56:49 +10:00
2020-10-18 16:21:42 +01:00
2020-09-09 09:27:09 -04:00
2021-09-06 16:25:27 +02:00
2021-09-30 13:42:10 +01:00
2021-02-21 12:12:18 +00:00
2021-06-17 07:10:32 -05:00
2021-03-06 16:18:42 +01:00
2020-09-09 09:27:09 -04:00
2021-03-19 15:18:43 +01:00
2021-05-01 10:03:52 +02:00
2021-09-21 07:56:49 +10:00
2021-05-18 09:36:21 +01:00
2021-06-21 05:49:01 +02:00
2021-07-08 15:54:45 -04:00
2021-10-05 17:30:57 -04:00
2021-09-20 08:50:59 +02:00
2021-05-10 13:43:58 +01:00
2019-08-16 13:31:52 +02:00
2021-10-01 15:29:15 +02:00
2021-09-01 11:08:19 +01:00
2021-05-12 17:42:23 +02:00
2020-09-09 09:27:09 -04:00
2020-09-09 09:27:09 -04:00
2019-08-16 13:31:52 +02:00
2020-03-17 12:22:36 -04:00
2020-08-03 17:55:03 +01:00
2020-11-15 17:04:40 +01:00
2021-09-27 10:57:21 +02:00
2020-09-09 09:27:09 -04:00
2020-09-09 09:27:09 -04:00
2020-09-18 14:12:32 -04:00
2020-11-15 17:04:40 +01:00
2021-01-29 15:54:42 +00:00
2021-03-08 17:20:01 +00:00
2021-09-30 13:44:08 +01:00
2019-06-12 13:20:21 +02:00
2020-12-18 15:20:17 -05:00
2021-09-01 12:57:31 +02:00
2021-09-01 11:59:12 +10:00
2021-09-01 11:59:12 +10:00
2020-09-09 09:27:09 -04:00
2020-12-10 12:15:04 -05:00
2020-09-18 14:12:32 -04:00
2021-07-09 18:21:33 +02:00
2020-09-09 09:27:09 -04:00