* Claude must be paid by the word because he can be long winded.
It's been trained on MBA presentations. "Tell 'em what you're going to tell 'em, then tell 'em, then tell 'em what you told 'em. Three different ways."
I believe this may hunt down a crocodile or two... I still need to test it, and before that, think about _how_ to set things up with that damn edge case.
Here's the idea: I have a DIR_ENTRY structure (which will probably be fixed ZP locations when I convert to assembly).
In Which Our Hero Discovers His Secret Name May Be Claude
While looking into the issue around creating files and directories, a couple of issues raised their crocodilian snouts from the murky Slough of Despond, and started to look at our hero with hungry eyes.
Standards? We've heard of 'em. Currently working in the C domain under linux, which has proven handy to do some refactoring, and with the advantage that I can test code on a file image mounted so the linux file handlers can complain directly when I get it wrong.
At the moment, I'm trying to mount an image of the file in loopback, so I can play with C algorithms and see the results immediately in the browser. However, while I can mount it, Linux insists it belongs to root and I'm not allowed to change permissions, which is a bit of a shame.
That's exactly my next thought, though I think I shall reduce the size of the partition to the minimum that will format as FAT32, to keep the size manageable.
Turns out that trying to use hexedit on multi-megabyte files is, um, a bit tedious.
Still confused... I have proven to my satisfaction that both procedures are using the same cluster # -> sector calculation.
format partition (linux) copy directory into root (linux) copy file into new directory (linux) read file data (6502) - directory (cluster 3) shows dot, dotdot, and file ...
If I am correctly following you, you are formatting the CF card with FAT32 on your Linux box, creating a subdirectory named DIRECT00 , and then attempting to read the root directory on your 6502 machine. Is that correct?
Upside down, BDD. I'm trying to create DIRECT00 on a freshly formatted CF ...