home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1730 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Message-ID: <marc_albrecht.04c3@act.ohz.north.de>
  2. Organization: A.C.T. - Amiga and more...
  3. X-Gateway: ZCONNECT UV uistda.ohz.north.de [DUUCP BETA vom 20.01.1996], RFC1036/822 UV uistda.ohz.north.de [DUUCP BETA vom 20.01.1996]
  4. References: <42386127@clobber.unterland.de>
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. From: marc_albrecht@act.ohz.north.de (Marc J. Albrecht)
  9. Subject: Re: Q: Whats so special about RKMs View example?? I need Help!
  10. Date: 22 Jan 1996 11:24:22 +0000
  11. Path: istda.ohz.north.de!act!marc_albrecht!marc_albrecht
  12. Newsgroups: comp.sys.amiga.programmer
  13. Distribution: world
  14.  
  15. Martin Biallas (billy@clobber.unterland.de) wrote:
  16.  > The first problem is: my view isn t empty. On the screen is either garbage or there
  17.  > is a very distorted picture of an other screen.
  18.  
  19. Sounds as if the bitmap pointers are incorrect. Did you see there are
  20. complete structures INSIDE other structures - I mean: sometimes they aren't
  21. pointers but complete bundles. So working with a pointer there might lead
  22. to crashes.
  23.  
  24.  > Next problem: When I free all memory I allocated before, the amiga crashes.
  25.  
  26. Sounds just the same as above. Some pointers are wrong.
  27.  
  28.  > When I start my code over and over again (for that purpose I hadn t freed my
  29.  > memory, so the amiga didn t crashes while the code-cleanup), it even crashed a few
  30.  > times.
  31.  
  32. Sure. You'll always crash by writing somewhere into the memory. It all
  33. sounds to me like misplaced/misused pointers. Could you give an example of
  34. your code? I am not too familiar with Assembler (it's been a looooong time
  35. since I used Assembler for programing purposes) but I usually understand it
  36. when seeing it.
  37.  
  38. Ciao,
  39. Marc
  40.