flat assembler
Message board for the users of flat assembler.

Index > Main > Screen Memory

Author
Thread Post new topic Reply to topic
zck127



Joined: 16 Jun 2004
Posts: 5
zck127 16 Jun 2004, 22:14
I was reading an article the other day that said that interrupts are among the slowest instructions. I am searching for another way to write to the screen without using DOS. I have been looking into using stosw to access screen memory, but I haven't been able to figure it out yet. Any help would be greatly appreciated. Thanks.
Post 16 Jun 2004, 22:14
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 17 Jun 2004, 10:33
For which platform? DOS, Win32, linux, ... ?

For DOS, use VESA and get hold of the linear framebuffer.
For win32, use DirectX
For linux... get a better OS ;P, or use svgalib, SDL, PTC, X, or the framebuffer stuff
Post 17 Jun 2004, 10:33
View user's profile Send private message Visit poster's website Reply with quote
crc



Joined: 21 Jun 2003
Posts: 637
Location: Penndel, PA [USA]
crc 17 Jun 2004, 11:18
http://burks.brighton.ac.uk/burks/language/asm/asmtut/asm8.htm has some sample programs which show various ways of writing to the screen. They're not written for FASM, but should be easy to port.

_________________
Charles Childers, Programmer
Post 17 Jun 2004, 11:18
View user's profile Send private message Visit poster's website Reply with quote
zck127



Joined: 16 Jun 2004
Posts: 5
zck127 18 Jun 2004, 20:58
Thank You all for your help
Post 18 Jun 2004, 20:58
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.