OSDev.org

The Place to Start for Operating System Developers
It is currently Sun Nov 17, 2019 9:41 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 35 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: Drawing to my screen should not be so hard
PostPosted: Wed Nov 21, 2018 11:41 am 
Offline
Member
Member
User avatar

Joined: Fri Oct 21, 2011 9:47 pm
Posts: 286
Location: Tustin, CA USA
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.

_________________
Adam

The name is fitting: Century Hobby OS -- At this rate, it's gonna take me that long!
Read about my mistakes and missteps with this iteration: Journal

"Sometimes things just don't make sense until you figure them out." -- Phil Stahlheber


Top
 Profile  
 
 Post subject: Re: Drawing to my screen should not be so hard
PostPosted: Wed Nov 21, 2018 11:49 am 
Offline

Joined: Mon Nov 19, 2018 12:13 pm
Posts: 22
fair enough.

_________________
- Mitchell Barnes the Confused Idiot
17 years old and programming assembly

“If you're going to tell me to give up then you're wasting time that you could be using to help someone else”

“Assembly is more readable and easy to use than c. Change my mind”


Top
 Profile  
 
 Post subject: Re: Drawing to my screen should not be so hard
PostPosted: Wed Nov 21, 2018 11:51 am 
Offline

Joined: Mon Nov 19, 2018 12:13 pm
Posts: 22
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.

_________________
- Mitchell Barnes the Confused Idiot
17 years old and programming assembly

“If you're going to tell me to give up then you're wasting time that you could be using to help someone else”

“Assembly is more readable and easy to use than c. Change my mind”


Top
 Profile  
 
 Post subject: Re: Drawing to my screen should not be so hard
PostPosted: Wed Nov 21, 2018 5:01 pm 
Offline
Member
Member
User avatar

Joined: Fri Oct 27, 2006 9:42 am
Posts: 1496
Location: Athens, GA, USA
iansjack wrote:
Quote:
Basically im using mingw w64 and nasm on windows 8.1

OK, somehow I missed that. Sorry.

_________________
Rev. First Speaker Schol-R-LEA;2 LCF ELF JAM POEE KoR KCO PPWMTF
μή εἶναι βασιλικήν ἀτραπόν ἐπί γεωμετρίαν
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.


Top
 Profile  
 
 Post subject: Re: Drawing to my screen should not be so hard
PostPosted: Sat Dec 29, 2018 3:13 am 
Offline

Joined: Sat Dec 29, 2018 3:09 am
Posts: 10
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 35 posts ]  Go to page Previous  1, 2, 3

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], MSN [Bot], YaCy [Bot] and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group