Page 3 of 3

Re: Drawing to my screen should not be so hard

Posted: Wed Nov 21, 2018 11:41 am
by eryjus
CheeseBees wrote:Anyone have a basic PCIe enumeration script in c?
Octocontrabass wrote:https://wiki.osdev.org/PCI
From another thread: viewtopic.php?p=287106#p287106

Perhaps your mouse scroll wheel is broken, so let me help you out: https://wiki.osdev.org/PCI#Enumerating_PCI_Buses.

But, you are going to find that this community will not do the work for you: https://wiki.osdev.org/Beginner_Mistake ... his_is_NOT. Remember, you are starting something that is more of a research project than a coding project.

Re: Drawing to my screen should not be so hard

Posted: Wed Nov 21, 2018 11:49 am
by CheeseBees
fair enough.

Re: Drawing to my screen should not be so hard

Posted: Wed Nov 21, 2018 11:51 am
by CheeseBees
eryjus wrote:
CheeseBees wrote:Anyone have a basic PCIe enumeration script in c?
Octocontrabass wrote:https://wiki.osdev.org/PCI
From another thread: viewtopic.php?p=287106#p287106

Perhaps your mouse scroll wheel is broken, so let me help you out: https://wiki.osdev.org/PCI#Enumerating_PCI_Buses.

But, you are going to find that this community will not do the work for you: https://wiki.osdev.org/Beginner_Mistake ... his_is_NOT. Remember, you are starting something that is more of a research project than a coding project.
Thank you very much. Believe it or not, my trackpad is broken.

Re: Drawing to my screen should not be so hard

Posted: Wed Nov 21, 2018 5:01 pm
by Schol-R-LEA
iansjack wrote:
Basically im using mingw w64 and nasm on windows 8.1
OK, somehow I missed that. Sorry.

Re: Drawing to my screen should not be so hard

Posted: Sat Dec 29, 2018 3:13 am
by bigboyav
You won't be able to to access video memory through your operating system. If you write a program to access video memory and try to run it in Windows, Linux, etc. you get a seg fault because the OS won't let you access that portion of memory.

https://wiki.osdev.org/Printing_To_Screen

Check out the above, I recommend putting your binary executable onto a usb (can use Rufus on Windows, or DD on Linux) and booting from your USB. If your program works you will see the desired results on your screen.