Joined: Mon Oct 26, 2009 2:33 pm Posts: 38 Location: United Kingdom
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.
_________________ Andy Esser neogenix Broadcast
Sat Nov 14, 2009 1:20 pm
Mistermine
Joined: Fri Nov 13, 2009 5:18 pm Posts: 4
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
Sat Nov 14, 2009 2:21 pm
AndyEsser
Joined: Mon Oct 26, 2009 2:33 pm Posts: 38 Location: United Kingdom
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
_________________ Andy Esser neogenix Broadcast
Sat Nov 14, 2009 2:35 pm
AndyEsser
Joined: Mon Oct 26, 2009 2:33 pm Posts: 38 Location: United Kingdom
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.
Users browsing this forum: No registered users and 2 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum