🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #41483

How do i get the lineoffset in bytes ? (was Re: Sozobon C)

#41483
From: Stefan Hintz
Date: Thu, 01 Mar 1990 17:00
25 lines
1676 bytes
In article <9002221043.AA00452@freya.math.dmswwu> ONM07@DMSWWU1A.BITNET (Julian Reschke) writes:
>Please stop using Line-A-functions NOW. All programs using Line-A won't
>and CAN't run properly on Mega-St-Color-cards (8-Bit == 256 Colors!!!) or
>on the TT.

I fully agree to that.

 But how do i get the number of bytes in a picture-line , without calling
linea_init(). ($A000) .
 Yes for the three 'normal' ST-ScreenResolutions you
can divide the pixels per line (work_out[0]+1) thrue the number of planes,
(you can get this value with vq_extnd(); taking workout[4] , i guess)
and divide that thrue eight.
 But if you try this method with 'Overscan' (also called 'Hyperscreen', 50% more
Screen-Resolution for 3DM, in ST-Magazin) or with a 256 Greyscale-card, you will
fail. Because there is some memory in each scanline which is not used for
display.

My question:
Is there any legal possibility to ask via VDI or AES about the offset in bytes
between two picture-lines? Is there another way than LineA, to find the
VDI-ESCape variables? Will the TT-VDI have new VDI-Funktions to solve this
problem? How do i findout how much memory is needed for the physical Screen.

Stefan Hintz, Dortmund, West Germany
Technical Details
Message-ID: <1378@quando.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!unido!quando!hintz
References: <9002221043.AA00452@freya.math.dmswwu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!unido!quando!hintz
From: hintz@quando.UUCP (Stefan Hintz)
Newsgroups: comp.sys.atari.st
Subject: How do i get the lineoffset in bytes ? (was Re:  Sozobon C)
Message-ID: <1378@quando.UUCP>
Date: 1 Mar 90 17:00:34 GMT
References: <9002221043.AA00452@freya.math.dmswwu>
Reply-To: hintz@quando.UUCP (Stefan Hintz)
Organization: Quantum GmbH, Dortmund, W-Germany
Lines: 25
Keywords: LineA,VDI,Overscan,TT