Thank you very much to DavidCooper and Blacklight
@Blacklight
Blacklight wrote:Very neat work you have here. Will you be making the source code of the bootloader available, perhaps as a reference implementation for those who wish to write their own Smile FS driver? I'd like to see if I can port the FS to an existing project.
Smile FS specifications will be made partly readable to allow this. However some other parts will not because Smile FS provides a layer of protection with cryptography that should be left reserved. The bootloader code will be provided only in the form needed to understand some internals
. I'm writing the specifications in these days, I hope to upload them early.
Blacklight wrote:
Having an autoexec.bat file causes the bootloader to freeze up.
It's true
The file isn't read because I have to port the parser of the old version to this (the commands are the same)
Blacklight wrote:
Will you be writing any utilities to modify Smile FS disk images?
I had. Before writing the bootloader I wrote a windows application to read and write files.... well than when I wrote the bootloader I changed all so it isn't any more useful.
However with the recive command (that now I'm going to change with receive, thank you David) and an utility I can upload, you are able to send file you edited on your computer.
Blacklight wrote:
@David: It seems that "format" just erases all the files while keeping the bootloader intact.
It' so, because the Smile FS starts only after a region of space reserved by the MBR in order to contains.
@DavidCooper
DavidCooper wrote:
One of the commands needs a spelling correction: receive, not recive.
Fixed
DavidCooper wrote:
Other than that, I don't know which parts of it you most want to be tested. I've created a couple of files using names such as "new test.txt", after which the "dir" function looked more interesting. I've also used "write test.txt to write a file with what appears to be a text editor. Once in the text editor, every key press made the whole screen flash (though that might be the fault of Bochs)
It's ok, the content is refreshed every char you add or delete, and bochs isn't so fast. You could also try some keys like del, ins to see if everythink is ok.
DavidCooper wrote:
and when I tried to save a file (using "q" as directed) a message claimed it was saved, but it then got stuck, refusing to exit after pressing "u" - each press of "u" leads to a message saying "Do you want to save your work?" (even though it's already been saved), and pressing "y" takes it back to the list of available commands offering "u" as a way to exit (which again leads back to the same question "Do you want to save your work").
It asks you because there isn't any control on the changed status of the file. The exit is a bit bugged, you should press esc to go out after you pressed u and [y/n].
DavidCooper wrote:
Pressing reset in Bochs to start from scratch reveals that the text files I created were saved to the disk, and the one I actually wrote to with the text editor contained 138 bytes. Using "write test.txt" again enabled me to modify it further, up to 267 bytes (as revealed after doing another reset to get out of the exit trap). The cursor in the text editor behaved in a strange way on one line, lagging one place behind the current print position.
This is a feature that let you know you are writing on a long line which is more than 80 characters
. If it's not useful I can delete it
DavidCooper wrote:
I also tried deleting one of my test files and everything froze. After another reset to escape from this I found that it had been successfully deleted. I tried another delete and exactly the same thing happened.
Whaaaat? Can you upload you image so that I can see the problem?
DavidCooper wrote:
There don't appear to be any other files on the disk to play with. Do you have anything available for it to load which would show off more of the things it can do?
Not yet but if you save a file like something.bas and you try to edit it you will see the editor highlighting commands numbers and so on.
DavidCooper wrote:
If I type in the command "basic" it says "The BASIC ROM has not been found" - is this some old piece of ROM found only on ancient machines?
No it is the loader of the BASIC interpreter used if you don't have any operating system to load. I'm writing it
... by now I could add the mikeos one.
Thank you very much for the time spent with my project
If anyone has found an error, he can uploads the image downloaded so that I can understand and fix the bug ^_^
I'm sorry for mistakes this has been a very long post which tested my English so hard XD If you want you can also report them so I fix