[comp.sys.mac.programmer] Reserving the alternate video buffer

davet@cmi.com (David Temkin) (05/01/91)

I've read a number of references to an INIT which reserves the alternate 
video buffer on the original Macs, so that it can be used from 
applications running under Multifinder/System 7 and/or with the ram cache, 
all of which ordinarily prevent the alternate video buffer from being 
allocated. I also understand that this (these?) INITs are not public 
domain, and that I would have to write one myself for the game that I'm 
developing. Does anyone know how this is done? How can memory at a 
specific address be allocated? I have never written an INIT, and the doc 
in Inside Mac is sketchy on this.

On a related matter: Does the Mac Classic have the same video buffer 
configuration as the original Macs? (And if so, would there be any problem 
using such an INIT on it?) Does the portable have only one video buffer? 
And for those with an LC or IIsi, does anyone know if the built-in video 
on these machines support more than one page in 1- or 2-bit modes (the ci 
built-in video has only one page in any given mode, unfortunately).

Thanks...


David Temkin
Center for Machine Intelligence, EDS Corp.
davet@cmi.com