Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6579665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:55:36+00:00 2026-05-25T15:55:36+00:00

I have some very specific questions about writing operating systems that I was hoping

  • 0

I have some very specific questions about writing operating systems that I was hoping could get answered:

  1. How much assembly code would I need to write to load a minimal C Kernel if I use GRUB as a boot loader?

  2. My kernel will be written in C, It will load a command line shell that I wrote in C++, it does not make any API calls only standard library calls, will I need to rewrite the entire C++ Standard library to do so?

  3. Can I write video, keyboard and floppy drivers in C++?

  4. Do GCC and G++ output 16 bit real mode code?

  5. Can I write this all using Mingw on Windows or will I have to write it on Linux?

  6. Do I need to be in real mode in order to write directly to the video memory?

If anyone can answer my questions I will be very thankful

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T15:55:37+00:00Added an answer on May 25, 2026 at 3:55 pm

    1: You should only need a small amount of assembly to handle the boot process and load the C code. Shouldn’t be more than like 20-30 lines I think.

    2-4: I haven’t really used C++ with OS dev, but I think I remember reading that it takes more work to get it running somewhere. Sorry I can’t be of more help.

    5: You “can” do it using MinGW, but from my experience it mostly complicates things. I could never really get a Windows environment working, but I also gave up without too much effort.

    EDIT: Here is a link to some example assembly. This is all I ever had to use:
    http://www.jamesmolloy.co.uk/tutorial_html/2.-Genesis.html

    The rest of that site is a pretty good tutorial too if you are at all interested in that kind of thing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a very specific questions about using JSF and component libraries. I tested
I have some very basic semaphore code that works great on Linux, but cannot
I have a page with some very basic examples that use HTML/CSS/JavaScript. I'd like
I have a 3yr old application that has some controllers with some very unrestful
I have an editor I am attempting to emulate that has some very nice
the title might be too generic, but I have a very specific question about
I am aware that questions about recurring events are common but I have not
I have seen several similar questions to this, but none that addresses my specific
Very specific question but we have some good Ada people here so I would
I have some very simple XML: <properties> <property> <name>BobFish</name> <explaination>Bob is a fish.</explaination> </property>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.