Line spacing problem when emulating Model III
Brought to you by:
markgrebe
The bottom of the lines are cutoff vertically when emulating a Model III (and Model 4 in Model III mode). The problem doesn't happen when it's emulating a Model I. I've attached screenshots to show what I mean. As you can see the Model III window is shorter than the Model I window. The lines are closer together. You'll see that the last pixel of chr$(166) is only half the height of the other pixels.
I've tried this both on Windows and Linux with the same results. It doesn't happen with xtrs (on Linux).
I compared the sdltrs trs_sdl_interface.c file with the original xtrs trs_xinterface.c file, and found that the problem could be fixed by changing line 1125 of trs_sdl_interface.c (v1.1.0) from:
cur_char_height = TRS_CHAR_HEIGHT4 * scale_y;
to:
cur_char_height = TRS_CHAR_HEIGHT * scale_y;
However I haven't tested whether the change breaks anything else. It's a start though.