Drawing to my screen should not be so hard
Posted: Mon Nov 19, 2018 2:07 pm
I am beginning a project with what should have been a simple goal in mind, although after looking for answers for two years now to no avail, it is not simple. I want more than anything is to plot a pixel on my 1080p screen(meaning not using the VGA memory), by directly accessing my card(meaning no DirectX, OpenGL, Vulkan, etc. I've already been told to give up and use those from everyone else).
Here are the steps to do this as I know it:
1. Find the pci-e card(PCIe enumeration?)
2. Map it(Dont know what this means let alone how to do this. Cant find any info)
3. I dont know.
...
100000. Writing a driver or some crap
100001. Actually plotting a pixel to my screen
All I want now is a step in the right direction. If the steps as I "know" them are wrong, do tell me. If you know some of the steps in between, just a mention of it would be amazing.
Just dont tell me to kill myself or to give up and use directx and I'll be fine
I only need this to work on one gpu - My Single Fan 4GB XFX RX560 1024
--EDIT--
I do know how to do this with VGA memory in assembly, but that's not 1080p or directly accessing my GPU
--EDIT 2--
I am using QEMU, NASM, and MinGW-w64 on windows
Specs:
AMD Ryzen 5 2600
Gigabyte AORUS Gaming 5 Wifi Rev 1.0
XFX RX560 1024 4GB
A bunch of hard drives totaling around 5TB
BenQ GW2700
Cooler Master power supply IDK what model
Here are the steps to do this as I know it:
1. Find the pci-e card(PCIe enumeration?)
2. Map it(Dont know what this means let alone how to do this. Cant find any info)
3. I dont know.
...
100000. Writing a driver or some crap
100001. Actually plotting a pixel to my screen
All I want now is a step in the right direction. If the steps as I "know" them are wrong, do tell me. If you know some of the steps in between, just a mention of it would be amazing.
Just dont tell me to kill myself or to give up and use directx and I'll be fine
I only need this to work on one gpu - My Single Fan 4GB XFX RX560 1024
--EDIT--
I do know how to do this with VGA memory in assembly, but that's not 1080p or directly accessing my GPU
--EDIT 2--
I am using QEMU, NASM, and MinGW-w64 on windows
Specs:
AMD Ryzen 5 2600
Gigabyte AORUS Gaming 5 Wifi Rev 1.0
XFX RX560 1024 4GB
A bunch of hard drives totaling around 5TB
BenQ GW2700
Cooler Master power supply IDK what model