Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!ihnp4!houxm!homxc!jdn From: jdn@homxc.UUCP Newsgroups: comp.sys.atari.st Subject: Setscreen Message-ID: <1889@homxc.UUCP> Date: Tue, 27-Jan-87 17:06:26 EST Article-I.D.: homxc.1889 Posted: Tue Jan 27 17:06:26 1987 Date-Received: Thu, 29-Jan-87 04:19:18 EST Organization: AT&T Bell Laboratories, Holmdel Lines: 24 [] I have a problem which should be a piece of cake for you ST hackers out there. I want to write a simple TOS terminal communications program with a split screen. In the upper half of the screen I will display the input from the RS-232 port. At the same time, the user should be able to enter characters at the keyboard which will be stored in a buffer for later transmission. I want to display the typed data in the lower half of the screen while the upper half is displaying the data received at the RS232 port. What is the best way to do this? I have been fidelling with the Setscreen call, but my documentation (MWC + Abacus) lacks sufficient information on the layout of the memory block passed to this call. In some of the source code I've seen, I've seen Mallocs with a size of (32*1024) + 256. I presume this maps to the screen somehow, but what is the precise mapping? Can I mix the two screens? For example, suppose I define screen2 as 16*1024 + 256. Will this only print out in the upper (lower) half of the screen while the other half remains intact? Any info on this will be greatly appreciated. Thanks.