home *** CD-ROM | disk | FTP | other *** search
- Article 3795 of net.micro.amiga:
- Relay-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site well.UUCP
- Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site well.UUCP
- Path: well!ewhac
- From: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab)
- Newsgroups: net.micro.amiga
- Subject: Another Crock From The Schwab Collection
- Message-ID: <1581@well.UUCP>
- Date: 5 Aug 86 06:40:25 GMT
- Date-Received: 5 Aug 86 06:40:25 GMT
- Reply-To: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab)
- Organization: Whole Earth Lectronic Link, Sausalito CA
- Lines: 258
- Keywords: ScrollVPort, superbitmap, gameport, crock
- Summary: Example of how to use low-level graphics calls (that works!).
-
- [ The Ravenous Line Eating Bug of Traal ]
-
- Just when you thought I had run out of stupid ideas...
-
- This program more or less demonstrates how to use the low-level
- graphics calls; ScrollVPort() especially. You might be able to use this as
- the model for a larger program. You might also think of this as the world's
- most elaborate "Hello, World!" program.
-
- This program was written under MANX/Aztec C. Conversion to Lettuce
- should be trivial. To make this beastie, you say:
-
- 1> cc bigmap.c
- 1> ln bigmap.o -lc -o bigmap
-
- Adjust accordingly as per your environment.
-
- To use the program, plug a joystick into port 2, start the program,
- and tilt the joystick around. To quit, press the fire button.
-
- The program is conspicuously lacking in comments. Send me mail if
- any part of the code confuses you and you want an explanation. BTW, does
- anyone at Amiga have anything to say about this code? Would you guys have
- done something differently? Any and all feedback would be appreciated.
-
- Have fun.
-
- _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
- ________ ___
- \ /___--__ Leo L. Schwab
- ___ ___ /\ ---##\ ihnp4!ptsfa!well!ewhac
- / X \_____ | __ _---)) ..or..
- / /_\-- -----+==____\ // \ _ well ---\
- ___ ( o---+------------------O/ \/ \ dual ----> !unicom!ewhac
- \ / ___ \_ (`o ) hplabs -/ ("AE-wack")
- ____ \___/ \_/
- Recumbent Bikes: "Work FOR? I don't work FOR
- The _O_n_l_y Way To Fly! anybody! I'm just having fun."
- _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
- _-_-_-_-_-_-_-_-This is not a shell archive, but cut here anyway.-_-_-_-_-_-_
-