home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / atari / st / tech / 6362 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  2.3 KB

  1. Path: sparky!uunet!olivea!charnel!sifon!thunder.mcrcim.mcgill.edu!homer.cs.mcgill.ca!bpat
  2. From: bpat@cs.mcgill.ca (Patrick BETREMIEUX)
  3. Newsgroups: comp.sys.atari.st.tech
  4. Subject: Re: Sending objc_draw to a memory buffer rather than screen
  5. Message-ID: <BzLBC0.AKt@cs.mcgill.ca>
  6. Date: 21 Dec 92 03:36:00 GMT
  7. References: <1992Dec11.094743.20421@aber.ac.uk> <1gohmmINN18lg@rs1.rrz.Uni-Koeln.DE> <1gpi5cINN1487@rs1.rrz.Uni-Koeln.DE>
  8. Sender: news@cs.mcgill.ca (Netnews Administrator)
  9. Organization: SOCS - McGill University, Montreal, Canada
  10. Lines: 37
  11.  
  12. In article <1gpi5cINN1487@rs1.rrz.Uni-Koeln.DE> kim@vax.mpiz-koeln.mpg.dbp.de writes:
  13. >In <1gohmmINN18lg@rs1.rrz.Uni-Koeln.DE> aeg03@rrz.uni-koeln.de (Jan T. Kim) writes:
  14. >
  15. >>I think they can come from (and go to) any rectangular bitmap you
  16. >>choose.  The  bitmaps  must  be  specified  by descriptors called
  17. >>MFDB's. Pointers to the MFDB of the source bitmap and to the MFDB
  18. >>of  the  target  bitmap  are  passed to the vro_cpyfm() function.
  19. >>Among other things, the MFDB contains a  pointer  to  the  actual
  20. >>bitmap, and if this pointer happens to be a NULL pointer, the VDI
  21. >>will use an MFDB of  its  own  that  describes  the  screen,  and
  22. >>therefore blit from/to the screen.
  23. >>The answer to your question is, therefore, the blits come from/go
  24. >>to  any  bitmap  that  you  specify. If you specify the screen by
  25. >>passing a NULL pointer, the blits will come from/go to where  the
  26. >>VDI  thinks  the screen is.
  27. >
  28. >I'd like to correct myself before  others  do...  as  it  can  be
  29. >concluded  from  the first paragraph, the screen is not specified
  30. >by passing a NULL pointer to the  vro_cpyfm()  function,  but  by
  31. >passing a pointer to an MFDB which contains a NULL pointer at the
  32. >location where a pointer to a bitmap is expected.
  33. >
  34. >Just to be exactly precise.
  35. >
  36. >Greetinx, Jan
  37. >
  38. > +- Jan Kim -- X.400:    S=kim;OU=vax;O=mpiz-koeln;P=mpg;A=dbp;C=de -+
  39. > |             Internet: kim@vax.mpiz-koeln.mpg.dbp.de               |
  40. > |                                                                   |
  41. > *----=<  hierarchical systems are for files, not for humans  >=-----*
  42.  
  43. If 0 is specified as pointer to the bitmap, then VDI will check the logbase
  44. pointer, and use this as address. So you can change the screen's logical
  45. address and use VDI and AES without any problems (ie, they will both draw
  46. to the place you specified).
  47.  
  48.                     Patrick.
  49.