Commit Graph

9 Commits

Author SHA1 Message Date
Stephen Heumann 695d13e159 Always return a value from main().
Previously, there were bare "return;" statements in some places, even though main() was declared as returning int. This is disallowed by C99 and later, and ORCA/C now complains about it when using full lint checks.
2020-02-07 14:34:10 -06:00
Stephen Heumann ea0f70fc94 Make sure Marinetti is available before using NetDisk.
Also, add NetDiskError values used by the disk browser.
2019-07-15 17:12:27 -05:00
Stephen Heumann 5956584cb1 Show NetDisk icon during boot. 2019-04-24 19:44:04 -05:00
Stephen Heumann f912d9230e Do actual auto-detection of DOS-order versus ProDOS-order.
The basic approach is just to see if GS/OS can understand the disk (i.e. if a VolumeGS call succeeds), and if not switch the order. We currently start with ProDOS order, then switch to DOS order if necessary. This is only currently done for 140k images.
2018-10-07 23:59:00 -05:00
Stephen Heumann 64ad28a740 Eject all our disks when the network goes down. 2018-08-15 19:46:23 -05:00
Stephen Heumann 4dbfd93179 Implement request procedure for mounting a disk by URL. 2018-08-12 20:51:09 -05:00
Stephen Heumann 4ac24d75f4 Keep our driver installed on switch back from P8. 2018-08-12 15:08:26 -05:00
Stephen Heumann ff538de39c Add basic infrastructure for an installable GS/OS driver.
Currently, this can install the DIBs from the driver, but no driver calls are implemented.
2018-08-06 20:22:33 -05:00
Stephen Heumann cb236fbeb3 Set up framework of the NetDisk init. 2018-08-05 18:04:34 -05:00