OSDev.org
https://forum.osdev.org/

Drawing to my screen should not be so hard
https://forum.osdev.org/viewtopic.php?f=1&t=33328
Page 3 of 3

Author:  eryjus [ Wed Nov 21, 2018 11:41 am ]
Post subject:  Re: Drawing to my screen should not be so hard

CheeseBees wrote:
Anyone have a basic PCIe enumeration script in c?


Octocontrabass wrote:


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.

Author:  CheeseBees [ Wed Nov 21, 2018 11:49 am ]
Post subject:  Re: Drawing to my screen should not be so hard

fair enough.

Author:  CheeseBees [ Wed Nov 21, 2018 11:51 am ]
Post subject:  Re: Drawing to my screen should not be so hard

eryjus wrote:
CheeseBees wrote:
Anyone have a basic PCIe enumeration script in c?


Octocontrabass wrote:


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.

Author:  Schol-R-LEA [ Wed Nov 21, 2018 5:01 pm ]
Post subject:  Re: Drawing to my screen should not be so hard

iansjack wrote:
Quote:
Basically im using mingw w64 and nasm on windows 8.1

OK, somehow I missed that. Sorry.

Author:  bigboyav [ Sat Dec 29, 2018 3:13 am ]
Post subject:  Re: Drawing to my screen should not be so hard

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.

Page 3 of 3 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/