home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaDemoCD1.iso / DEMOS / EC28B.lha / eurochart28 / articles / EuroDeveloperDocs < prev    next >
Encoding:
Text File  |  1980-01-07  |  6.2 KB  |  235 lines

  1. »CL9:--------------------------------------------------------------------------------
  2. »CL8:                  »BIG:The Official EuroChart Developer Docs»
  3. »CL9:--------------------------------------------------------------------------------
  4. »CL1:
  5.    Welcome to "»CL0:The Official EuroChart
  6. Developer Docs»". This text is written
  7. by me the coder,for thoose people who
  8. wants to know whats  behind the Euro-
  9. Chart surface. The things thats going
  10. to be  covered in  this doc  are such
  11. stuff as clipart sizes & nr of colors
  12. in the different parts of the EC. The
  13. used text formatting codes etc...
  14. »CL7:
  15. The source code of the EuroChart goes
  16. around  »CL6:6100» lines of  assembler code
  17. (replayer not included).
  18. »CL7:None of  the old  original  EuroChart
  19. code have been used...
  20. Please note that »CL6:no assigns» are needed
  21.  
  22.  
  23.  
  24.  
  25. to run »CL6:The EuroChart»  from your hard-
  26. drive...
  27. »CL1:
  28. Its »CL0:99,99% system  friendly» (the only
  29. thing who hits the  hardware directly
  30. is the module  replayer routine). The
  31. music routines  will  try to allocate
  32. the audio  channels each  time one of
  33. the included  modules starts  to play
  34. (if allocation fails it will keep its
  35. silence.) & dealloc  them as soon the
  36. module pauses/stops.
  37. »CL7:
  38. Its screen is dragable & will even be
  39. shown in  doublePal  if possible  (No
  40. need to use screen promotors here»CL6::-)»).
  41. »CL1:All the clipart  is loaded as standard
  42. iff-ilbm files. That also goes for the
  43. gallery section...
  44. »CL7:
  45. By the way... Windows »CL6:vs» Workbench
  46. coding I can only say one thing »CL6:Windows
  47. suxx» (I've tried  it for a while on my
  48. PC). Its  one big mess,  everything in
  49. it fills atleast  5-10 times more than
  50. on the Amiga. The BMP gfx format suxx.
  51. Each pxl  allmost always  gets a long-
  52. word ($00RRGGBB), it  can also contain
  53. a color table  like an iff  ilbm file,
  54. but thats hardly  never used. Its all-
  55. most ok (except  the empty  byte) as a
  56. true color  format. But totally »CL6:stupid»
  57. if you're only using 256 or 16 colors,
  58. of course they're proud of it.
  59.  
  60. »CL1:All windows pop to front as soon they'
  61. re touched (try to  use a doc text to-
  62. gether with  the application).  If you
  63. dont like their  »CL0:infamous» "Start" bot-
  64. tom, bad  luck, its almost  impossible
  65. to use  the drawer  windows as  on the
  66. Amiga because they dont  got their own
  67. screen & you will have to minimize all
  68. the program windows  to ever see them.
  69. They all share the same screen,proper-
  70. ly another »CL0:genius  idea» by »CL0:Bill Gates».
  71. & for all  you graphicians  out there,
  72. just  try to  use a  standard  palette
  73. requester (Oh yes, they did managed to
  74. make it that »CL0:bad»).
  75. »CL7:
  76. I can only  say one  more thing,  just
  77. try to program Windows  programs & you
  78. will discover  why it atleast  takes a
  79. »CL6:100MHz» pentium. & try to program Amiga
  80. system friendly code to see why it on-
  81. ly needs  a »CL6:14MHz» 68020  to run better
  82. »CL6::-)»...
  83. »CL0:
  84. NB: »CL1:Have you ever seen an Amiga emula-
  85. tor on  the PC (I  have, on  my 150MHz 
  86. Pentium) It goes like a 1-3 MHz Amiga,
  87. even the mousepointer  »CL0:flickers» across
  88. the screen (what else on a lame PC)...
  89. Well, back to the subject...
  90. »CL7:
  91. First  some  important about  all  the
  92. clipart  sizes, the width  should all-
  93. ways be on »CL6:16 pixels boundaries»(eg:16,
  94. 32,64,112...160...256 etc). The reason
  95. to this is because the system blitting
  96. routines I use,demand the data at »CL6:word»
  97. sizes.  Like the  picture in  the next
  98. column.
  99.  
  100.  
  101.  
  102.        »PIC:Develop01»
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109. »CL1:
  110. In the  »CL0:best» situation  it looks  like
  111. below.  (Word  aligned  anyway,  black
  112. right side thanks to some drawing pro-
  113. grams save methods).
  114.          »PIC:Develop02»
  115.  
  116.  
  117.  
  118.  
  119.  
  120. »CL7:
  121. In the »CL6:worst» times it all crashes in a
  122. »CL7:guru... (Not word aligned).
  123.  
  124. »CL1:But  now  lets look at  the  different
  125. parts of the »CL0:EuroChart».
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141. »CL8:       The EuroChart Section»CL7:
  142. The pictures  shouldn't extend  128*50
  143. pixels  in up  to 7  bitplanes  (1-128
  144. colors). Said in an  another way, they
  145. should be small...
  146. »CL1:
  147. Like this »CL0:fabulous» picture below...
  148.  
  149.        »PIC:Develop00»
  150.  
  151.  
  152. »CL7:
  153.                          € This is a
  154.                            »CL6:fabulous»
  155.                            picture!
  156.  
  157.               ‚
  158.        Its »CL6:128*50» pixels
  159.  
  160.  
  161. »CL8:         The EuroNews Section»CL7:
  162. The largest clipart size is »CL6:640*189» in
  163. up to 7 bitplanes  (1-128 colors). But
  164. of course  they shouldn't  be at  this
  165. size (They should be 639*188 »CL6::-)»).
  166. »CL4:
  167.             Developer Info»CL1:
  168. The topbar size is            640*27*6
  169. The bottom area               640*93*6
  170. Background pattern sizes      64*189*5
  171. »CL7:
  172. Gadgets in the  bottom area can be any
  173. size. (System routines rulez!!!).
  174. »CL4:
  175. About columns»CL1:
  176. The column  width is  suggested  to (&
  177. should be)38 chars for the small font,
  178. the big  font about  25 chars.  Theres
  179. room for 20  lines of  text. This goes
  180. for both fonts...
  181. »CL4:About only 1 column»CL7:
  182. Currently  if you  only want  1 column
  183. you need  to write  the (max 80 chars)
  184. column as the 1. column & then let the
  185. 2. column consist of blank chars (Just
  186. hit the <»CL6:return»> key 20 times).
  187. »CL4:
  188.   Control Codes For Use In Articles
  189.  
  190. »CL5:BIG: »CL7:This is the »BIG:»CL5:large» font
  191. »CL5:SML:»CL1: & this is the »CL5:small» font
  192. »CL5:DEF:»CL7: Gives the »CL5:small» font & this »DEF:color
  193. »CL5:PiC:»CL1: Followed  by a  clipart  filename
  194.      shows the clipart at the »CL0:P»iC: pos
  195.      Use the '…' character to end file
  196.      name with (EG: »CL0:…PiC:BolDyr.iff…»).
  197. »CL5:…»CL7:    Standing  on its  own it  used to
  198.      undo last  setting (color as well
  199.      as current font type).
  200.  
  201. »CL4:              ColorCodes
  202.   »CL0:CL0: Color 0         »CL1:CL1: Color 1
  203.   »CL2:CL2: Color 2         »CL3:CL3: Color 3
  204.   »CL4:CL4: Color 4         »CL5:CL5: Color 5
  205.   »CL6:CL6: Color 6         »CL7:CL7: Color 7
  206.   »CL8:CL8: Color 8         »CL9:CL9: Color 9
  207. »CL1:
  208. By the way, all codes  must start with
  209. a '»CL0:…»' character.
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221. »CL8:         The EuroGallery Section»CL1:
  222. The pictures largest sizes are »CL0:640*134»
  223. pixels in 1-7 planes (1-128 colors).
  224. »CL4:
  225.             Developer Info»CL7:
  226. The topbar size is            640*27*6
  227. The bottom area               640*93*6
  228. »CL1:
  229. Gadgets in the bottom area can be any
  230. size. (Long live  system routines»CL0::-)»).
  231.  
  232. »CL7:The Text area in bottom area should be
  233. able to contain »CL6:3» lines of text(around
  234. 386*38 pixels).
  235.