Software Engineering Talk
Software Engineering Talk
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Copy bootloader to floppy

 
Post new topic   Reply to topic    Software Engineering Talk Forum Index -> Software Engineering Talk
View previous topic :: View next topic  
Author Message
The Noob
Guest





PostPosted: Sat Jun 28, 2008 7:42 pm    Post subject: Copy bootloader to floppy Reply with quote

Hello,

I'm trying to run a bootloader from this tutorial:
http://www.osdever.net/tutorials/hello_btldr.php

It says you can copy the file on a floppy with DEBUG:

DEBUG file
-w 100 0 0 1
- q

When I try to run DEBUG, i get the following error:
File not found

I've assembled the file with NASM. The output file was a 512byte long
filke without an extension. If I try to assemble with MASM, I get lots
of errors: Must be in segment block.

Does anyone know what I'm doing wrong?

Thanks in advance,
The nNoob
Back to top
  Ads
Advertising
Sponsor


Guest






PostPosted: Sat Jun 28, 2008 8:05 pm    Post subject: Re: Copy bootloader to floppy Reply with quote

On Jun 28, 2:42 pm, The Noob <remonda...@gmail.com> wrote:
Quote:
Hello,

I'm trying to run a bootloader from this tutorial:http://www.osdever.net/tutorials/hello_btldr.php

It says you can copy the file on a floppy with DEBUG:

DEBUG file
-w 100 0 0 1
- q

When I try to run DEBUG, i get the following error:
File not found


Presumeably, it is DEBUG which isn't found?

Or is it that DEBUG can't find 'file'?

Presumeably your OS is win95, win98, XP?

Quote:
I've assembled the file with NASM. The output file was a 512byte long
filke without an extension. If I try to assemble with MASM, I get lots
of errors: Must be in segment block.

Does anyone know what I'm doing wrong?

Answer the above and we can go from there. In the meantime have a

look here:

http://www.vnutz.com/content/program_a_bootstrap_loader

-= my version =-
http://project-fbin.890m.com/nat_boot.nsm.html

-= setting up a workspace for nasm under XP =-
http://project-fbin.890m.com/wrkspace.htm

Quote:
Thanks in advance,
The nNoob
Back to top
  Ads
Advertising
Sponsor


The Noob
Guest





PostPosted: Sat Jun 28, 2008 8:16 pm    Post subject: Re: Copy bootloader to floppy Reply with quote

I'm using Windows XP

And DEBUG cant find the file.
Back to top
  Ads
Advertising
Sponsor


The Noob
Guest





PostPosted: Sat Jun 28, 2008 8:31 pm    Post subject: Re: Copy bootloader to floppy Reply with quote

On 28 jun, 22:28, "Benjamin David Lunt" <zf...@frontiernet.net> wrote:
Quote:
"The Noob" <remonda...@gmail.com> wrote in message

news:e4cee5ed-51ed-4604-9bce-8392cce1bcc5@34g2000hsf.googlegroups.com...



Hello,

I'm trying to run a bootloader from this tutorial:
http://www.osdever.net/tutorials/hello_btldr.php

It says you can copy the file on a floppy with DEBUG:

DEBUG file
-w 100 0 0 1
- q

When I try to run DEBUG, i get the following error:
File not found

I've assembled the file with NASM. The output file was a 512byte long
filke without an extension. If I try to assemble with MASM, I get lots
of errors: Must be in segment block.

Does anyone know what I'm doing wrong?

DEBUG won't handle long filenames. What is the name of the file
you are trying to use?

Ben

The filename is bootloader.
Back to top
  Ads
Advertising
Sponsor


Benjamin David Lunt
Guest





PostPosted: Sun Jun 29, 2008 1:28 am    Post subject: Re: Copy bootloader to floppy Reply with quote

"The Noob" <remondamen@gmail.com> wrote in message
news:e4cee5ed-51ed-4604-9bce-8392cce1bcc5@34g2000hsf.googlegroups.com...
Quote:
Hello,

I'm trying to run a bootloader from this tutorial:
http://www.osdever.net/tutorials/hello_btldr.php

It says you can copy the file on a floppy with DEBUG:

DEBUG file
-w 100 0 0 1
- q

When I try to run DEBUG, i get the following error:
File not found

I've assembled the file with NASM. The output file was a 512byte long
filke without an extension. If I try to assemble with MASM, I get lots
of errors: Must be in segment block.

Does anyone know what I'm doing wrong?

DEBUG won't handle long filenames. What is the name of the file
you are trying to use?

Ben
Back to top
  Ads
Advertising
Sponsor


Benjamin David Lunt
Guest





PostPosted: Sun Jun 29, 2008 1:50 am    Post subject: Re: Copy bootloader to floppy Reply with quote

"The Noob" <remondamen@gmail.com> wrote in message
news:e3473506-7344-42e9-ae33-9fac1ea08b90@i76g2000hsf.googlegroups.com...
Quote:
On 28 jun, 22:28, "Benjamin David Lunt" <zf...@frontiernet.net> wrote:
"The Noob" <remonda...@gmail.com> wrote in message

DEBUG won't handle long filenames. What is the name of the file
you are trying to use?

Ben

The filename is bootloader.

That is a long filename. bootloader is more than 8 bytes long.

Try: bootldr.asm or something like that. 8.3. eight chars in the
name, 3 chars in the extension.
Back to top
  Ads
Advertising
Sponsor


The Noob
Guest





PostPosted: Sun Jun 29, 2008 8:54 am    Post subject: Re: Copy bootloader to floppy Reply with quote

On 28 jun, 22:50, "Benjamin David Lunt" <zf...@frontiernet.net> wrote:
Quote:
"The Noob" <remonda...@gmail.com> wrote in message

news:e3473506-7344-42e9-ae33-9fac1ea08b90@i76g2000hsf.googlegroups.com...

On 28 jun, 22:28, "Benjamin David Lunt" <zf...@frontiernet.net> wrote:
"The Noob" <remonda...@gmail.com> wrote in message

DEBUG won't handle long filenames. What is the name of the file
you are trying to use?

Ben

The filename is bootloader.

That is a long filename. bootloader is more than 8 bytes long.

Try: bootldr.asm or something like that. 8.3. eight chars in the
name, 3 chars in the extension.

It works, thanks for the help
Back to top
  Ads
Advertising
Sponsor


Display posts from previous:   
Post new topic   Reply to topic    Software Engineering Talk Forum Index -> Software Engineering Talk All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum

Australian Debt Consolidation Experts
medical insurance
Wedding
Escorts Incalll and Outcall in Modena, Bologna, Parma, Ferrara, Forli' ...
UK Swingers Genuine Contacts Site
Health insurance
cheap life insurance
Make Your Own Website
Free phone calls to India
Cleaning Service
toxic mold
UK Swingers Genuine Contacts Site
floor machines
Vacuum Bags


Board Security

125 Attacks blocked

Powered by phpBB © 2001, 2005 phpBB Group