Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!mcsun!ukc!dcl-cs!gdt!ccsdra From: ccsdra@gdt.bath.ac.uk (Dave Allum) Newsgroups: comp.sys.ibm.pc Subject: Re: > 64 K data Message-ID: <1989Nov23.090815.16864@gdt.bath.ac.uk> Date: 23 Nov 89 09:08:15 GMT References: <1989Nov18.222704.16822@ccu.umanitoba.ca> Reply-To: ccsdra@gdt.bath.ac.uk (Dave Allum) Organization: BUCS, University of Bath, U.K. Lines: 9 In article <1989Nov18.222704.16822@ccu.umanitoba.ca> rahardj@ccu.UManitoba.CA (Budi Rahardjo) writes: >I am trying to write a program (in MSC) which loads a 100K data into memory, >and save the starting address and ending address with a pointer or index. >The problem is after reaching the end of 64 K the pointer wrap around >the beginning of the same data blocks, so it writes over the first 36K. >To make it simple, here is the problem I have : >* How do I increment the pointer so that it can point beyond the 64 barier ? Declare your pointers as char huge * and use the halloc/hfree routines.