home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / programm / 19717 < prev    next >
Encoding:
Text File  |  1992-12-12  |  2.6 KB  |  62 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!munnari.oz.au!sol.deakin.OZ.AU!news.cs.uow.edu.au!cs.uow.edu.au!cc.uow.edu.au!geoff
  3. From: geoff@cc.uow.edu.au (geoffrey roberts)
  4. Subject: Depth and Device Manager Questions
  5. Message-ID: <1992Dec12.055906.19092@cc.uow.edu.au>
  6. Summary: Need help on getting Max Depth and Using Dev. Manager on graphics cards
  7. Keywords: Maximum Depth, Device Manager, Direct Device
  8. Organization: University Of Wollongong
  9. Date: Sat, 12 Dec 92 05:59:06 GMT
  10. Lines: 50
  11.  
  12.  
  13.    I have a couple of questions concerning the graphics environment on 
  14. the mac.   If anyone knows that answers to these could they please 
  15. contact me on e-mail:
  16.  
  17.                         g.roberts@uow.edu.au
  18.  
  19. 1.    Question concerning depth
  20.  
  21.     In order to get as much information about the colour environment as 
  22. possible, I need to get the maximum possible depth of each device.   I 
  23. realise that after (and including) system 6.0.5 I can recursively call 
  24. the HasDepth function passing to it every possible depth.   This seems 
  25. a little long winded.   Is their a cleaner way?
  26. Secondly, if using the HasDepth function is the only possible way of 
  27. determining the maximum depth of a device, how can I find the maximum 
  28. possible depth of a device before system 6.0.5?   All we know is that 
  29. it must be 8 bit or below prior to this system (if 32 bit QD is not 
  30. installed).
  31.     Please note that any system I use to determine the maximum depth 
  32. will need to work on both PDS and NuBus slots.
  33.  
  34. 2.    Question on sample code.
  35.  
  36.     I have a couple questions regarding  the "DirectSetEntries" sample 
  37. code found on the February 92 Developers CD.   The documentation on 
  38. this sample code suggests that it can possibly be used possibly for 
  39. animating on a direct device.   This is exactly what I need to do!
  40.     In this code calls are being made to the device manager, yet Inside 
  41. Macintosh Vol II it states:
  42. "The display screen is not a device; drawing on the screen is handled 
  43. by quickdraw"
  44. Does this apply to pre-colour machines only.   ie, Can I use device 
  45. manager calls to communicate to the graphics card - (NOT TO THE SCREEN) 
  46. on Macintosh's with colour quickdraw?   If so, will these calls work on 
  47. machines that have a graphics card in their PDS.
  48. Secondly, could someone please explain the parameters that are being 
  49. passed to PBControl?   I assume that the parameters passed in this code 
  50. are described in "Designing cards and Drivers for the Macintosh".   I 
  51. have no need for this full documentation - is there a smaller list of 
  52. parameters for graphics cards somewhere?
  53. Finally, would this call work on machines that use the PDS slot for 
  54. their graphics card?
  55.  
  56.  
  57. Thanks in advance
  58.  
  59. Geoff
  60.  
  61. g.roberts@cc.uow.edu.au
  62.