home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / atari / 8bit / 5609 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  2.5 KB

  1. Path: sparky!uunet!well!moon!cyberden!phbill
  2. From: phbill@cyberden.uucp
  3. Newsgroups: comp.sys.atari.8bit
  4. Subject: VBIs/DLIs as Proc's in Action!
  5. Message-ID: <qsgwVB4w165w@cyberden.uucp>
  6. Date: Wed, 16 Dec 92 16:06:01 PST
  7. Organization: Indescribable Creations
  8. Lines: 92
  9.  
  10. After playing a teeny bit with Quick, I got REALLY interested in DLIs and 
  11. VBIs.  The most I've done before was a DLI to make, say, every line of 
  12. the screen be a different color.  But now, I've learned exactly how 
  13. multicolored text is done! (with Sync's)  (ie, say you had a Gr.2 mode 
  14. text line.. instead of bit-mapping it onto a gr.7 mode, and then DLI'ing 
  15. every line of it, you just do a facny DLI to the Gr.2 mode, which changes 
  16. the color not just at every display list line, but every scan line (that 
  17. you specify)!)
  18.  
  19. Trippy..
  20.  
  21. now...  how can one do such a thing in Action!..  in Quick, you do 
  22. something like this:
  23.  
  24.  
  25. INTER vbi-name
  26.   ...
  27.   BEGIN
  28.     ...
  29.   ENDVBI
  30.  
  31.  
  32. INTER dli-name
  33.   ...
  34.   BEGIN
  35.     ...
  36.   ENDDLI
  37.  
  38.  
  39. MAIN
  40.   ...
  41.   ...
  42.   VBI(vbi-name)
  43.   DLI(dli-name)
  44.   ...
  45. ENDMAIN
  46.  
  47.  
  48.  
  49. like that.  The "INTER"..."BEGIN" and "MAIN" are like "PROC" in Action!, 
  50. and "ENDVBI", "ENDDLI", and "ENDMAIN" are like "RETURN" in Action!.
  51.  
  52. I'm just guessing, but I suppose the commands "VBI()" and "DLI()" turn on 
  53. the VBI and DLI modes, and set their pointers to the code-block addresses 
  54. of the procedures "vbi-" and "dli-name"...
  55.  
  56.  
  57. Also, the commands "PUSH" and "PULL" are shown in this explaination in 
  58. the book:
  59.  
  60.  
  61. INTER FARBE
  62.   ...
  63. BEGIN
  64.   PUSH
  65.   ...
  66.   PULL
  67. ENDDLI
  68.  
  69.  
  70. I'm also guessing that "ENDDLI" would be compiled to a 64 (dec) (is that 
  71. right?), compared to a 96 (dec) (is THAT right?!)..  I know almost 
  72. NOTHING of ML and assembly, but have played around with it, and deduced 
  73. that almost all ML routines end with a 96, and all DLI's end with a 64.  
  74.  
  75.  
  76.  
  77.  
  78. Well...  any suggestions on porting such little ditties into Action!?  
  79. (since I'm more used to it, and have an English manual for it! ;)  )
  80.  
  81.  
  82.  
  83.  
  84.  
  85. Thanx in advance..      Anyone who hasn't looked at Quick yet should.. 
  86. it's pretty neat.  (The editor could be better, to tell the truth.. :(  
  87. but oh well.)
  88.  
  89.  
  90. Also, any Quick users..         HOW DO YOU DO INVERSE IN THE EDITOR!?!?
  91.  
  92. (I'm so used to the E:ditor in BASIC, and the upgraded E:ditor-style 
  93. editor Action! uses..
  94.         and then there's TextPro and Atariwriter+ 
  95.  
  96.                         I've been spoiled! ;)           )
  97.  
  98.            \
  99.   /\  /    /\  / /  /
  100.  /\/ /\  \/\/ / /  /
  101. /     /   \/ /  \  \    PhBill@Cyberden.UUCP
  102.