Author Topic: nasm draw pixel  (Read 10085 times)

Offline equalizer

  • Jr. Member
  • *
  • Posts: 2
nasm draw pixel
« 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

Offline debs3759

  • Global Moderator
  • Full Member
  • *****
  • Posts: 224
  • Country: gb
    • GPUZoo
Re: nasm draw pixel
« Reply #1 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 :)
My graphics card database: www.gpuzoo.com

Offline equalizer

  • Jr. Member
  • *
  • Posts: 2
Re: nasm draw pixel
« Reply #2 on: September 05, 2020, 10:30:22 PM »
I am using Linux Ubuntu.
Sounds like a fun project.