home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 053.lha / WarpText < prev    next >
Internet Message Format  |  1986-11-20  |  5KB

  1. From ucbvax!ucbcad!ames!sdcsvax!ucsdhub!jack!man!crash!pnet01!billk Mon May 18 00:09:05 PDT 1987
  2. Article 4761 of comp.sys.amiga:
  3. Path: ucbvax!ucbcad!ames!sdcsvax!ucsdhub!jack!man!crash!pnet01!billk
  4. >From: billk@pnet01.CTS.COM (Bill Kelly)
  5. Newsgroups: comp.sys.amiga
  6. Subject: Blitz speed (and faster) text routines.  Source.  Availiable.  Now.
  7. Message-ID: <1111@crash.CTS.COM>
  8. Date: 16 May 87 07:56:16 GMT
  9. Sender: news@crash.CTS.COM
  10. Organization: People-Net [pnet01], El Cajon, CA
  11. Lines: 95
  12.  
  13. I decided I'd post this notice now, since BlitzFonts has been receiving so
  14. much press...
  15.  
  16. I have written some routines, which I call my 'WarpText' text routines.  I was
  17. planing to release them free to the public in about a month or so (and I still
  18. am).
  19.  
  20. Here's what they do:  
  21.  
  22. Don't confuse them with BlitzFonts.  I don't have a program that modifies
  23. Text() in order to speed up existing software.  Rather, I have written a bunch
  24. of specific Text routines that are as fast and Faster than Blitz is.  (Again,
  25. not BlitzFonts, but Blitz -- BlitzFONTS is much slower than Blitz anyway, and
  26. is a whole different thing.)
  27.  
  28. My routines are written in assembler and are intended to be used in any
  29. program you might be writing for which you desire text output that is so fast,
  30. a whole screenfull (2000 characters, printing every one, not even skipping
  31. spaces-- printing those too) just *appears* on the screen in front of your
  32. eyes. 
  33.  
  34. This would be very useful in things like Editors, for example.  DME, for
  35. instance, with text output scroll down in a file, keeping up with even the
  36. fastest key repeat speeds... (like mine :-)
  37.  
  38. Or modem programs that have trouble emitting text at over, say, 1200 bps,
  39. could now do 38,400 bps with no sweat...!  (I happen to have a terminal that
  40. will go that fast, so that's useful to me, if no one else...)
  41.  
  42. 'WarpText' does, however (at this time) have a couple limitations...
  43.  
  44. 1. Only works in it's own screen or in a SUPER_BITMAP window.  I should be
  45.    finishing the routine to work inside windows fairly soon.
  46.  
  47. 2. You are limited to topaz.8 or another non-proportional 8 by 8 pixel font.
  48.  
  49.  
  50. 3. (Not a limitation for any practical application I've thought of yet that
  51.    would have a use for WarpText, but:)
  52.    Text locations are specified in character locations-- i.e. Location 10,10
  53.    with the Text() routine would output your text at pixel-location 10,10.
  54.    WarpText would output the text beginning at 10 characters accross and
  55.    10 characters down.  (Pixel location 80,80)
  56.    This should have no impact on things like editors, terminal programs, etc.
  57.    but I thought I'd mention it anyway.
  58.    This feature actually cleaned up my code a lot.  I was always having to
  59.    convert the pixel-locations that Text() uses into character locations
  60.    and vice versa for my program.  Now I can keep it in character locations
  61.    all the time.
  62.  
  63.  
  64. I had planned (and am planning) to release all of my routines and a simple
  65. example program in about a month and a half.  You see, what I'm doing is sort
  66. of writing a LIBRARY of text routines, though it's more of a library in the
  67. conventional sense than an Amiga library. (Which it's not)  I'm putting
  68. together a whole set of WarpText routines, each routine being different and
  69. sort of specializing in something.  
  70.  
  71. E.g.  there is the Plain_Jane routine which does no checking for linefeeds or
  72. formfeeds or anything and only works inside a screen or SUPER_BITMAP.  It just
  73. blasts out pure [sic] text.
  74.  
  75. Then there's the one that does a little bit of checking but is still confined
  76. to a screen or super_bitmap.
  77.  
  78. Next up is one that handles lots of things like cr's linefeeds, VT's, FF's,
  79. etc. and skips spaces in a string for even more speed...
  80.  
  81. Now we come to the one I'm working on right now.. Like the Plain_Jane routine,
  82. but works inside windows.  After that comes the one that supports a few
  83. 'control' characters, and then the even more complicated one -- all working in
  84. windows.
  85.  
  86.  
  87. By doing this, you can choose whichever routine best suits your application,
  88. or pick one that comes close and modify it to your heart's content...
  89.  
  90.  
  91. If anyone wants a 'preview' of WarpText. (i.e. I'll send you what I've got now
  92. so you don't have to wait a *whole* month and a half :-)  send me mail and
  93. I'll send you some stuff.  
  94.  
  95.  
  96. Bye the way, I'm not charging anything for these routines... not even <gasp>
  97. shareware.  (Though I would appreciate a bit of credit if you use them, say in
  98. your source code or your program...)
  99.  
  100.  
  101. Go-Amiga -- Rah! Rah! Rah! etc.  (Sorry this posting was so LLOONNGG...)
  102.  
  103. --
  104. Bill Kelly      {akgua, hplabs!hp-sdd, sdcsvax}!crash!pnet01!billk
  105.                 (Don't use pnet01!billk; try crash!pnet01!billk -- Thanks!)
  106.  
  107.            Bulletin: A seminar on time travel will be held two weeks ago.
  108.  
  109.  
  110.