Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Misc > Re: Microsoft B...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 5 Topic 1423 of 1492
Post > Topic >>

Re: Microsoft Basic for Macintosh 2.0

by "R.Nicholson" <rhnlogic@[EMAIL PROTECTED] > Jan 30, 2008 at 03:56 PM

On Jan 29, 11:24 pm, g...@[EMAIL PROTECTED]
 wrote:
> Hi,
>
> For some odd nostalgic reason I have started to play around with
> Microsoft basic 2.0 on my old (512k) Mac. I'm particularly interested
> in any capabilities it has to drive the serial ****ts for good old
> serial communications, however I dont have any reference materials
> that describe how to go about it.
>
> I purchased a rather good guide to MS Basic from amazon, but although
> its a good reference on how to write code and covers many aspects of
> the platform, it doesnt cover serial comms.
>
> I see there are several other old MS Basic for Mac books I could buy,
> but I've got no idea if any of them will cover the information I want
> either.
>
> So, I was wondering if anyone could either point me to an online
> resource, or name a book (if anyone can remember that far back :) )
> that contains information on how to do serial comms in MS Basic 2.0
> for Mac.
>
> Cheers,

IIRC, the syntax was similar to:
100 open "COM1:" for output as #1
Then just use input # and print # statements for I/O.

In MS Basic 1.0 for Macintosh there was no way to set the
baud rate without peeking and poking at the 8530 SCC chip
registers.  (Somewhere in storage I may have a notebook
with the addresses of those registers...)

Not sure about MSB 2.0... perhaps try something like:
110 OPEN "COM1:2400,N,8,2" FOR OUTPUT AS #1
120 OPEN "COM1:2400,N,8,2" FOR INPUT AS #2

This is also similar to the serial ****t open syntax I used
for Chipmunk Basic:
 http://www.nicholson.com/rhn/basic


IMHO. YMMV.
--
rhn A.T nicholson d.0.t C-o-M
 




 5 Posts in Topic:
Microsoft Basic for Macintosh 2.0
gpnz@[EMAIL PROTECTED]   2008-01-29 23:24:06 
Re: Microsoft Basic for Macintosh 2.0
"Auric__" <n  2008-01-30 22:33:27 
Re: Microsoft Basic for Macintosh 2.0
"Auric__" <n  2008-01-30 23:20:44 
Re: Microsoft Basic for Macintosh 2.0
"R.Nicholson" &  2008-01-30 15:56:51 
Re: Microsoft Basic for Macintosh 2.0
gpnz@[EMAIL PROTECTED]   2008-01-30 23:50:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 20:26:11 CDT 2008.