home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / programm / 14788 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  2.6 KB

  1. Path: sparky!uunet!seismo!darwin.sura.net!wupost!sdd.hp.com!ux1.cso.uiuc.edu!news.iastate.edu!niko
  2. From: niko@iastate.edu (Nikolaus E Schuessler)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: message for brad@tazboy.jpl.nasa.gov
  5. Message-ID: <1992Aug31.184016.29964@news.iastate.edu>
  6. Date: 31 Aug 92 18:40:16 GMT
  7. Sender: news@news.iastate.edu (USENET News System)
  8. Organization: Iowa State University, Ames, IA
  9. Lines: 66
  10.  
  11. ** couldn't get this mail through... **
  12. * sigh *
  13.  
  14. >    Video (GetMainDevice) Palette/colortable manipulation routines...
  15.  
  16. > ?
  17.      The video card gets initialized with 256 default colors (IIcx
  18. 8bit video card). I'm suspecting that I'm gonna have to talk directly
  19. with the video card to change palletes & stuff cause most of the
  20. facilities will require an init_pallettes and possibly init_quickdraw
  21. calls (which probably aren't in rom).
  22.  
  23. >    > GetFont/Resource calls (for system fonts in rom)
  24.  
  25. > Sort of, I think.
  26.  
  27. >    Memory stuff...
  28.  
  29. > The routines are available but you may need to setup your own heap first.
  30. > The boot routine has its own heap but it may not be setup the way you
  31. > want it.
  32.  
  33. >    Slot Manager...
  34.  
  35. > Yes
  36.  
  37. >    And what does the memory map look like at this point?
  38.  
  39. > this is a big question, could you be more specific.
  40. > also, what machine are you using?
  41.  
  42. The startup sequencs 'sets up device tables' (video) and 'loads' the diskdriver
  43. et. al. How do I know what memory address is safe to load a program into?
  44. I'm gonna have to write my own malloc, so it'll have to know what not
  45. to touch...
  46.  
  47. (IIcx 5MB, 40M hd)
  48.  
  49. > Depends on how much of the mac environment you can keep looking like the
  50. > mac os thinks it should look like.
  51.  
  52. This is what scares me... 'what the mac os thinks it should look like'
  53. probably isn't info that is easy to get at.
  54.  
  55. > I have played with this stuff quite a bit and really enjoy digging in to
  56. > these issues.  
  57.  
  58.   Me too... I finally understand how the games get control of the entire
  59. screen... and do it rather speedily.. the use the screen buffer
  60. directly (??).
  61.  
  62. > Let me know if you have any specific questions that I might
  63. > be able to figure out for you.  
  64.  
  65. Well... right now I'm trying to get my program to boot off a floppy...
  66. I have some sample code written for gcc/MACMINIX which is helpful,
  67. but I still have to figure out how and where to write this code
  68. on the floppy to get it to boot .. details details...
  69.  
  70. thanx for the helpful info...
  71.  
  72. -- 
  73. Niko Schuessler               
  74. Project Vincent Systems Manager              email: niko@iastate.edu
  75. Iowa State University Computation Center     voice: (515) 294-1672
  76. Ames IA 50010                                snail: 272 Durham 
  77.