home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / amiga / programm / 11433 < prev    next >
Encoding:
Text File  |  1992-07-21  |  1.6 KB  |  33 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!munnari.oz.au!metro!usage!newt.phys.unsw.oz.au!jeice
  3. From: jeice@newt.phys.unsw.oz.au (Jose Ma.Goikoetxea)
  4. Subject: Custom-Bitmapped screen!!!!
  5. Message-ID: <1992Jul21.135317.10888@usage.csd.unsw.OZ.AU>
  6. Sender: news@usage.csd.unsw.OZ.AU
  7. Nntp-Posting-Host: newt.phys.unsw.oz.au
  8. Organization: University of New South Wales
  9. Date: Tue, 21 Jul 1992 13:53:17 GMT
  10. Lines: 21
  11.  
  12.  
  13. Lately I have been playing with Intuition and I am currently trying to write 
  14. a program using the Intuition under v1.3. Currently my problem is that I want
  15. to use my own CustomBitmap as the screen but I have been unsuccesful in doing
  16. so. What I have done up to now is draw a screen in Low Res and then convert it 
  17. into a RAW format using a program called iffmaster. After loading this into the
  18. assembler, Oh by the way I have set the screenmode to 2 and screen type to $40
  19. but after compiling and then trying to run the program it keeps crashing.
  20. Thru reading some books such as ROM Kernels I have discovered that I have to set up a bitmap structure using InitBitmap but before doing that I have to 
  21. AllocRaster.
  22. Now what I dont understand is how do I use this routine if I have 2 Bitplanes 
  23. therefore I must call AllocRaster twice and it returns the pointer to the 
  24. memory location for each bitplane but then what do I do???????
  25.  
  26. Please help 
  27. Thanks Regards 
  28. Jose
  29. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  30. Jose Goikoetxea      ### TECNOFORCE ###          /||\  /| | /---\ |\
  31.              ~~~~~~~~~~~~~~~~~~~~        /_|| \/ | ||      |_\
  32.                The Wave Of The Future!!    /  ||    | | \----||  \
  33.