Bona Fide OS Development http://forums.osdever.net/ |
|
[SOLVED] Setting es:bp http://forums.osdever.net/viewtopic.php?f=5&t=69 |
Page 2 of 2 |
Author: | DudeOfX [ Sat Nov 14, 2009 1:08 pm ] |
Post subject: | Re: Setting es:bp |
this is a bootloader? then did you ORG 0x7C00? ORG is important |
Author: | AndyEsser [ Sat Nov 14, 2009 1:20 pm ] |
Post subject: | Re: Setting es:bp |
By adding that it no longer boots into my code. This is just the 1st stage, so is the first sector of the floppy image, if that makes any difference. |
Author: | Mistermine [ Sat Nov 14, 2009 2:21 pm ] |
Post subject: | Re: Setting es:bp |
hi, after adding the org 07C0 set your ds ,es and see what happen wish it work and repost you source code so we can well understand i will try t debug it for you .I dont put the blame on as86 but i prefer other assembler nasm for example |
Author: | AndyEsser [ Sat Nov 14, 2009 2:35 pm ] |
Post subject: | Re: Setting es:bp |
I'm trying to convert my code over to nasm, I'm compiling with nasm -f bin -o bootloader It won't boot at all. Even a very very simple program. If you could provide just the most basic program and the nasm command line call, I can give that a try and see if i'm doing some monumentally stupid. Cheers |
Author: | AndyEsser [ Sat Nov 14, 2009 2:51 pm ] |
Post subject: | Re: Setting es:bp |
Right, I am officially a much happier man now. I finally got it working! W00h00. I was being really really really f'ing stupid. I managed to get it compile with nasm, the reason i couldn't boot was because my virtual floppy image had dismounted itself and I hadn't realised. I finally have it displaying the message I wanted. Thanks to everyone! |
Author: | Mistermine [ Sat Nov 14, 2009 3:04 pm ] |
Post subject: | Re: Setting es:bp |
well Congratulations |
Page 2 of 2 | All times are UTC - 6 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |