Reading from disk troubles (demo 22)
Posted: Wed Feb 16, 2011 11:09 pm
I am having trouble when opening a file and this problem persists even when i build directly from the Demo 22 project and not my version of the OS.
What happens is i will input the command 'read' and then the filename but no matter how I format it, the OS reports invalid file.
I have just created a file named file.txt in notepad and saved it onto the floppy as we would any other file... is this wrong?
I tried debugging it and it gets to the point in volOpenFile() where it calls the filesystem and I lose it; where is the Open() function referred to by _FileSystems[device - 'a']?
I guess what I'm asking is, has anyone else had this problem or can you please point me in the right direction please?
What happens is i will input the command 'read' and then the filename but no matter how I format it, the OS reports invalid file.
I have just created a file named file.txt in notepad and saved it onto the floppy as we would any other file... is this wrong?
I tried debugging it and it gets to the point in volOpenFile() where it calls the filesystem and I lose it; where is the Open() function referred to by _FileSystems[device - 'a']?
I guess what I'm asking is, has anyone else had this problem or can you please point me in the right direction please?