home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!nott!uotcsi2!revcan!sidus!zone4!andrew
- From: andrew@zone4.ocunix.on.ca (Andrew Low)
- Newsgroups: comp.sys.cbm
- Distribution: world
- Subject: Re: BBS's
- References: <28587@optima.cs.arizona.edu> <92122324429@zone4.ocunix.on.ca> <28876@optima.cs.arizona.edu>
- Message-ID: <9212292132@zone4.ocunix.on.ca>
- Organization: Zone4
- Date: Tue, 29 Dec 92 17:15:01 GMT
- Lines: 63
-
- In article <28876@optima.cs.arizona.edu>
- mcbride@cs.arizona.edu (Chris M. McBride) writes:
- >
- >BUT I lied. Think Twice is the first demo to use FLD a kind of
- >predecessor to FLI. The same technique is used in both methods.
-
- I'd disagree.. If FLD is what I was lead to believe it is then the first
- time I saw it was by Changeling in the Aftershock demo, but I'm sure there
- were others which came before him. It uses the same sort of method, but
- the idea and timing are far different.
-
- Simplistic FLD code:
-
- LDX current raster line
- LDY funky video chip value ($D011 I think)
- STY video chip
- FOO: CPX raster line ($D012)
- BEQ FOO
- INY (I can't remember if you increment or not)
- STY video chip
- INX
- CPX last raster line
- BNE FOO
-
- Simplistic FLI code:
-
- You have 25 cycles per line. (NTSC)
- Use nops etc, to pad out your video chip commands to keep
- things exactly 25 cycles..
-
- LDX funky video chip value
- LDY funky screen value
- STX $D011
- STY $D018
- NOP
- ..
- NOP
- [repeat for each raster line you want to have FLI]
-
- Now skipping details, since I'm doing this off the top of my head..
- The code is very different, one can get by with a simple delay loop
- for FLD and with FLI you require tight timing. I can't believe that
- someone would sit around and make tight timing for FLD if it wasn't
- required - it would be too stupid. And with the time restrictions
- with FLI it doesn't look possible to do with a delay loop sort of thing.
-
- I learned FLD code from something really lame, and it was very obvious
- once I realised what was going on. I had seen it quite a bit before I
- was able to program ML very well so it was a big mystery to me. FLI code
- I believe I discovered from a NATO (yes, that is a PAL group) demo. They
- used the FLI method to display a spinning (warping) logo of 'NATO' and not
- to provide more colours (both are possible). In order to figure out what
- was going I I had to 'fix' the demo for each raster line.. I got a few lines
- down and realized what was going on and found it easier to write my own..
- (of course I had a friend helping me ;)
-
- There are undeniable similarities in the way the code works, but I have
- a very hard time believing that one was discovered from the other. They
- share a common parent, and are siblings.
-
- +/+\+/+\+/+chew carefully/+\+/+\+/+\+/+\+/+\+/+\+/+\+/+\+/+\+/+\+/+\+/+\+/+\+/+
- Roo [andrew@zone4.ocunix.on.ca] m a c h i n e l o v e h a t e f e a r v o i d .
- "You need yourself a gimmick... mail a body part with it, or something" - CR
-