Re: speed of text display

new topic     » goto parent     » topic index » view thread      » older message » newer message

JasonDube wrote:
> 
> sorry.
> I forgot to add that I was in graphics mode 18.So, this is the code verbatum.
> 
> --------------
> include graphics.e
> object gfx
> gfx = graphics_mode(18)
> 
> for i = 1 to 400 by 1 do
>    puts(1,"01234567890123456789012345678901234567890...etc to 80 characters")
> end for
> ---------------
> 
> This is the code in totality. It takes about 87 seconds. I want to know why it
> takes
> so long.
> 
> I have a pentium 1.4 gig with Windows 2000
> 
> Thanks & sorry for not including this detail ;(
> 

Windows 2000 emulates DOS, and, I have no idea how far it emulates dos...
Printing that text is infact a dos call, which is emulated by windows 2000.
So, it's probably windows' problem. To check, you could find yourself a copy of
qb4.5, set SCREEN 12, and then print out a few lines. If that is equally slow,
it's proved that it has nothing to do with euphoria.

A workaround would be to print the text yourself.

Regards, Alexander Toresson

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu