Page 4 of 4
Re: Bug jumping from bootsect to kernel
Posted: Wed Apr 27, 2011 3:58 pm
by DavidCooper
I've just run it in Bochs and it worked straight away.
Re: Bug jumping from bootsect to kernel
Posted: Wed Apr 27, 2011 4:00 pm
by antoniovazquezblanco
DavidCooper wrote:¡Ya está allí! (I hope that means: "It's still there!") Get rid of the code between the two jumps!
Aún está alli! means that

I know it is difficult to learn some thing in spanish but you were very near

Re: Bug jumping from bootsect to kernel
Posted: Wed Apr 27, 2011 4:02 pm
by antoniovazquezblanco
DavidCooper wrote:I've just run it in Bochs and it worked straight away.
It doesn't for me. What arguments are you passing to bochs in order to let me test it. Thanks!
Re: Bug jumping from bootsect to kernel
Posted: Wed Apr 27, 2011 4:05 pm
by DavidCooper
I didn't do anything fancy to run it in Bochs - I just pointed Bochs at the disk image and let it do its thing. It may be that Bochs is running the first of the two jumps incorrectly, because it ought to have a prefix on it and a four-byte address. 234 91 124 8 0 should be 102 234 93 124 0 0 8 0.
Maybe both work. I don't know.
Are you sure you've run the right version in Bochs because it works fine here?
Re: Bug jumping from bootsect to kernel
Posted: Wed Apr 27, 2011 4:10 pm
by antoniovazquezblanco
DavidCooper wrote:I didn't do anything fancy to run it in Bochs - I just pointed Bochs at the disk image and let it do its thing. It may be that Bochs is running the first of the two jumps incorrectly, because it ought to have a prefix on it and a four-byte address. 234 91 124 8 0 should be 102 234 93 124 0 0 8 0.
The first jump is correctly coded I think!

Re: Bug jumping from bootsect to kernel
Posted: Wed Apr 27, 2011 4:14 pm
by DavidCooper
It may work both ways equally well. You just beat my edit to my previous post, so I'll ask again. Are you sure you've run the right version in Bochs? It works fine here.
Re: Bug jumping from bootsect to kernel
Posted: Wed Apr 27, 2011 4:23 pm
by DavidCooper
I've just tried it again to make sure, and Bochs tried to run the previous version, but I've tried it again with what is quite definitely your latest version and it worked perfectly.
Re: Bug jumping from bootsect to kernel
Posted: Wed Apr 27, 2011 4:25 pm
by antoniovazquezblanco
DavidCooper wrote:I've just tried it again to make sure, and Bochs tried to run the previous version, but I've tried it again with what is quite definitely your latest version and it worked perfectly.
Ive tryed the latest in bochs and runs ok until bochs freezes... I don't know if it is a bochs bug or my fault. It doesn't run in qemu...
Re: Bug jumping from bootsect to kernel
Posted: Wed Apr 27, 2011 4:26 pm
by DavidCooper
The only issue is the partial second sector where the disk image file runs out.
Re: Bug jumping from bootsect to kernel
Posted: Wed Apr 27, 2011 4:28 pm
by DavidCooper
I'm using Bochs 2.4.5
Re: Bug jumping from bootsect to kernel
Posted: Wed Apr 27, 2011 4:30 pm
by antoniovazquezblanco
DavidCooper wrote:The only issue is the partial second sector where the disk image file runs out.
IT WAS THAT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
My friends say that I'm mad as I only have 17 and I've started programming asm myself, but I've met someone that codes machine code! You're great! Thanks! ^^ I'm in debt with you

Re: Bug jumping from bootsect to kernel
Posted: Wed Apr 27, 2011 4:36 pm
by DavidCooper
antoniovazquezblanco wrote:DavidCooper wrote:The only issue is the partial second sector where the disk image file runs out.
IT WAS THAT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Wow! I didn't expect that to throw an emulator.
My friends say that I'm mad as I only have 17 and I've started programming asm myself, but I've met someone that codes machine code! You're great! Thanks! ^^ I'm in debt with you

Thanks, but I admire all asm programmers as I think it's much harder than using raw machine code numbers. Anyway, thanks to you and DLBuunk for helping me to improve my asm reading skills.
You now need to edit your first post in this thread to add the word [solved] to the end of the title.
Though maybe you ought to write it to a physical disk and try booting a machine directly with it first...
Re: Bug jumping from bootsect to kernel
Posted: Thu Apr 28, 2011 7:41 am
by antoniovazquezblanco
Though maybe you ought to write it to a physical disk and try booting a machine directly with it first...
I didn't do last night because I had to get some sleep for school but I will do now!
Keep improving your spanish
OK! Solved.
