[comp.sys.atari.st] Make BIOS think screen is 80x20?

nut@wet.UUCP (adam tilghman) (01/02/90)

  Can anyone out there in NetLand tell me how to make TOS think that the
screen is only 80x20?  What I am trying to do is implement a 5-line
status bar across the top of the screen but still be able to use normal
scrolling text.  Is is possible to just push Logbase up while keeping 
Physbase the same, creating a bottom-of-the-screen area?


-- 
== Adam G. Tilghman - Trendy Quote: "Beware of Greeks bearing Trojans!" ==
=== UUCP: nut@wet.UUCP  BBS: Eleusesthai, (415)871-9451 12/2400, 24Hrs ===
============= Disclaimer?  My employer?  What, me work? ==================

apratt@atari.UUCP (Allan Pratt) (01/03/90)

nut@wet.UUCP (adam tilghman) writes:
>  Can anyone out there in NetLand tell me how to make TOS think that the
>screen is only 80x20? [...] Is is possible to just push Logbase up while 
>keeping Physbase the same, creating a bottom-of-the-screen area?

Gee, that sounds interesting.  Don't try it unless you know more about
this stuff than it sounds like you do.

In SALAD (Still Another Line-A Document) the negative line-A variables
are documented, and among them you will find a "number of vertical
alpha cells" variable (better known as "number of text lines").  Set
this smaller than it already is, and you will have created a short
screen with unused lines at the bottom -- lines you can use for your
status stuff.  Of course, you can't use Bconout to write to that status
area... Unless you write in the true value for "number of lines," then
go to the bottom and write what you want, then write in your fake
"number of lines" value.

SALAD is available to developers in a couple of places, including
online on GEnie and possibly other services.  Or call Gail Johnson,
(408) 745-2000, to get it (or become a developer if you aren't one
already).

============================================
Opinions expressed above do not necessarily	-- Allan Pratt, Atari Corp.
reflect those of Atari Corp. or anyone else.	  ...ames!atari!apratt

jpexg@wheaties.ai.mit.edu (John Purbrick) (01/04/90)

>In SALAD (Still Another Line-A Document) the negative line-A variables
>are documented....

>SALAD is available to developers in a couple of places, including
>online on GEnie and possibly other services.  Or call Gail Johnson,
>(408) 745-2000, to get it (or become a developer if you aren't one
>already).
>	-- Allan Pratt, Atari Corp.

Could this be made available in the archives accessible via the net? We
should be able to do better than a for-profit outfit like GEnie.

						john purbrick
						jpexg@ai.mit.edu