Bootable floppy

Programming, for all ages and all languages.
Post Reply
lolkusus
Posts: 15
Joined: Thu May 03, 2012 2:10 am

Bootable floppy

Post by lolkusus »

I want to make bootable floppy. Boot in sector 0 and kernel in sector 1, but it must be saved as files not as machine code.
You know. I want to save it like files but in defined sectors (0, 1), because I have fat16 boot. Please help [-o<
I'm polish
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Re: Bootable floppy

Post by piranha »

Did you search the wiki (link) on how a bootable floppy works? (and on how fat16 works... :roll: )

-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
lolkusus
Posts: 15
Joined: Thu May 03, 2012 2:10 am

Re: Bootable floppy

Post by lolkusus »

what OINK is it ??
I'm polish
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:

Re: Bootable floppy

Post by Combuster »

This is becoming a really bad pattern already.

OS Development is not for dummies. It's the rocket science amongst software developers. Your demonstration of Google, English, and problem solving skills show you're nothing more than a beginning developer. There's nothing wrong with that, but you won't be getting much from here but annoyed people because your relative level will only make you a nuisance.

I recommend that you try writing something more simple such as a basic utility in C, then move up the scale until you have least written some 10000 lines of working code for a single project. There are enough beginner forums out there to ask for help with that. By the time you're done you will have the experience to try something as advanced as this.
"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
iansjack
Member
Member
Posts: 4687
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: Bootable floppy

Post by iansjack »

What's the problem with just copying the machine code directly to the sectors? If you can't do that you're not going to progress very far. You're not going to be able to put conventional files in sectors 0 and 1 of a floppy disk.

There are plenty of tutorials on how to do this sort of thing. You really should read them first.
User avatar
miker00lz
Member
Member
Posts: 144
Joined: Wed Dec 08, 2010 3:16 am
Location: St. Louis, MO USA

Re: Bootable floppy

Post by miker00lz »

yeah, every one of this guy's threads so far has been asking about something very basic, and we point him to the wiki. then he thanks us like he didn't realize the wiki existed. it sounds like he's trying to just jam a bunch of tutorial code together and hope it makes an OS.
LindusSystem
Member
Member
Posts: 63
Joined: Sat Apr 28, 2012 9:41 am
Location: Earth -> Asia

Re: Bootable floppy

Post by LindusSystem »

Read my Tips:
1)Try reading how to ask qustions
2)And your question seems to be rubbish (For Me or everyone)
3)NOTE: EVERYTHING STORED IN COMPUTER IS IN ITS LANGUAGE and IT CANNOT EXECUTE any other format

Look at the wiki or ,if you really are a damn beginner try the brokernthron tutorials(bootsector and kernel included).
I dont know much about it but that tutorial will help all newbies
Anyone has a idea of making a ntfs bootsector?if yes PM me , plz.
Post Reply