🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.zenith.z100
Article #1033

Allocating memory via Int 21h, Function 048h

#1033
From: "LENO S.J."
Date: Fri, 26 May 1989 17:29
14 lines
1024 bytes
Hi,
  I am working on a small machine language programand I
 want to allocate a chunk of memory for scratch work.
 I will need a 64k block. I have 768k so this should be
 no problem at all. I'm using Int 21h, function 48h.
 I am asking for 01000h 16 byte paragraphs. I'm told,
 by DOS, that the most it can give me is 3 paragraph or
 48 bytes. Something sounds fishy. Any ideas would be
 welcome. BTW, I am using MS-DOS 2.21 for the Z100. I
 do get the same problem when I run this part of the
 code on an IBM. If anyone wants to hazard a guess I
 can send a code fragment. 
      Thanx,
           Scott
Technical Details
Message-ID: <8905261734.AA04850@ucbvax.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!NUSC-NPT.NAVY.MIL!leno

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!NUSC-NPT.NAVY.MIL!leno
From: leno@NUSC-NPT.NAVY.MIL ("LENO S.J.")
Newsgroups: comp.sys.zenith.z100
Subject: Allocating memory via Int 21h, Function 048h
Message-ID: <8905261734.AA04850@ucbvax.Berkeley.EDU>
Date: 26 May 89 17:29:00 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 14