Does anybody have a method for writing to specific positions in the console window?
I'm trying to port a full screen DOS BASIC data entry app to PBCC, and I need to be able to write characters in certain row, column positions without disturbing the cursor.
I've been programming in PBCC since 2.0 came out, but everything so far has been teletype-style scrolling screens. I've been hesitant to tackle this full screen app because of the lack of a good way to write to the screen. Using LOCATE/PRINT statements always hijacks the cursor which the user is trying to follow for data entry.
I've tried some code which turns off the cursor, then uses LOCATE and print but the result is unacceptable because the cursor is so busy servicing other parts of ths display that you can't see it.
What I wish PBCC had was something like this:
CONSOLEPRINT (text$, coloratt, row, col)
I suppose I could write my own function to accomplish this, if somebody would illuminate me as to where the screen buffer is located in memory.
Thanks in advance
Dave Pruett
Ypsilanti, Michigan
I'm trying to port a full screen DOS BASIC data entry app to PBCC, and I need to be able to write characters in certain row, column positions without disturbing the cursor.
I've been programming in PBCC since 2.0 came out, but everything so far has been teletype-style scrolling screens. I've been hesitant to tackle this full screen app because of the lack of a good way to write to the screen. Using LOCATE/PRINT statements always hijacks the cursor which the user is trying to follow for data entry.
I've tried some code which turns off the cursor, then uses LOCATE and print but the result is unacceptable because the cursor is so busy servicing other parts of ths display that you can't see it.
What I wish PBCC had was something like this:
CONSOLEPRINT (text$, coloratt, row, col)
I suppose I could write my own function to accomplish this, if somebody would illuminate me as to where the screen buffer is located in memory.
Thanks in advance
Dave Pruett
Ypsilanti, Michigan
Comment