The early versions drew a border around the screen and I assumed 25x80 for dimensions. It seems like adding a custom BIOS function to get the terminal width, and height, would be useful.
None-portable, of course, as all our extensions are. But in the worst case falling back to 80x25 works well enough.
Add a single call to return values in HL, I guess.
I recently wrote a simple "file manager", or "file utility", which shows lists of files and allows them to be deleted, navigated, filtered etc:
FU.COM
- binaryFU.C
- source codeThe early versions drew a border around the screen and I assumed 25x80 for dimensions. It seems like adding a custom BIOS function to get the terminal width, and height, would be useful.
None-portable, of course, as all our extensions are. But in the worst case falling back to 80x25 works well enough.
Add a single call to return values in HL, I guess.