[comp.sys.atari.st] screen size for TOS programs

renner@m.cs.uiuc.edu (09/07/89)

I would like to be able to change the character size used by TOS programs
on my 1040/mono.  That is, I would like to be able to set the screen size
to (say) 130x49 instead of the default 80x25.  Can anyone supply me with
hints on how to do this?
============
Scott Renner 					USENET: pur-ee!uiucdcs!renner
University of Illinois at Urbana-Champaign      ARPA:   renner@cs.uiuc.edu

john@stag.UUCP (John Stanley) (09/15/89)

[renner@m.cs.uiuc.edu writes...]
> 
> I would like to be able to change the character size used by TOS programs
> on my 1040/mono.  That is, I would like to be able to set the screen size
> to (say) 130x49 instead of the default 80x25.  Can anyone supply me with
> hints on how to do this?

  It would be -very- difficult to modify the character width.  (Many
sections of TOS rely on 8-bit wide characters).  What is -easily-
accomplished is to set the ST from the normal (80x25) mode into (80x50)
mode in monochrome.  (I'm editing this message in 50-line mode right now
using a non-GEM editor that knows how to sense the screen size...)

  Here are two tiny uuencoded programs.  One to start 50 line mode and
one to return to 25 line (normal) mode.  These only work properly in
mono.  I wouldn't advise trying them in color.  (I have no idea what they
would do to a color system...)

  I apologise to anyone who objects to -any- binaries being placed in the
discussion newsgroups, but these binaries are so small that even with
them, my message is both shorter than many text only messages and answers
his (and other peoples) needs better than a long detailed explanation...

table
 !"#$%&'()*+,-./0123456789:;<=>?
@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
begin 644 hi50.tos
M8!H   "                              $_Y    ?#\\  1.3E1/L'P a
M F8DH  B:0 $(6D 2/_V(6D 3/_J,7P "/_2,7P ,?_6,7P"@/_80F=.00  a
M                                                            a
M                                 @                          a
M                                                            a
?                                            a
 a
end
table
 !"#$%&'()*+,-./0123456789:;<=>?
@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
begin 644 hi25.tos
M8!H   "                              $_Y    ?#\\  1.3E1/L'P a
M F8DH  B:0 ((6D 2/_V(6D 3/_J,7P $/_2,7P &/_6,7P% /_80F=.00  a
M                                                            a
M                                 @                          a
M                                                            a
?                                            a
 a
end

---
John Stanley <dynasoft!john@stag.UUCP>
Software Consultant / Dynasoft Systems