NASM - The Netwide Assembler

NASM Forum => Programming with NASM => Topic started by: equalizer on September 05, 2020, 09:55:30 PM

Title: nasm draw pixel
Post by: equalizer on September 05, 2020, 09:55:30 PM
Hello,

is it possible to draw something on 1920x1080 with just nasm assembler without any macros or C code?
Couldnt find any good tutorials so far
Title: Re: nasm draw pixel
Post by: debs3759 on September 05, 2020, 10:24:18 PM
It's possible, depending on your OS. Doing it without an OS is on my list of pending projects, then I may work out how to do it in Windows. I really would like to create a cross platform graphics primitives library :)

If you are willing to call DirectX or OpenGL routines, they are worth looking into. I certainly will at some stage. It all depends what your requirements are. So far I only know about video modes listed in Ralf Brown's Interrupt List, which is too early for resolutions that high, so I can't help with how to set resolutions that high, and I don't know Windows or Linux system calls as get distracted too easily from all my projects :)
Title: Re: nasm draw pixel
Post by: equalizer on September 05, 2020, 10:30:22 PM
I am using Linux Ubuntu.
Sounds like a fun project.