FrOSt-Foundation / cFrOSt

FrOSt, but in C
4 stars 0 forks source link

User Install Application #34

Open paultech opened 7 years ago

paultech commented 7 years ago

Hi cFrost team!

As requested in IRC I'd like a method where a user can install cFrost to a HDD from a floppy.

I feel a user application accessible via the FrOSt console would be best. IE: 'mount hwid drive'; 'install drive';

Thank you!

azertyfun commented 7 years ago

We currently have a dd program in branch stdio_drives that copies n sectors from disk x to disk y (nothing too complicated). So you can run dd 1 0 10 to copy 10 sectors from disk 1 to disk 0 (assuming disk 1 is the floppy and disk 0 is the HDD, you can run lsdrives to check that).

Is that enough for your needs, or do your require something fancier that can write to the ROM, or detect which floppy FrOSt is running from?

Yamakaky commented 7 years ago

Maybe an install command as a wrapper around dd?

azertyfun commented 7 years ago

Meh, not much of a point, we have no reliable way to detect what disk FrOSt was loaded from (bbos sets A to the drive, but we have no way of knowing wether the current ROM is BBOS or not). install should be a program that can read a filesystem and install a FrOSt.bin file intelligently (with an appropriate bootloader and such).