Jump to content
IGNORED

PRINT / PRINT #6 - Vertical Boundary


Recommended Posts

Is there an easy way to modify the vertical boundary used by PRINT and PRINT #6 commands in BASIC/TBXL to accept values greater than what the standard Graphics modes use? I'm working with display lists that have been modified for more vertical lines.

 

Link to comment
Share on other sites

Not really in normal circumstances.  The cursor limitations are table based within the OS and annoyingly the text window can only be 4 characters high.

I tried getting around it back in the day but at best experienced glitches.

 

But workarounds available - regardless of text window or not the main area will always have the full screen height allocated and accessable even though it's normally invisible if you have the text window.

So in the case of doing a character main mode with text window you could do a custom DList which puts those other 32 scanlines worth somewhere else.

In the case of text mode it'll usually be a near match - e.g. if the main is 40 character mode but 20 character at the bottom you could in theory have 8 lines worth then addressing it would see characters 0-19 on one line, 20-39 on the next.

 

Another alternative can be to just alter the screen memory pointers used by the OS for the main or text window to access extra data.  In that case you just need to be careful when doing stuff like clear screen as it might overrun.  But an alternative can be just PLOT/DRAWTO to clear areas which can be used in text modes in S:

Link to comment
Share on other sites

That's what I figured the case was. Not really a big deal, I can just convert to screen codes. The stuff I'm printing is no more than 8 characters per string anyway (and usually much less than that). It'll be plenty fast enough.

 

The display I'm using is 18x Antic 4 + 8x Antic 2 (with 4 blanks inserted in between), which is just barely over.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...