CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Installing SQL Server 2008
  • Writing UDFs for Firebird Embedded SQL Server
  • [Updated] Shutdown Manager
  • Building Windows Azure Cloud Service Applications with Azure Storage and the Azure SDK

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Other Programming > Assembly
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Assembly Questions and Answers for Assembly here!

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old January 8th, 2005, 12:35 AM
    LaoTzu LaoTzu is offline
    Junior Member
     
    Join Date: Jan 2005
    Posts: 3
    LaoTzu is an unknown quantity at this point (<10)
    Question Os

    I am using emu8086 to compile it, it is supposed to boot from a floppy. I started with assembly not to long ago, but am getting the hang of it pretty quick. Why won't this boot? The .boot will load, but the bin file won't run correctly. I think that is what's happening. Can someone fix it and let me know what was wrong?
    The code and the compiled code is attached in a zip file.
    Attached Files
    File Type: zip LaoTzu OS.zip (4.0 KB, 98 views)
    Reply With Quote
      #2    
    Old January 8th, 2005, 01:31 AM
    NoHero's Avatar
    NoHero NoHero is offline
    Moderator
     
    Join Date: Mar 2004
    Location: (Upper-) Austria
    Posts: 2,899
    NoHero has much to be proud of (1500+)NoHero has much to be proud of (1500+)NoHero has much to be proud of (1500+)NoHero has much to be proud of (1500+)NoHero has much to be proud of (1500+)NoHero has much to be proud of (1500+)NoHero has much to be proud of (1500+)NoHero has much to be proud of (1500+)NoHero has much to be proud of (1500+)NoHero has much to be proud of (1500+)NoHero has much to be proud of (1500+)
    Re: Os

    This will also not run properly since your BIOS uses LBA addressing mode for sure. By the way, this is not a good forum to discuss OS related stuff. You should try www.osdever.net.
    __________________
    I am not offering technical guidiance via email or IM
    Come on share your photo with us! CG members photo album!
    Use the Code Tags!
    Reply With Quote
      #3    
    Old January 9th, 2005, 11:32 AM
    LaoTzu LaoTzu is offline
    Junior Member
     
    Join Date: Jan 2005
    Posts: 3
    LaoTzu is an unknown quantity at this point (<10)
    Re: Os

    Thanks for the link, I got it working yesterday, it will boot up now. Stupid mistake-forgot to null terminate one of the strings.
    Reply With Quote
      #4    
    Old January 9th, 2005, 11:36 AM
    NoHero's Avatar
    NoHero NoHero is offline
    Moderator
     
    Join Date: Mar 2004
    Location: (Upper-) Austria
    Posts: 2,899
    NoHero has much to be proud of (1500+)NoHero has much to be proud of (1500+)NoHero has much to be proud of (1500+)NoHero has much to be proud of (1500+)NoHero has much to be proud of (1500+)NoHero has much to be proud of (1500+)NoHero has much to be proud of (1500+)NoHero has much to be proud of (1500+)NoHero has much to be proud of (1500+)NoHero has much to be proud of (1500+)NoHero has much to be proud of (1500+)
    Re: Os

    Quote:
    Originally Posted by LaoTzu
    Thanks for the link, I got it working yesterday, it will boot up now. Stupid mistake-forgot to null terminate one of the strings.
    Yep. The next step is to write the second level kernel with C. I have worked 2 weeks on it to get in runable. But then I had an 32bit os with C entry point . And now I have lost it all during an HDD crash. But nice that there are some people out there to try to make their own kernel. It's a great expirience.
    __________________
    I am not offering technical guidiance via email or IM
    Come on share your photo with us! CG members photo album!
    Use the Code Tags!
    Reply With Quote
      #5    
    Old January 10th, 2005, 06:37 PM
    LaoTzu LaoTzu is offline
    Junior Member
     
    Join Date: Jan 2005
    Posts: 3
    LaoTzu is an unknown quantity at this point (<10)
    Re: Os

    can I use assembly to make a 32 bit OS?
    Reply With Quote
      #6    
    Old January 22nd, 2005, 05:07 PM
    kahlinor kahlinor is offline
    Member
     
    Join Date: Nov 2004
    Posts: 34
    kahlinor is an unknown quantity at this point (<10)
    Re: Os

    Of course, check out MenuetOS, 32bit OS written completely in assembly.

    http://board.flatassembler.net/forum...205af80635686a
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > Other Programming > Assembly


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 03:48 AM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Copyright WebMediaBrands Inc. 2002-2009