[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unixisms on top of P8?



BLuRry <brendan.robert@gmail.com> wrote:
> On Thursday, December 13, 2012 12:04:56 AM UTC-6, Steve Nickolas wrote:
>> I'm starting to wonder if it might actually be possible to build a 
>> 
>> Unix-like environment - I mean Bourne shell and the whole nine yards - on 
>> 
>> a //e...maybe not multitasking though...using cc65 or some other 
>> 
>> compiler...
>> 
>> 
>> 
>> I do have source for a number of Unix-compatible command line utilities, 
>> 
>> though being a lot of these are derived from Solaris and BSD they might be 
>> 
>> too big.  Still, might be interesting.
>> 
>> 
>> 
>> -uso.
> 
> There is one softswitch that cannot be read AFAIK, LCWRITE (which
> indicates if writes to the language card are enabled or not).  That could
> make things tricky if you're trying to keep the state 100% correct.  Of
> course, this is one of those things I would totally love to be wrong
> about. (like if someone said: "Oh it's not well documented but you can
> read it at c013" that would be great!)

In any case, it's easily tested with a short sequence that reads a
location, inverts it, stores it, then reads it again and compares. If it's
changed, re-invert it and note that writes are enabled. 

-michael - NadaNet 3.1 and AppleCrate II: http://home.comcast.net/~mjmahon