Roger Merchberger <zmerch(a)30below.com> wrote:
512 byte MS-DOS sectors shouldn't be too hard to implement in software...
if, of course, you had the nitty-gritties to programming the FDC (which the
disk Basic unravelled would provide) and MS-DOS's track format layout...
(anybody got that handy?)
Hi
I have code and stuff I did for 360K DOS disk. It would need a little
modifications for the larger FAT used on the 1.44M's but the
basics are there. I didn't do subdirectories but they could be added
with a minimum of effort. The code is all done in Forth and
even then, a strange Forth called CMForth that was for the NC4000
chip. Still the flow is what one needs.
It is on my web page at:
http://web.hal.com/users/elvey/
scroll down and select:
Forth and DSP related files
disk.txt DOS disk read write code
disk.art Story goes with above
floppy.txt Floppy interface ( 765 type, not 1793 )
floppy.art Story goes with above
I expect to be doing modifications to the code to read/write
to DOS disk in the near future because I want to read/write
1.44M disk in DOS file structures. I am already reading and writing
sectors on this disk, just not files yet.
Let me know if you find it useful or if you have questions.
Dwight