Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. A new milestone for my little OS

A new milestone for my little OS

Scheduled Pinned Locked Moved The Lounge
comtoolsquestiondiscussion
26 Posts 15 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 0 0x3c0

    I've not been as active recently, and there's a good reason: I've been rewriting my OS. Previously, it was a chimera of lots of different ideas and thoughts. It also didn't have multitasking of any sort. I've taken a few pieces of code from it, and made a new microkernel. My microkernel just made it to ring 3 (not easy, since the only way to get into ring 3 is by making the CPU think that it was already there) and ran two tasks loaded from ELF files using multitasking. And I've discovered an elegant way of getting multitasking to work without setting up a timer driver :) So, yeah. All I need to do now is use some of my synchronization primitives throughout, get IPC working and flesh out some of my system calls, and the main kernel will be done. Then I can move onto user applications and drivers. The fun starts here.

    OSDev :)

    H Offline
    H Offline
    hammerstein05
    wrote on last edited by
    #8

    I wish I was smart enough to understand half of what was written there. I actually intended to read through your articles as it fascinates me but I just don't think I'm that clever!

    1 Reply Last reply
    0
    • 0 0x3c0

      I've not been as active recently, and there's a good reason: I've been rewriting my OS. Previously, it was a chimera of lots of different ideas and thoughts. It also didn't have multitasking of any sort. I've taken a few pieces of code from it, and made a new microkernel. My microkernel just made it to ring 3 (not easy, since the only way to get into ring 3 is by making the CPU think that it was already there) and ran two tasks loaded from ELF files using multitasking. And I've discovered an elegant way of getting multitasking to work without setting up a timer driver :) So, yeah. All I need to do now is use some of my synchronization primitives throughout, get IPC working and flesh out some of my system calls, and the main kernel will be done. Then I can move onto user applications and drivers. The fun starts here.

      OSDev :)

      J Offline
      J Offline
      Jim Crafton
      wrote on last edited by
      #9

      When can we see a port of this for the iPad?

      ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

      G 1 Reply Last reply
      0
      • J Jim Crafton

        (note: I'm not ripping on you per se, just the concept of the phrase "you've got too much time on your hands") Why do people say that? If he had posted about how he had just won the NYC marathon after months of arduous training everyone would have congratulated him. If he had mentioned that he'd just made loads of money after spending vast amounts of time chasing clients, working on his company, etc, people would have congratulated him on what a great business man he was. But when someone posts about how they've just made some major strides in an intellectual pursuit (like developing an OS from scratch, or some artistic endeavor), they frequently get the "you've got too much time on your hands" comment. And it always seems to carry the implication that they should actually be doing something else. I know I've gotten comments like this regarding my framework, and my 3D projects. And seen other comments like these aimed at others in similar pursuits. I've found them vaguely insulting personally. It's as if people look down on this kind of thing. I don't get why.

        ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

        M Offline
        M Offline
        Mark_Wallace
        wrote on last edited by
        #10

        Bloody well said!

        I wanna be a eunuchs developer! Pass me a bread knife!

        1 Reply Last reply
        0
        • J Jim Crafton

          (note: I'm not ripping on you per se, just the concept of the phrase "you've got too much time on your hands") Why do people say that? If he had posted about how he had just won the NYC marathon after months of arduous training everyone would have congratulated him. If he had mentioned that he'd just made loads of money after spending vast amounts of time chasing clients, working on his company, etc, people would have congratulated him on what a great business man he was. But when someone posts about how they've just made some major strides in an intellectual pursuit (like developing an OS from scratch, or some artistic endeavor), they frequently get the "you've got too much time on your hands" comment. And it always seems to carry the implication that they should actually be doing something else. I know I've gotten comments like this regarding my framework, and my 3D projects. And seen other comments like these aimed at others in similar pursuits. I've found them vaguely insulting personally. It's as if people look down on this kind of thing. I don't get why.

          ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

          D Offline
          D Offline
          DaveAuld
          wrote on last edited by
          #11

          I know, I know......its just a saying. People say that to me all the time as well. I would rather be doing something like that as well, rather than sitting on the sofa with my feet up watching crap on the gogglebox. Don't get me wrong, I am full of admiration for him, I wouldn't know where to start!

          Dave Don't forget to rate messages!
          Find Me On: Web|Facebook|Twitter|LinkedIn
          Waving? dave.m.auld[at]googlewave.com

          1 Reply Last reply
          0
          • 0 0x3c0

            I've not been as active recently, and there's a good reason: I've been rewriting my OS. Previously, it was a chimera of lots of different ideas and thoughts. It also didn't have multitasking of any sort. I've taken a few pieces of code from it, and made a new microkernel. My microkernel just made it to ring 3 (not easy, since the only way to get into ring 3 is by making the CPU think that it was already there) and ran two tasks loaded from ELF files using multitasking. And I've discovered an elegant way of getting multitasking to work without setting up a timer driver :) So, yeah. All I need to do now is use some of my synchronization primitives throughout, get IPC working and flesh out some of my system calls, and the main kernel will be done. Then I can move onto user applications and drivers. The fun starts here.

            OSDev :)

            G Offline
            G Offline
            Gonzoox
            wrote on last edited by
            #12

            SO you're trying to compete with the iPad right??? :laugh: seriously, good job, I don't think I will ever had the time to do something like that

            I want to die like my grandfather- asleep, not like the passengers in his car, screaming!

            1 Reply Last reply
            0
            • J Jeremy Falcon

              daveauld wrote:

              Sounds like someone has too much time on their hands

              Are you kidding? One of the best ways ever to learn just how a computer works is writing your own OS.

              Jeremy Falcon

              D Offline
              D Offline
              DaveAuld
              wrote on last edited by
              #13

              Yes I know, I keep wanting to get into things, but 2 kids and university studies keep getting in the way of things. I keep winding up my mate up who is forever dabbling with microcontrollers and building quad-copters etc. etc. that he has to much time on his hands and maybe he and his wife should think about having kids!

              Dave Don't forget to rate messages!
              Find Me On: Web|Facebook|Twitter|LinkedIn
              Waving? dave.m.auld[at]googlewave.com

              J 1 Reply Last reply
              0
              • 0 0x3c0

                I've not been as active recently, and there's a good reason: I've been rewriting my OS. Previously, it was a chimera of lots of different ideas and thoughts. It also didn't have multitasking of any sort. I've taken a few pieces of code from it, and made a new microkernel. My microkernel just made it to ring 3 (not easy, since the only way to get into ring 3 is by making the CPU think that it was already there) and ran two tasks loaded from ELF files using multitasking. And I've discovered an elegant way of getting multitasking to work without setting up a timer driver :) So, yeah. All I need to do now is use some of my synchronization primitives throughout, get IPC working and flesh out some of my system calls, and the main kernel will be done. Then I can move onto user applications and drivers. The fun starts here.

                OSDev :)

                T Offline
                T Offline
                thrakazog
                wrote on last edited by
                #14

                So, aside from "Chicks dig it," why are you writing your own?

                0 1 Reply Last reply
                0
                • 0 0x3c0

                  I don't know - I haven't thought about names. I'll probably name it in a few months, when everything is more stable and functional. Until then, I'll just keep calling it Microkernel :)

                  OSDev :)

                  P Offline
                  P Offline
                  PIEBALDconsult
                  wrote on last edited by
                  #15

                  Corn kernel?

                  0 1 Reply Last reply
                  0
                  • D DaveAuld

                    Yes I know, I keep wanting to get into things, but 2 kids and university studies keep getting in the way of things. I keep winding up my mate up who is forever dabbling with microcontrollers and building quad-copters etc. etc. that he has to much time on his hands and maybe he and his wife should think about having kids!

                    Dave Don't forget to rate messages!
                    Find Me On: Web|Facebook|Twitter|LinkedIn
                    Waving? dave.m.auld[at]googlewave.com

                    J Offline
                    J Offline
                    Jeremy Falcon
                    wrote on last edited by
                    #16

                    Oh I know the feeling, my game engine has been put on the back burners for the same sorta reasons. But, I do respect those geeks intrepid enough to geek out on geeky stuff.

                    Jeremy Falcon

                    1 Reply Last reply
                    0
                    • T thrakazog

                      So, aside from "Chicks dig it," why are you writing your own?

                      0 Offline
                      0 Offline
                      0x3c0
                      wrote on last edited by
                      #17

                      For the challenge. I like being able to say that I've written my own operating system. The learning experience is enormous - from bootup to GUI, I'd have learned about time optimization, memory management, scheduling algorithms, (I'm using a lottery scheduler) graphical programming, file formats, BIOS interaction and in my opinion the most important part, reading manuals.

                      OSDev :)

                      P 1 Reply Last reply
                      0
                      • P PIEBALDconsult

                        Corn kernel?

                        0 Offline
                        0 Offline
                        0x3c0
                        wrote on last edited by
                        #18

                        I don't know wheat you're talking about. Wordplay just plows over me :-D

                        OSDev :)

                        1 Reply Last reply
                        0
                        • 0 0x3c0

                          For the challenge. I like being able to say that I've written my own operating system. The learning experience is enormous - from bootup to GUI, I'd have learned about time optimization, memory management, scheduling algorithms, (I'm using a lottery scheduler) graphical programming, file formats, BIOS interaction and in my opinion the most important part, reading manuals.

                          OSDev :)

                          P Offline
                          P Offline
                          PIEBALDconsult
                          wrote on last edited by
                          #19

                          Some times while reading a manual I feel like reaching for an automatic. :-D

                          T 1 Reply Last reply
                          0
                          • J Jim Crafton

                            (note: I'm not ripping on you per se, just the concept of the phrase "you've got too much time on your hands") Why do people say that? If he had posted about how he had just won the NYC marathon after months of arduous training everyone would have congratulated him. If he had mentioned that he'd just made loads of money after spending vast amounts of time chasing clients, working on his company, etc, people would have congratulated him on what a great business man he was. But when someone posts about how they've just made some major strides in an intellectual pursuit (like developing an OS from scratch, or some artistic endeavor), they frequently get the "you've got too much time on your hands" comment. And it always seems to carry the implication that they should actually be doing something else. I know I've gotten comments like this regarding my framework, and my 3D projects. And seen other comments like these aimed at others in similar pursuits. I've found them vaguely insulting personally. It's as if people look down on this kind of thing. I don't get why.

                            ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                            R Offline
                            R Offline
                            Rage
                            wrote on last edited by
                            #20

                            Wow, what a long post, for writing this, you must really have too much ... :rolleyes:

                            1 Reply Last reply
                            0
                            • J Jim Crafton

                              When can we see a port of this for the iPad?

                              ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                              G Offline
                              G Offline
                              Gary Wheeler
                              wrote on last edited by
                              #21

                              Oh just stop already :rolleyes:.

                              Software Zen: delete this;

                              1 Reply Last reply
                              0
                              • J Jim Crafton

                                (note: I'm not ripping on you per se, just the concept of the phrase "you've got too much time on your hands") Why do people say that? If he had posted about how he had just won the NYC marathon after months of arduous training everyone would have congratulated him. If he had mentioned that he'd just made loads of money after spending vast amounts of time chasing clients, working on his company, etc, people would have congratulated him on what a great business man he was. But when someone posts about how they've just made some major strides in an intellectual pursuit (like developing an OS from scratch, or some artistic endeavor), they frequently get the "you've got too much time on your hands" comment. And it always seems to carry the implication that they should actually be doing something else. I know I've gotten comments like this regarding my framework, and my 3D projects. And seen other comments like these aimed at others in similar pursuits. I've found them vaguely insulting personally. It's as if people look down on this kind of thing. I don't get why.

                                ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                                M Offline
                                M Offline
                                Marc Clifton
                                wrote on last edited by
                                #22

                                Jim Crafton wrote:

                                Why do people say that?

                                Because they're envious! :-D Marc

                                1 Reply Last reply
                                0
                                • 0 0x3c0

                                  I've not been as active recently, and there's a good reason: I've been rewriting my OS. Previously, it was a chimera of lots of different ideas and thoughts. It also didn't have multitasking of any sort. I've taken a few pieces of code from it, and made a new microkernel. My microkernel just made it to ring 3 (not easy, since the only way to get into ring 3 is by making the CPU think that it was already there) and ran two tasks loaded from ELF files using multitasking. And I've discovered an elegant way of getting multitasking to work without setting up a timer driver :) So, yeah. All I need to do now is use some of my synchronization primitives throughout, get IPC working and flesh out some of my system calls, and the main kernel will be done. Then I can move onto user applications and drivers. The fun starts here.

                                  OSDev :)

                                  M Offline
                                  M Offline
                                  MikeMarq
                                  wrote on last edited by
                                  #23

                                  So how long have you been working on your OS? How many lines of code does it have?

                                  0 1 Reply Last reply
                                  0
                                  • P PIEBALDconsult

                                    Some times while reading a manual I feel like reaching for an automatic. :-D

                                    T Offline
                                    T Offline
                                    TheGreatAndPowerfulOz
                                    wrote on last edited by
                                    #24

                                    ugh. that is sooo bad. but clever.

                                    Fight Big Government:
                                    http://obamacareclassaction.com/
                                    http://obamacaretruth.org/

                                    1 Reply Last reply
                                    0
                                    • M MikeMarq

                                      So how long have you been working on your OS? How many lines of code does it have?

                                      0 Offline
                                      0 Offline
                                      0x3c0
                                      wrote on last edited by
                                      #25

                                      I've been designing it since last December, but I made my first commit on January 26th. Work actually started on the code on New Year's Day. At the moment, it contains exactly 4,460 lines of code.

                                      OSDev :)

                                      M 1 Reply Last reply
                                      0
                                      • 0 0x3c0

                                        I've been designing it since last December, but I made my first commit on January 26th. Work actually started on the code on New Year's Day. At the moment, it contains exactly 4,460 lines of code.

                                        OSDev :)

                                        M Offline
                                        M Offline
                                        MikeMarq
                                        wrote on last edited by
                                        #26

                                        Pretty cool. Sounds like you're making alot progress, I figured it would take longer than that for one person to get where you are. I'll have to read your articles.

                                        1 Reply Last reply
                                        0
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes


                                        • Login

                                        • Don't have an account? Register

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Categories
                                        • Recent
                                        • Tags
                                        • Popular
                                        • World
                                        • Users
                                        • Groups