whscullin / apple2js

An Apple II emulator originally written in Javascript, now being converted to TypeScript
http://www.scullinsteel.com/apple2/
MIT License
438 stars 57 forks source link

How to use CFFA and smart drive #147

Open dungeonkim opened 2 years ago

dungeonkim commented 2 years ago

hello?

I know that CFFA and Smart drive are implemented. But I don't know how to use them. Can I use them to read from or write to a file? (I want to use a .hdv file.) Or can I speed up reading and writing while using drive2 ?

iflan commented 2 years ago

Hi there,

800 KB disk images work as expected:

32 MB disk images work, also:

To load a local image, click on the folder icon, then Choose File, the Open. If the file is not a floppy, then the emulator will automatically mount it as a smart port disk. You'll know that this has happened because the image name won't show for Drive 1 or Drive 2. There can only be one smart port disk, though.

Once the disk image is mounted, you can press Control-Open Apple-Reset to reboot to the image. You can also press Control-Reset then PR#7 to boot to the image.

Currently, if you want to save a modified disk image, you have to download the image again by clicking on the floppy disk symbol. I'm trying to make the emulator read and write local files directly, but that's very much a work in progress that I haven't been able to spend much time on recently.

Hope that helps!

dungeonkim commented 2 years ago

The reason I thought .hdv was not working was because my .hdv file size was smaller than 800 * 1024. In this case, an error saying that it could not be loaded appeared and I thought it could not be done.

Thank you so much for making such a great emulator.