flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > OS Construction > The exFAT floppy disk

Author
Thread Post new topic Reply to topic
Mike Gonta



Joined: 26 Dec 2010
Posts: 183
The exFAT floppy disk
The exFAT floppy disk.
exFAT boot sector boot loader and pre-processor code to format a 1.44MB image for emulation or transfer to
USB boot and run.

_________________
Mike Gonta
look and see - many look but few see

http://mikegonta.com


Last edited by Mike Gonta on 21 Mar 2017, 23:09; edited 5 times in total
Post 06 Dec 2016, 22:56
View user's profile Send private message Reply with quote
ford



Joined: 21 Jan 2010
Posts: 91
Why do you call it exFAT12?

Is it exFAT or is it FAT12?
Post 07 Dec 2016, 01:30
View user's profile Send private message Visit poster's website Reply with quote
Mike Gonta



Joined: 26 Dec 2010
Posts: 183

ford wrote:
Why do you call it exFAT12?
Is it exFAT or is it FAT12?

In other words:
Why do I call it exFAT12 when it can clearly be seen by reviewing the code and/or mounting the image that it is
a fully compliant exFAT format and that the single sector boot sector boot loader contains a fully compliant subset
of a minimal read-only exFAT driver?
  • exFAT stands for "extensible File Allocation Table" of which FAT12 is a part of the FAT system.
  • this minimal 1.44MB system is in the same theme as FAT12.
  • the entire boot loader is contained in the single sector boot sector similar to FAT12.
  • The file name is restricted to ascii (code page would add nothing to the driver except unacceptable size)
    in 8 dot 3 format similar to FAT12.
  • Even though exFAT is not supported on floppy disks (who cares?!) exFAT12 is a simple toy system to
    replace the (long gone and forgotten) FAT12 used for beginner/hobby OS development.

_________________
Mike Gonta
look and see - many look but few see

http://mikegonta.com
Post 07 Dec 2016, 10:33
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 14507
Location: WTC Building 7

Mike Gonta wrote:
... floppy disks (who cares?!) ...

I wonder if anyone still has working set of FDD and disk(s)? If so, it would be rare. And as time passes they will all eventually die.
Post 07 Dec 2016, 10:45
View user's profile Send private message Visit poster's website Reply with quote
Trinitek



Joined: 06 Nov 2011
Posts: 224

revolution wrote:
I wonder if anyone still has working set of FDD and disk(s)? If so, it would be rare. And as time passes they will all eventually die.

They're not that rare. There's plenty of new-old stock to go around if you need new diskettes or drives.
Post 07 Dec 2016, 11:20
View user's profile Send private message Reply with quote
Mike Gonta



Joined: 26 Dec 2010
Posts: 183

revolution wrote:

Mike Gonta wrote:
... floppy disks (who cares?!) ...

I wonder if anyone still has working set of FDD and disk(s)? If so, it would be rare. And as time passes they will all eventually die.

Who cares?!
As time passes we all will eventually die anyways.
I recently purchased a new USB floppy disk drive (on eBay for U$9.00 and free shipping) for testing on a couple
of PC's that don't have one (the old XP box that I currently use does have one). Even though floppy disks are
no longer manufactured new ones can still be purchased (for who knows how long) at floppydisk.com.
The 1.44MB floppy disk image (for beginner/hobby OS development) is perfect
for emulation and can easily be transferred to a USB flash drive for boot and run.

The interesting thing that I discovered with the USB floppy drive testing is that (even on the PC that booted with
drive identifier = 0) because the bootable connection to the PC is USB the INT 0x13 extended drive functions (not
normally available when booting the same floppy disk with an on board FDD) worked just fine.

_________________
Mike Gonta
look and see - many look but few see

http://mikegonta.com
Post 07 Dec 2016, 11:35
View user's profile Send private message Reply with quote
Mike Gonta



Joined: 26 Dec 2010
Posts: 183

ford wrote:
Why do you call it exFAT12?

In a sense, I have extended the FAT12 system as a simple subsystem of the exFAT (extensible File Allocation Table)
system to replace FAT12 for beginner/hobby OS development.

_________________
Mike Gonta
look and see - many look but few see

http://mikegonta.com
Post 07 Dec 2016, 11:47
View user's profile Send private message Reply with quote
Mike Gonta



Joined: 26 Dec 2010
Posts: 183

Trinitek wrote:
... if you need new diskettes or drives.

What we need is a new simple file system driver (exFAT12?) that can replace FAT12 (for beginner/hobby OS dev)
the same way the USB flash drive replaced the floppy disk.

_________________
Mike Gonta
look and see - many look but few see

http://mikegonta.com
Post 07 Dec 2016, 11:53
View user's profile Send private message Reply with quote
Mike Gonta



Joined: 26 Dec 2010
Posts: 183
Re: exFAT12
The exFAT12 tutorial (a bit skimpy, but a work in progress) is available and feedback would be appreciated.

_________________
Mike Gonta
look and see - many look but few see

http://mikegonta.com


Last edited by Mike Gonta on 09 Dec 2016, 22:37; edited 1 time in total
Post 07 Dec 2016, 14:50
View user's profile Send private message Reply with quote
Trinitek



Joined: 06 Nov 2011
Posts: 224
Re: exFAT12

Mike Gonta wrote:
The exFAT12 tutorial (a bit skimpy, but a work in progress) is available and feedback would be appreciated.

http://mikegonta.com/exFAT12

If you care enough, you can add a .gitattributes file with the line

Code:
*.inc linguist-language=Assembly

to force GitHub to properly label date_time.inc as an assembly file instead of C++.

Also, I thought you had your SudoBIOS repository on there? Did you take it down?
Post 07 Dec 2016, 15:13
View user's profile Send private message Reply with quote
Mike Gonta



Joined: 26 Dec 2010
Posts: 183
Re: exFAT12 (FASM - now with the power of C++)

Trinitek wrote:
If you care enough, you can add a .gitattributes file with the line

Code:
*.inc linguist-language=Assembly

to force GitHub to properly label date_time.inc as an assembly file instead of C++.

It's the main page Popular repositories blurb that shows C++. The .gitattributes won't change this.

Trinitek wrote:
Also, I thought you had your SudoBIOS repository on there? Did you take it down?

That's in the ashes since long time ago. Soon, I'll be releasing a stripped down version (designed to fit in the 8 optional
boot sectors of exFAT with room for the boot loader). This version will allow function based access to the native
motherboard BIOS from C and assem in PM32, but no assem INT access. A large part of the old code was required
just to process the INTs.

_________________
Mike Gonta
look and see - many look but few see

http://mikegonta.com
Post 07 Dec 2016, 15:46
View user's profile Send private message Reply with quote
Mike Gonta



Joined: 26 Dec 2010
Posts: 183

Mike Gonta wrote:
In a sense, I have extended the FAT12 system as a simple subsystem of the exFAT (extensible File Allocation Table)
system to replace FAT12 for beginner/hobby OS development.

  • To save space (and fit the diver in a boot sector) most normally variable parameters can be (and are) hard
    coded similar to a 1.44MB FAT12 driver. At the same time simplifying the driver.

_________________
Mike Gonta
look and see - many look but few see

http://mikegonta.com
Post 07 Dec 2016, 16:02
View user's profile Send private message Reply with quote
Trinitek



Joined: 06 Nov 2011
Posts: 224
Re: exFAT12 (FASM - now with the power of C++)

Mike Gonta wrote:
It's the main page Popular repositories blurb that shows C++. The .gitattributes won't change this.

I just tested it on one of my repos and it worked just fine, both on the language percentage bar and on the popular repos screen, unless I misunderstand.

Mike Gonta wrote:
That's in the ashes since long time ago. Soon, I'll be releasing a stripped down version (designed to fit in the 8 optional
boot sectors of exFAT with room for the boot loader). This version will allow function based access to the native
motherboard BIOS from C and assem in PM32, but no assem INT access. A large part of the old code was required
just to process the INTs.

Why not leave it up?
Post 07 Dec 2016, 16:31
View user's profile Send private message Reply with quote
Mike Gonta



Joined: 26 Dec 2010
Posts: 183
Re: exFAT12 (FASM - now with the power of C++)

Trinitek wrote:

Mike Gonta wrote:
It's the main page Popular repositories blurb that shows C++. The .gitattributes won't change this.

I just tested it on one of my repos and it worked just fine, both on the language percentage bar and on the popular repos screen, unless I misunderstand.

Apparently, it's a combination of the interpreted contents and the file extension. For example, if it doesn't say
.asm and the contents don't appear to be asm the .gitattributes can't change it. If the contents are C++ and
the extension is .asm then the file is asm (no .gitattributes required). Easy peasy, I simply changed the .inc to
.asm and all is now well in assemville.

Trinitek wrote:

Mike Gonta wrote:
That's in the ashes since long time ago. Soon, I'll be releasing a stripped down version (designed to fit in the 8 optional
boot sectors of exFAT with room for the boot loader). This version will allow function based access to the native
motherboard BIOS from C and assem in PM32, but no assem INT access. A large part of the old code was required
just to process the INTs.

Why not leave it up?

There is very little interest (except mine) in the project when it's "Mike Gonta".
Do you think that there will be more interest when it's "gonta hell".

_________________
Mike Gonta
look and see - many look but few see

http://mikegonta.com
Post 07 Dec 2016, 17:55
View user's profile Send private message Reply with quote
Trinitek



Joined: 06 Nov 2011
Posts: 224
Re: exFAT12 (FASM - now with the power of C++)

Mike Gonta wrote:

Trinitek wrote:

Mike Gonta wrote:
That's in the ashes since long time ago. Soon, I'll be releasing a stripped down version (designed to fit in the 8 optional
boot sectors of exFAT with room for the boot loader). This version will allow function based access to the native
motherboard BIOS from C and assem in PM32, but no assem INT access. A large part of the old code was required
just to process the INTs.

Why not leave it up?

There is very little interest (except mine) in the project when it's "Mike Gonta".
Do you think that there will be more interest when it's "gonta hell".

I just think it's odd to go through the trouble of deleting old repos when they could be forgotten instead and left to collect dust. It's not like you're paying for the space anyway.
Post 07 Dec 2016, 18:12
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >

Forum Rules:
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.