Current drive?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
lweb20
Member
Member
Posts: 39
Joined: Tue Jul 23, 2013 12:54 pm

Re: Current drive?

Post by lweb20 »

Emm thank you all. I have another very strange problem. The entry of the partition table (es:di) is 0x0:0x7CE (should be 0x0:0x1CE) in VMWare, booting from partition 1 (starting at zero). What's going on?

I read: http://wiki.osdev.org/MBR_(x86)
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Current drive?

Post by Combuster »

lweb20 wrote:es:di
lweb20 wrote:I read: http://wiki.osdev.org/MBR_(x86)
Brendan wrote:DS:SI
Wiki wrote:DS:SI
Image
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
lweb20
Member
Member
Posts: 39
Joined: Tue Jul 23, 2013 12:54 pm

Re: Current drive?

Post by lweb20 »

Combuster wrote:
lweb20 wrote:es:di
lweb20 wrote:I read: http://wiki.osdev.org/MBR_(x86)
Brendan wrote:DS:SI
Wiki wrote:DS:SI
mm.. sorry I wrote wrong. In my code have ds:si .. erase that image :|
Gigasoft
Member
Member
Posts: 856
Joined: Sat Nov 21, 2009 5:11 pm

Re: Current drive?

Post by Gigasoft »

lweb20 wrote:Emm thank you all. I have another very strange problem. The entry of the partition table (es:di) is 0x0:0x7CE (should be 0x0:0x1CE) in VMWare, booting from partition 1 (starting at zero). What's going on?

I read: http://wiki.osdev.org/MBR_(x86)
And how did you come up with the "should be 0x0:0x1CE" part? What is going is that you can't read properly.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Current drive?

Post by Combuster »

erase that image
Can we trust your observations then? It is as of yet still a completely valid concern.

The answer is probably no because the remainder of your previous post contains one number I can't assert, and another blatant error, which makes the majority of your stated facts provably wrong.


[Edit]Today's ninja pointed that other error out for you
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
lweb20
Member
Member
Posts: 39
Joined: Tue Jul 23, 2013 12:54 pm

Re: Current drive?

Post by lweb20 »

Gigasoft wrote:
lweb20 wrote:Emm thank you all. I have another very strange problem. The entry of the partition table (es:di) is 0x0:0x7CE (should be 0x0:0x1CE) in VMWare, booting from partition 1 (starting at zero). What's going on?

I read: http://wiki.osdev.org/MBR_(x86)
And how did you come up with the "should be 0x0:0x1CE" part? What is going is that you can't read properly.

Code: Select all

0x   7    C    E
   111 1100 1110b

0x   1    C    E
   001 1100 1110b
I only consider low 9 bits. :D

EDIT: and my real partition index is 1 (starting in zero)
Last edited by lweb20 on Sat Aug 23, 2014 10:30 am, edited 1 time in total.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Current drive?

Post by Combuster »

lweb20 wrote:I only consider low 9 bits. :D
Not sure if trolling or just stupid.
Most likely trolling.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
lweb20
Member
Member
Posts: 39
Joined: Tue Jul 23, 2013 12:54 pm

Re: Current drive?

Post by lweb20 »

Combuster wrote:
lweb20 wrote:I only consider low 9 bits. :D
Not sure of trolling or stupid. Most likely trolling.
mm then what any other ideas?
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Current drive?

Post by Combuster »

A thread lock since your question has by all means been answered, and I'm going to save other people's time by not letting them bother finding out the actual truth..
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Locked