home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / cbm / 5252 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  2.9 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!nott!uotcsi2!revcan!sidus!zone4!andrew
  2. From: andrew@zone4.ocunix.on.ca (Andrew Low)
  3. Newsgroups: comp.sys.cbm
  4. Distribution: world
  5. Subject: Re: BBS's
  6. References: <28587@optima.cs.arizona.edu> <92122324429@zone4.ocunix.on.ca> <28876@optima.cs.arizona.edu>
  7. Message-ID: <9212292132@zone4.ocunix.on.ca>
  8. Organization: Zone4
  9. Date: Tue, 29 Dec 92 17:15:01 GMT
  10. Lines: 63
  11.  
  12. In article <28876@optima.cs.arizona.edu> 
  13. mcbride@cs.arizona.edu (Chris M. McBride) writes:
  14. >
  15. >BUT I lied. Think Twice is the first demo to use FLD a kind of
  16. >predecessor to FLI. The same technique is used in both methods.
  17.  
  18. I'd disagree.. If FLD is what I was lead to believe it is then the first
  19. time I saw it was by Changeling in the Aftershock demo, but I'm sure there
  20. were others which came before him.  It uses the same sort of method, but 
  21. the idea and timing are far different.  
  22.  
  23. Simplistic FLD code:
  24.  
  25.     LDX current raster line
  26.     LDY funky video chip value ($D011 I think)
  27.     STY video chip
  28. FOO:    CPX raster line ($D012)
  29.     BEQ FOO
  30.     INY            (I can't remember if you increment or not)
  31.     STY video chip 
  32.     INX
  33.     CPX last raster line
  34.     BNE FOO
  35.  
  36. Simplistic FLI code:
  37.  
  38.     You have 25 cycles per line.  (NTSC)
  39.     Use nops etc, to pad out your video chip commands to keep
  40.     things exactly 25 cycles..
  41.  
  42.     LDX funky video chip value
  43.     LDY funky screen value
  44.     STX $D011
  45.     STY $D018
  46.     NOP
  47.     ..
  48.     NOP
  49.     [repeat for each raster line you want to have FLI]
  50.  
  51. Now skipping details, since I'm doing this off the top of my head.. 
  52. The code is very different, one can get by with a simple delay loop
  53. for FLD and with FLI you require tight timing.  I can't believe that 
  54. someone would sit around and make tight timing for FLD if it wasn't
  55. required - it would be too stupid.  And with the time restrictions
  56. with FLI it doesn't look possible to do with a delay loop sort of thing.
  57.  
  58. I learned FLD code from something really lame, and it was very obvious 
  59. once I realised what was going on.  I had seen it quite a bit before I
  60. was able to program ML very well so it was a big mystery to me.  FLI code
  61. I believe I discovered from a NATO (yes, that is a PAL group) demo.  They
  62. used the FLI method to display a spinning (warping) logo of 'NATO' and not
  63. to provide more colours (both are possible).  In order to figure out what
  64. was going I I had to 'fix' the demo for each raster line.. I got a few lines
  65. down and realized what was going on and found it easier to write my own..
  66. (of course I had a friend helping me ;)
  67.  
  68. There are undeniable similarities in the way the code works, but I have
  69. a very hard time believing that one was discovered from the other.  They
  70. share a common parent, and are siblings.
  71.  
  72. +/+\+/+\+/+chew carefully/+\+/+\+/+\+/+\+/+\+/+\+/+\+/+\+/+\+/+\+/+\+/+\+/+\+/+
  73. 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 .
  74.  "You need yourself a gimmick... mail a body part with it, or something" - CR
  75.