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. |
||
|---|---|---|
| .. | ||
| disc.c | ||
| main.c | ||
| rom.c | ||
| scc.c | ||
| unix_main.c | ||
| via.c | ||