home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!well!moon!cyberden!phbill
- From: phbill@cyberden.uucp
- Newsgroups: comp.sys.atari.8bit
- Subject: VBIs/DLIs as Proc's in Action!
- Message-ID: <qsgwVB4w165w@cyberden.uucp>
- Date: Wed, 16 Dec 92 16:06:01 PST
- Organization: Indescribable Creations
- Lines: 92
-
- After playing a teeny bit with Quick, I got REALLY interested in DLIs and
- VBIs. The most I've done before was a DLI to make, say, every line of
- the screen be a different color. But now, I've learned exactly how
- multicolored text is done! (with Sync's) (ie, say you had a Gr.2 mode
- text line.. instead of bit-mapping it onto a gr.7 mode, and then DLI'ing
- every line of it, you just do a facny DLI to the Gr.2 mode, which changes
- the color not just at every display list line, but every scan line (that
- you specify)!)
-
- Trippy..
-
- now... how can one do such a thing in Action!.. in Quick, you do
- something like this:
-
-
- INTER vbi-name
- ...
- BEGIN
- ...
- ENDVBI
-
-
- INTER dli-name
- ...
- BEGIN
- ...
- ENDDLI
-
-
- MAIN
- ...
- ...
- VBI(vbi-name)
- DLI(dli-name)
- ...
- ENDMAIN
-
-
-
- like that. The "INTER"..."BEGIN" and "MAIN" are like "PROC" in Action!,
- and "ENDVBI", "ENDDLI", and "ENDMAIN" are like "RETURN" in Action!.
-
- I'm just guessing, but I suppose the commands "VBI()" and "DLI()" turn on
- the VBI and DLI modes, and set their pointers to the code-block addresses
- of the procedures "vbi-" and "dli-name"...
-
-
- Also, the commands "PUSH" and "PULL" are shown in this explaination in
- the book:
-
-
- INTER FARBE
- ...
- BEGIN
- PUSH
- ...
- PULL
- ENDDLI
-
-
- I'm also guessing that "ENDDLI" would be compiled to a 64 (dec) (is that
- right?), compared to a 96 (dec) (is THAT right?!).. I know almost
- NOTHING of ML and assembly, but have played around with it, and deduced
- that almost all ML routines end with a 96, and all DLI's end with a 64.
-
-
-
-
- Well... any suggestions on porting such little ditties into Action!?
- (since I'm more used to it, and have an English manual for it! ;) )
-
-
-
-
-
- Thanx in advance.. Anyone who hasn't looked at Quick yet should..
- it's pretty neat. (The editor could be better, to tell the truth.. :(
- but oh well.)
-
-
- Also, any Quick users.. HOW DO YOU DO INVERSE IN THE EDITOR!?!?
-
- (I'm so used to the E:ditor in BASIC, and the upgraded E:ditor-style
- editor Action! uses..
- and then there's TextPro and Atariwriter+
-
- I've been spoiled! ;) )
-
- \
- /\ / /\ / / /
- /\/ /\ \/\/ / / /
- / / \/ / \ \ PhBill@Cyberden.UUCP
-