Writing BootSector & Kernel

Programming, for all ages and all languages.
Bobalandi
Member
Member
Posts: 107
Joined: Mon Dec 03, 2007 7:26 am
Location: Near Boston, MA
Contact:

Post by Bobalandi »

hmmm... :-k I'll take a stab at it, thanks :D
NULL
User avatar
JAAman
Member
Member
Posts: 879
Joined: Wed Oct 27, 2004 11:00 pm
Location: WA

Post by JAAman »

Bobalandi wrote:Well, I have rawwrite, but I mean if I can do it with Debug, there should be a way to put it in a batch file.
not afaik, because the debug commands are inside debug.com and is not a part of ms-dos
actually there is:

put the commands you are typing into a text file, and use the dos command:

debug <doit.txt

where doit.txt is a text file with the commands as you would type them into debug (dont forget a enter after the 'q' on the last line...)

then it will automatically enter into debug, all the commands you have in the text file (this was a very common technique back in the days when everyone was using debug... surprised nobody else seems to know about it...)
Bobalandi
Member
Member
Posts: 107
Joined: Mon Dec 03, 2007 7:26 am
Location: Near Boston, MA
Contact:

Post by Bobalandi »

wow, thanks, that's just what I was looking for!
NULL
Bobalandi
Member
Member
Posts: 107
Joined: Mon Dec 03, 2007 7:26 am
Location: Near Boston, MA
Contact:

Post by Bobalandi »

hmm... Sorry to bring this up again, but I am still having the problem of the floppy drive "needing to be formatted" after I copy my bootsector and kernel. :-k Any ideas?
NULL
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:

Post by Combuster »

Copying your bootsector ruins the filesystem contained on the disk. Windows hates that. Live with it.
"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 ]
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

Bobalandi wrote:hmm... Sorry to bring this up again, but I am still having the problem of the floppy drive "needing to be formatted" after I copy my bootsector and kernel. :-k Any ideas?
Read the following Wikipedia page, hopefully things will become a little bit clearer for you.

http://en.wikipedia.org/wiki/File_System
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
Bobalandi
Member
Member
Posts: 107
Joined: Mon Dec 03, 2007 7:26 am
Location: Near Boston, MA
Contact:

Post by Bobalandi »

@combuster:
yah, I think I will have to.

@brynet:
That clears up my question, thanks :D
NULL
Post Reply