Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃挕 Feature Request: Full FAT12 Filesystem #1

Open
johnnystarr opened this issue Oct 23, 2019 · 1 comment
Open

馃挕 Feature Request: Full FAT12 Filesystem #1

johnnystarr opened this issue Oct 23, 2019 · 1 comment

Comments

@johnnystarr
Copy link

First of all, I absolutely love this tool, thank you for your hard work! I have been using your tool for a project I'm working on. The only drawback, is that there is no support for additional files. Would it be possible to update the bootloaders to look for the COM/EXE yet allow additional files to be transferred to the virtual floppy?

MikeOS does this for example. Thanks!

@raphnet
Copy link
Owner

raphnet commented Feb 20, 2020

Well since version 1.3 there is a FAT12 filesystem and you can actually store regular files on the floppy. But the bootloader does not search for the executable, the data is instead stored in reserved sectors. Updating the bootloader to search the filesystem for an executable would be nice, I may actually do it in the future. But not right now.

To create a bootable floppy with additional files, you can do this:

  1. Generate the initial floppy image with booterify
  2. Use mcopy (from the mtools suite) to add files to the floppy. For instance, to add a file named readme.txt, you'd do:

mcopy -i floppyimage.dsk readme.txt ::

You can also list the contents with mdir -i floppyimage.dsk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants