home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5566 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: news.eunet.fi!fipnet!kone!jsaarinen
  2. Newsgroups: comp.sys.amiga.programmer
  3. X-NewsReader: IntuiNews 1.2b (31.7.94)
  4. References: <576.6613T1070T1730@login.eunet.no> <4i6eql$qpo@brachio.zrz.TU-Berlin.DE>
  5. From: "Jyrki Saarinen" <jsaarinen@kone.fipnet.fi>
  6. Date: Sat, 16 Mar 96 17:24:55 UT
  7. Comments: Illegal date header - new date added by quicknews
  8. X-Original-Date: Sat, 16 Mar 96 18:05:57 
  9. MIME-Version: 1.0
  10. Content-Type: text/plain; charset=iso-8859-1
  11. Content-Transfer-Encoding: binary
  12. Subject: Re: doubling pixels horizontally
  13. Message-ID: <38233047@kone.fipnet.fi>
  14.  
  15.  
  16. > >> Yes, I did my own interrupthandler.
  17. > >Is this a system interrupthandler??
  18. > No, it is impossible to get in charge of the blitterint without some
  19. > hardware banging. 
  20.  
  21. How about QBlit()? It is the same you would do with HW blitter
  22. interrupt.
  23.  
  24. Btw, why Gomjabbar had very slow c2p routines, using BYTE
  25. writes to CHIP-ram etc.. Also the polygon loops did not
  26. look very fast.. Divs for calculating slopes etc. 
  27.  
  28. I think the best way for slope calculation is a 1/x table
  29. with 15 bit fraction, so that muls.w (28 cycles max.) can
  30. be used, then add.l dn,dn on the result to get 16.16. Faster
  31. than divs.w and more accurate, it is impossible to use
  32. 16.16 and divs.w because of the potential overflows..
  33.  
  34. --                               _
  35. a Stellar programmer          _ //
  36. "Amiga - back for the future" \X/
  37.