🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #3082

Re: Using more than 64k - 4 pages of video memory at 320x200x256

#3082
From: Meinhard Berger
Date: Mon, 04 Dec 1995 09:26
22 lines
1192 bytes
to allocate bigger memory
ALLOCATE( VAR a: ADDRESS; size: CARDINAL );
 allocates "size" BYTES from the heap
HeapAllocate( Source: HeapRecPtr; VAR a: ADDRESS; size: CARDINAL );
 allocates "size" UNITS from the allocated heap "source".
 
 ALLOCATEs limit is 64K
 HeapAllocate has a varying limit, as size depends on your
  memory model, under large it is 16, so the limit is 1MB,
  if its available of course. "source" is simply STORAGE.MainHeap
  (2mk).

engelbert

--
--------------------------------
- ASM-ISN Dept. SMC            -
- engelbert gruber             -
- peter fintl                  -
- helmut gragger               -
- email : c51903@dm.uibk.ac.at -
--------------------------------
Technical Details
Message-ID: <49uera$o7a@dm2.uibk.ac.at>
Path: arc1-ca.pugleaf.net!news.uibk.ac.at!dm!c51903
References: <1995Nov30.102457.61398@ucl.ac.uk> <49mb5n$gcm@kohl.informatik.uni-Bremen.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.uibk.ac.at!dm!c51903
From: c51903@dm.uibk.ac.at (Meinhard Berger)
Newsgroups: comp.lang.modula2
Subject: Re: Using more than 64k - 4 pages of video memory at 320x200x256
Date: 4 Dec 1995 09:26:02 GMT
Organization: University of Innsbruck, Austria 
Message-ID: <49uera$o7a@dm2.uibk.ac.at>
References: <1995Nov30.102457.61398@ucl.ac.uk> <49mb5n$gcm@kohl.informatik.uni-Bremen.de>
NNTP-Posting-Host: dme.uibk.ac.at
X-Newsreader: TIN [version 1.2 PL1]