Now I think I understand. A print is wrapping around the screen width, causing an extra line to be inserted, and as result the outputted printed screen height count is miscalculated. Fixed that issue, new build in the GitHub URL.
v.Aug 27 2023:
- improved CRT Terminator mode scanning, and added primitive save/load long scan results to disk
- fixed Printf() wrapping text beyond screen width
- improved Headland VGA adapter detection
I am experimenting with an idea of using CRT Terminator to scan all the CGA, EGA, VGA and SVGA video modes space to also print out what kind of video modes are provided there. Looks something like shown in the attachment. Without a CRT Terminator installed, this (S)VGA mode matrix will not be present in the log.
Not sure if that is the final form of visualization, or how to make it view best. Tried printing all the SVGA + VESA modes in one big chart, but that looked messy, and felt like it lost something in the presentation.