Commit Graph

9 Commits

Author SHA1 Message Date
Stephen Heumann 350204f78a Switch to using two-character codes for options and parsing them in the zone name.
This allows more options, and it avoids having to manually specify the strings for all option combinations.
2017-04-22 15:39:02 -05:00
Stephen Heumann 4bb7e378ba Connect to the network before doing a DNS lookup, if we're not connected already. 2017-04-18 18:05:00 -05:00
Stephen Heumann fe2680b65a Bail out early if we're in P8 mode.
This avoids any possible strange behavior with calling Marinetti in P8 mode. It also ensures that I/O operations in P8 mode will give an error, but not terminate the connection: it will still be alive when we get back to GS/OS, unless the server has killed it due to inactivity (which is quite possible).
2017-04-16 18:25:58 -05:00
Stephen Heumann 695f2d8611 Implement infrastructure (in init and CDev) to support options encoded in the zone name. 2017-04-14 22:16:55 -05:00
Stephen Heumann dca542e0cd Support "asynchronous" LookupName calls (not really executed asynchronously).
This allows the "choose" utility from Apple to work.
2017-04-09 23:23:29 -05:00
Stephen Heumann 3b2f1b6a25 Pass through calls we don’t handle to the original AppleTalk stack.
It is now possible to have AFP volumes mounted over both AppleTalk and TCP/IP simultaneously.
2017-04-09 20:57:09 -05:00
Stephen Heumann 7dd2be9ae2 Patch NBPLookupName to map IP address or domain name to AppleTalk-style address. 2017-04-09 00:08:11 -05:00
Stephen Heumann 1bd953dd40 Fix memory trashing bug.
This occurred because a global with structure type was declared without the structure definition in scope. ORCA/C allows this, and just treats the struct variable as having size 0. As a result, it effectively shares the storage of whatever comes after it in the OMF file, leading to memory trashing.
2017-04-02 00:55:27 -05:00
Stephen Heumann b5c3a29f37 Initial version, with test program.
It can currently send a GetStatus request and get a response.
2017-03-18 19:42:25 -05:00