Closed rhalkyard closed 4 years ago
Most of this wasn't needed. The code that erases a prompt should use the same scaling method that's used by the code that prints the prompt.
Good point; I’ll revert and just replace this (and the special-cased Apple II code) with a call to ‘screen_block_draw’
prefs_clear() was doing the wrong thing on screen resolutions that weren't 320x200 pixels (i.e. a 192 pixel PLATO screen). This was most obvious in the 640x480 VDC mode on the C128, where prefs_clear() erased a block halfway up the screen, and not the preferences area at all!
Make sure to double-check the constants that I've used for the new
actualSize
variable in the various platforms'screen.c
files. I'm pretty sure I've got them right based on the scaling factors used, but I'm only really familiar with the Commodore platforms here.