]> Shamusworld >> Repos - apple2/commit - src/firmware.cpp
Fixed disk emulation to handle quarter track seeking.
authorShamus Hammons <jlhamm@acm.org>
Thu, 7 Feb 2019 13:46:21 +0000 (07:46 -0600)
committerShamus Hammons <jlhamm@acm.org>
Thu, 7 Feb 2019 13:46:21 +0000 (07:46 -0600)
commit31d2453ee7e0b2f8b550fdc17f13b92bb9fab7ee
treee9482c4e62a7563f0cfd9789d73c6754891b6628
parent66a747c7d92af86ebdfaf136cf5506a7ab714fd0
Fixed disk emulation to handle quarter track seeking.

It's not very accurate as it's set to zap the head instantly to where
the phase solenoids indicate, as opposed to moving from the start
position to the destination position in a finite amount of time (which
wouldn't be all that difficult to emulate).  But most things tend to be
pretty well behaved and so this approach seems to work OK.

Also added preliminary hard disk emulation.
Makefile
src/apple2.cpp
src/firmware.cpp
src/firmware.h
src/floppydrive.cpp
src/harddrive.cpp [new file with mode: 0644]
src/harddrive.h [new file with mode: 0644]
src/mmu.cpp
src/mmu.h