This is a seemingly worthless but none the less important tutorial on moving the cursor to the next line.
This code will move the cursor to the new line.
rst 28h \ .dw xxxx
#define B_JUMP(xxxx) call 50h \ .dw xxxx
B_CALL(_homeup) ;Call up the home screen
B_CALL(_newline) ;Move cursor to next line
The screen should look like this after you run the program:
As you can see, there is an empty line on the top of the screen followed by a "Done" message and the blinking cursor on the next line. If it weren't for the "Done" message, the cursor would have been on the preceding line. The point is, the cursor isn't on the "First line". But rather on the next "empty" one.
_newline - sets the cursor on the next "empty" line.
Click to return to the site's menu... or here to get back to the tutorial's menu.