ksherlock / host-fst Goto Github PK
View Code? Open in Web Editor NEWApple IIgs host FST (for emulators that support it)
Apple IIgs host FST (for emulators that support it)
Hi Kelvin! I'm implementing your WDM protocol in MAME's IIgs driver right now, starting with the conceptually simpler MLI intercept version for ProDOS 8. I've completed the first half of the functionality where we can boot with ATINIT in place and the WDM hooks operating and ProDOS works normally with the emulated disk drives even though all the MLI calls are trapping up into the emulator. Next up is actually adding the functionality for accessing the host.
Currently you put the necessary patch code in slot 7's register area at $C0F0. I feel your pain in finding 11 free bytes anywhere in an Apple II that aren't on the language card, but $C0F0 is a non-starter, as you probably already know. MAME emulates the CFFA2, the Apple II Rev. C SCSI Card, and the AE Vulcan IDE and all 3 are commonly parked in slot 7.
For this, I'd suggest defining a spec for a slot card to emulate where the CnXX space has a 4-byte ID and maybe 192 bytes of RAM. Then ATINIT simply needs to scan for the ID and place any patches there.
We have an implementation in MAME for host file access on NuBus Macs involving an emulated NuBus card that accepts open/read/write/seek/close/change directory/delete commands and a matching classic MacOS driver. I prefer the cleanliness of that approach since it keeps OS internals from leaking out wholesale into the emulator code, but that may be unavoidable with ProDOS 8 regardless.
Cheers!
-RB
I'm sorry, I just found the 'release' feature of github lol. Please delete this.
in the installation for gno/me, i tried setting my HFS volume to be host-fst. the archiver (yankit xvf /host/download/gnofs.shk) said "GS/OS Error $0046" when targeting host-fst, but all the other installation commands worked.
Sorry if this is an obvious question. I have downloaded release 3 and am trying to figure out how to install it. The installation instructions say to install the host.fst
and host.driver
in your *:System:
folder, but there is no host.fst
or host.driver
in the release 3 disk image. Am I supposed to use the files from a previous release, or is there a different install process for release 3?
When returning from a P8 application it does not remount drive.
The resourceNumber
field returned by GetRefInfo
should indicate if the resource fork or data fork of the file was opened, but under the Host FST it is always 0 (indicating the data fork), even if the resource fork was actually opened.
Also, GetRefNum
cannot successfully look up the reference number of an open resource fork (using a resNum
value of 1).
To fix both these problems, bit 14 of the FCR's access field should be set to indicate a resource fork.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.