flat assembler
Message board for the users of flat assembler.

Index > DOS > Writing directly into Vram without interrupts

Author
Thread Post new topic Reply to topic
amrashraf



Joined: 26 Apr 2022
Posts: 3
amrashraf 26 Apr 2022, 02:02
I need to know how to write a 10*10 matrix of pixels immediately into Vram instead of copying byte or word by word

Also, I would be glad if someone told me how to think of a game like xonix
How to do filling algorithm on assembly

_________________
Alphaboy16
Post 26 Apr 2022, 02:02
View user's profile Send private message Send e-mail Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20451
Location: In your JS exploiting you and your system
revolution 26 Apr 2022, 06:46
If you are in a graphics mode then often the video RAM is often mapped to address 0xa0000 as a simple linear buffer.

Depending upon the mode you might have one byte per pixel through the palette DAC, or two bytes RGB 5:65 or 5:5:5, or four bytes as RGB 8:8:8, or some other combination that produces colours from the byte values.
Post 26 Apr 2022, 06:46
View user's profile Send private message Visit poster's website 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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.