FAT16 driver 0.11

by snout on 14-03-2006, 17:07
Topic: Software
Tags: Utilities

Source: MSX-BR-L mailinglist

At the end of last year, Okei released a new version of her FAT16 driver for MSX-DOS2, fixing a bug in the directory display routines. The FAT16 driver can be used on IDE, SCSI and CompactFlash interfaces in order to be able to access FAT16 partitions on MSX. For booting and loading the FAT16 driver itself, at least one FAT12 partition is still necessary.

Relevant link: Fat16 driver download page

Comments (13)

By Whizzy

Master (213)

Whizzy's picture

15-03-2006, 13:25

I anyone using this succesfully ?? i mean in combination with a CF-IDE interface the exchange between pc <-> msx should be much beter with a FAT16 filesystem !?

By Latok

msx guru (3908)

Latok's picture

15-03-2006, 15:34

Don't use this version yet, but yes, of course, using FAT16 driver since years already. Without problems. Always keep a decent (=large) FAT12 partition though, there are enough utils which don't like being executed from a FAT16 partition.

By msd

Paragon (1510)

msd's picture

15-03-2006, 18:32

What kind of problem do you have with it? Simular to problems with msxcdex?

By konamiman

Paragon (1181)

konamiman's picture

15-03-2006, 19:19

He he... guess who found the bug Tongue

The problem was a piece of code that increases a 23-bit sector number. There was an INC E instruction followed by a JR NC instruction. But the INC E instruction does NOT modify the carry flag, as INC A does. Thus a sector number ending with #FF was not properly increased.

By Sama

Ambassador (2068)

Sama's picture

17-03-2006, 01:17

Snout, just curious, why do you think this Okei is a 'her'? Smile

By snout

Ascended (15187)

snout's picture

17-03-2006, 01:36

Okei did! Well... actually, Latok did... quite a while back. For those still wondering... Rieks and I just solved this once and for all in an MSN chat. Okei certainly is a female. ;)

By BiFi

Enlighted (4348)

BiFi's picture

17-03-2006, 09:41

Latok already experienced problems with this version of the FAT16 driver?

By BiFi

Enlighted (4348)

BiFi's picture

17-03-2006, 10:48

konamiman, according to my docs INC A doesn't modify the carry flag either.

By Guillian

Prophet (3515)

Guillian's picture

17-03-2006, 11:55

I assure Okei is a woman. I met her in DenYu Land'99. She is a very nice person (and one of the best coders I've ever met!)

By konamiman

Paragon (1181)

konamiman's picture

17-03-2006, 12:06

Ooops, I meant the zero flag, not the carry flag.

By BiFi

Enlighted (4348)

BiFi's picture

17-03-2006, 12:34

and INC <any-8bit-register> actually does affect the zero-flag.

By konamiman

Paragon (1181)

konamiman's picture

17-03-2006, 15:10

Hum, I'm becoming stupid or what? Question

That's what REALLY happened: An INC E instruction expected the CARRY flag to be modified (set if E transitions from #FF to 0, not set otherwise). INC r instruction, indeed, does NOT modify the carry flag in any case.

As a funny side note, it seems that INC r actually DOES modify the carry in R800!! Or at least, that's what the Compass debugger says...

By [D-Tail]

Ascended (8261)

[D-Tail]'s picture

18-03-2006, 15:56

Nevertheless,(and one of the best coders I've ever met!)!

Big smile