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

  • Home
  • SEARCH
  • 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 6164205
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:57:16+00:00 2026-05-23T21:57:16+00:00

again I have a question that is not so easily googlable. Let’s assume BIOS

  • 0

again I have a question that is not so easily googlable. Let’s assume BIOS has loaded my bootloader from designated device, how do I now find out which device it is so I can load the rest of my os into ram?

  • 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-23T21:57:17+00:00Added an answer on May 23, 2026 at 9:57 pm

    If it’s MBR bootstrap (And possibly also otherwise? I’m not 100% sure) DL will contain
    the drive number i.e. you can do something like this (substitute your own memory layout and so on):

    EntryPoint: 
        xor ax, ax
        mov ss, ax
        mov ds, ax
        mov sp, 0x7c00
    .DiskReset:
        mov ah, 0
        int 0x13
        jc .DiskReset
        mov ax, 0x50 ; load to 0x500 linear address. It has unused space up to 0x7bff
        mov es, ax
        xor bx, bx
        mov ax, 0x023B ; count = 0x3b = 59, the maximum..
        mov cx, 0x0002
        xor dh, dh ; leave (dl = drive number) intact
        int 0x13
        jnc .ReadDone
        mov si, ReadError
        call PrintString16
        jmp .DiskReset
    .ReadDone:
        ; ......
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Me again... I have an XML File that contains different categories which I would
I need your expertise once again. I have a java class that searches a
Hello again ladies and gents! OK, following on from my other question on ASP.NET
I hope this question is not 'controversial' - I'm just basically asking - has
I have tried again to ask the same question , but I ended up
I have a Question class which has a property OptionList , which is nothing
I have a quick question that I can't figure out. I've tried searching Google
One more question that relates to this interface . Let's say that I would
Will I have to pay again? I have about 9 months left before renewal
I have a problem with stopping a service and starting it again and want

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.