🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Questions about ST Video Ram

#33446
From: Socking the Sockets
Date: Wed, 03 Aug 1988 03:18
14 lines
1220 bytes
In article <535@skywest.UUCP> brenes@skywest.UUCP (Erasmo Brenes) writes:
>If the Shifter expects the video ram to start at 32K boundaries,
>then how do I get MWC, or any C program to allocate a 32Kb buffer starting in
>a 32Kb boundary in an efficient manner?

Well, the boundary turns out to be a lot less than 32K: screen RAM must
start on a page boundary, which is to say screenram%256 == 0.
Thus you only have to allocate 32256 bytes, which you can most likely
afford.  (Screen memory is 32000 bytes, not a full 32K.)

---
These are my opinions, and in no way reflect those of UCSC, which are wrong.
Steven Grimm		Moderator, comp.{sources,binaries}.atari.st
koreth@ssyx.ucsc.edu	...!ucbvax!ucscc!ssyx!koreth
Technical Details
Message-ID: <4376@saturn.ucsc.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!husc6!bloom-beacon!gatech!ncar!ames!pasteur!ucbvax!agate!saturn!ucscb.UCSC.EDU!koreth
References: <535@skywest.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!husc6!bloom-beacon!gatech!ncar!ames!pasteur!ucbvax!agate!saturn!ucscb.UCSC.EDU!koreth
From: koreth@ucscb.UCSC.EDU (Socking the Sockets)
Newsgroups: comp.sys.atari.st
Subject: Re: Questions about ST Video Ram
Message-ID: <4376@saturn.ucsc.edu>
Date: 3 Aug 88 03:18:30 GMT
References: <535@skywest.UUCP>
Sender: usenet@saturn.ucsc.edu
Reply-To: koreth@ucscb.UCSC.EDU (Socking the Sockets)
Organization: American Redundancy Society of America
Lines: 14