home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / msdos / programm / 8678 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  1.9 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!swrinde!news.dell.com!uudell!bigtex!texsun!exucom.exu.ericsson.se!news
  2. From: exuptr@exu.ericsson.se (Patrick Taylor)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: BIOS SPEED FOR VIDEO WRITES
  5. Message-ID: <exuptr.349.714338170@exu.ericsson.se>
  6. Date: 20 Aug 92 19:16:10 GMT
  7. References: <1992Aug20.131829.5606@tc.cornell.edu>
  8. Sender: news@exu.ericsson.se
  9. Organization: Ericsson Network Systems, Inc.
  10. Lines: 41
  11. Nntp-Posting-Host: exupc31.exu.ericsson.se
  12.  
  13. In article <1992Aug20.131829.5606@tc.cornell.edu> homer@theory.TC.Cornell.EDU (Homer Smith) writes:
  14. >      
  15. >     From a beginner...
  16. >     I wrote a short program in assembler to write to every pixel on
  17. >     On my 386/33 with Trident 8900 chip the program takes 1:10
  18. >minutes.
  19. >     On my 486/33 with identical video board the program takes 11:46
  20. >minutes.
  21.  
  22. First off, both times are too slow.
  23.  
  24. >     Could someone please give me a hint why the 486 is 11 times
  25. >slower than the 386. 
  26. >     Using another program that did a simple INC AX,1 repeatedly,
  27. >the 486 was 2.8 times faster than the 386.
  28. >     Homer
  29.  
  30. How are you drawing pixels?  What video mode? If you are calling an INT 10h 
  31. function, there's your bottleneck.  As for why it might be slower, check 
  32. these things:
  33.  
  34. 1>  Do you have VIDEO / BIOS shadow on either machine?
  35.  
  36. 2>  Do you have any non-standard bus timings on either machine?  (Extended
  37.     setup)
  38.  
  39. 3>  Compare the loaded drivers, etc... on both machines, especially packet 
  40.     drivers, keyboard intercepts, video intercepts, etc...
  41.  
  42.  ----------------------------------------------------------------------------
  43.     "This must be Thursday.  I never could get the hang of Thursdays"
  44.                                                        - D Adams
  45.   - Patrick Taylor
  46.     Ericsson Network Systems
  47.     exuptr@exu.ericsson.se                       "Don't let the .se fool you"
  48.     alternately, exuptr@ZGNews.Lonestar.Org
  49.