FAT16, help

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

FAT16, help

Post by lolkusus »

I want to add fat16 to my system, but all fat16 tutorials I found didn't work. :(
I have nasm compiler and my system is in real mode. When you find fat16 tutorial in assembler, please give link here
Thanks











Sorry for my English.
I'm polish
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

Re: FAT16, help

Post by bluemoon »

By "didn't work" do you mean the information provided in tutorial is inaccurate?
Have you checked FAT?
lolkusus wrote:When you find fat16 tutorial in assembler, please give link here
Most tutorials are written in plain English and pseudo code for easy understanding. If you need assembly example just format and disassemble the boot sector. However, be warn that, if you plan to copy paste a boot code it is dangerous; you should understand the pseudo code and write your own.
lolkusus
Posts: 15
Joined: Thu May 03, 2012 2:10 am

Re: FAT16, help

Post by lolkusus »

thanks for help
I'm polish
lolkusus
Posts: 15
Joined: Thu May 03, 2012 2:10 am

Re: FAT16, help

Post by lolkusus »

And about "didn't work" I mean: didn't boot my system
I'm polish
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

Re: FAT16, help

Post by bluemoon »

If you really want some assembly code for learning purpose, I studied John Fine's code about ten years ago and may I introduce to you, and guess what, it's still there:

http://geezer.osdevbrasil.net/johnfine/index.htm
lolkusus
Posts: 15
Joined: Thu May 03, 2012 2:10 am

Re: FAT16, help

Post by lolkusus »

Thanks x2, you are very helpful.
I'm polish
LindusSystem
Member
Member
Posts: 63
Joined: Sat Apr 28, 2012 9:41 am
Location: Earth -> Asia

Re: FAT16, help

Post by LindusSystem »

Click Here and you will be in a page where you will be making a bootsector booting a bootloader which will boot a kernel(dont go more).
Anyone has a idea of making a ntfs bootsector?if yes PM me , plz.
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Re: FAT16, help

Post by piranha »

I want to add fat16 to my system, but all fat16 tutorials I found didn't work.
I have nasm compiler and my system is in real mode. When you find fat16 tutorial in assembler, please give link here
First of all saying that something "didn't work" without explaining that is one of the best ways to gather animosity against you. Secondly, your posts so far have shown the basic lack of skills needed to program this kind of stuff to begin with.
And about "didn't work" I mean: didn't boot my system
Thats not helpful either.

Please:
* Learn to ask smart questions
* Learn to search the wiki
* Learn to google things
* Learn the proper knowledge needed before you start writing an OS or bootsector

-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
User avatar
miker00lz
Member
Member
Posts: 144
Joined: Wed Dec 08, 2010 3:16 am
Location: St. Louis, MO USA

Re: FAT16, help

Post by miker00lz »

yeah. i would say as a general rule of thumb, if you have absolutely no idea where to start to write your own boot sector, you are not ready to try OS dev.
Post Reply