Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!uhccux!munnari.oz.au!murtoa.cs.mu.oz.au!ditmela!yarra!cit5!olympic!ian From: ian@olympic.oz (Ian Barnett) Newsgroups: comp.sys.atari.st Subject: MALLOC from assembler Keywords: why doesn't it work Message-ID: <1194@olympic.oz> Date: 17 Sep 89 23:53:20 GMT Organization: Olympic Amusements, Melbourne, Australia. Lines: 24 HELP! Has anyone out there had trouble with calling the MALLOC function from assembly language programs ? I am using the GEMDOS call to allocate memory and I receive no error, but the pointer returned appears to be very suspect. To be exact, I allocate 32K (size of a LO-RES screen) +256 bytes, make a copy of the returned pointer and align it on a 256 byte boundary. I then set the physical screen base to this pointer so I can see what the memory, I allocated, looks like. This memory is definitely not free, in fact it is being used as I watch it! Naturally I require memory that is not being used. If anyone can help me out it would be most appreciated. Wow ! (Excuse me, this is my first NET posting }:-) Thanks in advance. Ian Barnett ian@olympic.oz