Closed ivanizag closed 1 year ago
This is awesome! I see some typos but the code looks fine. Thanks for following the pattern of the existing drivers - that'll make refactors and improvements easier (eg a jumbo clock driver that includes all of them)
I don't have a FN, but I'll try it out and make sure it chains correctly before/after other drivers.
Hi. This PR adds a ProDOS driver for the RTC in Fujinet for the Apple II. The RTC capability has just been integrated on the Fujinet firmware. https://github.com/FujiNetWIFI/fujinet-platformio/pull/526
This driver is based on the code of the Cricket driver. Most of the code is the search of cards supporting SmartPort and the enumeration of SmartPort devices there. Once a device with fujinet clock type is found, the slot and device number is embedded on the driver code.
My 6502 skills are limited, I am sure the code can be improved. I have tested on a IIc with and without fujinet and on an emulator.