umac/src
Matt Evans a9be35c7b3 rom: Support variable screen res in MacPlusV3 ROM
This change adds a boatload of ROM patches to alter screen base, resolution,
words-per-line, and related variables so that MacOS will function correctly
with a framebuffer other than 512x342 (which remains the default).

The majority of the patches are actually to make ROM-drawn low-level things
(such as disc icons, happy/sad Mac icons/crash hexadecimal info) render
right and be positioned correctly.

This works up to about 800x600; the limiting factor is patching int16
immediates for certain instructions, meaning a ~64KB framebuffer size
is the current limit without more work.

The Makefile can now take DISP_WIDTH/DISP_HEIGHT parameters to configure
a build.  There is no support for dynamic switching, or runtime-selected
switching.
2024-12-16 23:16:43 +00:00
..
disc.c Clean up compilation warnings 2024-12-16 23:16:43 +00:00
main.c Clean up compilation warnings 2024-12-16 23:16:43 +00:00
rom.c rom: Support variable screen res in MacPlusV3 ROM 2024-12-16 23:16:43 +00:00
scc.c Clean up compilation warnings 2024-12-16 23:16:43 +00:00
unix_main.c unix_main: Remove hardcoded X display resolution 2024-12-16 23:16:43 +00:00
via.c Clean up compilation warnings 2024-12-16 23:16:43 +00:00