Jump to content
  • Advertisement
Sign in to follow this  
AmbushGames

Operating System Questions in Assembly

This topic is 861 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am building an operating system in Assembly and I need to add a background image. How do I do this? Also, I need my operating system to run exe files, how do I make it do that?

Share this post


Link to post
Share on other sites
Advertisement
Executables on Windows follow the PE Format. Note that to run Windows executables you not only have to interpret the data format correctly you will also have to emulate a considerable part of the Windows runtime environment. Wine might be a good starting point for that.

Also note that it is generally an extremely horrible idea to put two completely different questions into the same thread.

Share this post


Link to post
Share on other sites

Yeah if you're trying to run exe files you're just going to make a windows/dos clone.  Whats the point in that?  More importantly do you realize how complicated that is and how much reverse engineering is necessary?  Why exactly are you trying to develop an OS?  A learning experience?  Learn more about OS programming and then decide if you want to go that route and moreover what subroute (there's a lot of ways to proceed).

Share this post


Link to post
Share on other sites

For deeper insights in how an OS works, you can read books like "The design and implementation of the BSD operating system". No doubt similar books exist for the Linux kernel. It's a 550 page dense technical detailed description of the design considerations and data structures that are used to realize the BSD OS.

 

At a higher level (more abstract) there are books like "The design of the Unix operating system", but these don't go into much detail.

Share this post


Link to post
Share on other sites

 

Based on your question, I think you should step back and evaluate your ability to complete this project.

Honestly, you are building a space shuttle and you've just asked about spray painting the NASA logo on the side.


The OP is (according to their profile) thirteen. Personally, for that age group I find it advisable to just give them the information desired and let the empirical values of something deceptively simple-sounding become a huge problem be a first-hand experience. We get a lot of older people who really should have learned that lesson earlier.

It's not even wasted time (especially at that age). You will be gaining skill points all over the place while working on it even with the originally intended goal not achievable.

 


I disagree. When I was that age, I was constantly trying to build things way beyond my ability, and similarly, I would focus on the "fun stuff", because the actual work frustrated me.

 

This was before the internet, so I didn't really have any help other than whatever books I could find. So I basically gave up in frustration, and didn't get back to programming until years later.

 

I really wish someone would have said to me "look, try something more manageable". 

Share this post


Link to post
Share on other sites

 

Based on your question, I think you should step back and evaluate your ability to complete this project.

Honestly, you are building a space shuttle and you've just asked about spray painting the NASA logo on the side.


The OP is (according to their profile) thirteen. Personally, for that age group I find it advisable to just give them the information desired and let the empirical values of something deceptively simple-sounding become a huge problem be a first-hand experience. We get a lot of older people who really should have learned that lesson earlier.

It's not even wasted time (especially at that age). You will be gaining skill points all over the place while working on it even with the originally intended goal not achievable.

 

 

Subconscious assumptions are made of posters and so unfortunately not everyone bothers to checks an OP's profile first before replying. It is good you checked, it will be good if most of us did. On the other hand, since OP is that young...  if he had posted the question in beginner's forum (with a brief self intro if it's first time?... no, its not OP's first post), ... probably some replies would have been more sympathetic, with a more simplistic guiding hand on what is feasible, what is not, why and how 

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!