Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Apple » Apple II » ]LOAD and RUN ???
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
]LOAD and RUN ??? [message #352426] Thu, 14 September 2017 14:00 Go to next message
Anonymous
Karma:
Originally posted by: Jorge

How does http://asciiexpress.net/diskserver/ do it that a LOAD also RUNs it without having to type RUN ?
Re: ]LOAD and RUN ??? [message #352427 is a reply to message #352426] Thu, 14 September 2017 14:44 Go to previous messageGo to next message
David Schmidt is currently offline  David Schmidt
Messages: 993
Registered: October 2012
Karma: 0
Senior Member
On 9/14/2017 2:00 PM, Jorge wrote:
> How does http://asciiexpress.net/diskserver/ do it that a LOAD also RUNs it without having to type RUN ?

FP BASIC RUN bit. Please review:
https://github.com/datajerk/c2t/raw/master/article/article.p df
Re: ]LOAD and RUN ??? [message #352428 is a reply to message #352427] Thu, 14 September 2017 14:51 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Jorge

On Thursday, September 14, 2017 at 8:44:47 PM UTC+2, schmidtd wrote:
> On 9/14/2017 2:00 PM, Jorge wrote:
>> How does http://asciiexpress.net/diskserver/ do it that a LOAD also RUNs it without having to type RUN ?
>
> FP BASIC RUN bit. Please review:
> https://github.com/datajerk/c2t/raw/master/article/article.p df

Yep, thanks!

"The next byte is always $55 (FP BASIC only). However, if the most significant bit is set high (e.g. $D5), then after the program loads it will automatically RUN—this is an awesome must have feature that c2t uses to improve the end user experience—thanks Woz!"
Re: ]LOAD and RUN ??? [message #352439 is a reply to message #352428] Thu, 14 September 2017 17:07 Go to previous messageGo to next message
Michael J. Mahon is currently offline  Michael J. Mahon
Messages: 1767
Registered: October 2012
Karma: 0
Senior Member
Jorge <jorge@jorgechamorro.com> wrote:
> On Thursday, September 14, 2017 at 8:44:47 PM UTC+2, schmidtd wrote:
>> On 9/14/2017 2:00 PM, Jorge wrote:
>>> How does http://asciiexpress.net/diskserver/ do it that a LOAD also
>>> RUNs it without having to type RUN ?
>>
>> FP BASIC RUN bit. Please review:
>> https://github.com/datajerk/c2t/raw/master/article/article.p df
>
> Yep, thanks!
>
> "The next byte is always $55 (FP BASIC only). However, if the most
> significant bit is set high (e.g. $D5), then after the program loads it
> will automatically RUN—this is an awesome must have feature that c2t uses
> to improve the end user experience—thanks Woz!"
>

I've always wondered whether this was more a handy "autorun" feature or a
tool to discourage prying eyes... ;-)

Given its Micro-soft parentage, I suspect the latter.

--
-michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com
Re: ]LOAD and RUN ??? [message #352484 is a reply to message #352439] Fri, 15 September 2017 09:56 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Jorge

>>>
>>> FP BASIC RUN bit. Please review:
>>> https://github.com/datajerk/c2t/raw/master/article/article.p df
>>
>> Yep, thanks!
>>
>> "The next byte is always $55 (FP BASIC only). However, if the most
>> significant bit is set high (e.g. $D5), then after the program loads it
>> will automatically RUN—this is an awesome must have feature that c2t uses
>> to improve the end user experience—thanks Woz!"
>>

Lookig at:

http://www.txbobsc.com/scsc/scdocumentor/D766.html

and

http://www.txbobsc.com/scsc/scdocumentor/definitions.html

it seems that the first 3 bytes written to the tape are $50..52 and $52 is LOCK, the interesting one. Yes? So, if I do:

POKE 82,128+PEEK(82)
SAVE

Will that make it to auto-run on LOAD?

--
Jorge.
Re: ]LOAD and RUN ??? [message #352486 is a reply to message #352484] Fri, 15 September 2017 10:10 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Jorge

>
> Lookig at:
>
> http://www.txbobsc.com/scsc/scdocumentor/D766.html
>
> and
>
> http://www.txbobsc.com/scsc/scdocumentor/definitions.html
>
> it seems that the first 3 bytes written to the tape are $50..52 and $52 is LOCK, the interesting one. Yes? So, if I do:
>
> POKE 82,128+PEEK(82)
> SAVE
>
> Will that make it to auto-run on LOAD?

And the first line of the program should perhaps better be a POKE($D6),0 to turn off the LOCK flag? What else than the auto-run happens, exactly, when the LOCK flag is set?

LOCK appears in all these pages:

http://www.txbobsc.com/scsc/scdocumentor/definitions.html
http://www.txbobsc.com/scsc/scdocumentor/D52C.html
http://www.txbobsc.com/scsc/scdocumentor/D766.html
http://www.txbobsc.com/scsc/scdocumentor/EFEA.html

?

--
Jorge.
Re: ]LOAD and RUN ??? [message #352497 is a reply to message #352486] Fri, 15 September 2017 14:14 Go to previous messageGo to next message
Michael J. Mahon is currently offline  Michael J. Mahon
Messages: 1767
Registered: October 2012
Karma: 0
Senior Member
Jorge <jorge@jorgechamorro.com> wrote:
>>
>> Lookig at:
>>
>> http://www.txbobsc.com/scsc/scdocumentor/D766.html
>>
>> and
>>
>> http://www.txbobsc.com/scsc/scdocumentor/definitions.html
>>
>> it seems that the first 3 bytes written to the tape are $50..52 and $52
>> is LOCK, the interesting one. Yes? So, if I do:
>>
>> POKE 82,128+PEEK(82)
>> SAVE
>>
>> Will that make it to auto-run on LOAD?
>
> And the first line of the program should perhaps better be a POKE($D6),0
> to turn off the LOCK flag? What else than the auto-run happens, exactly,
> when the LOCK flag is set?
>
> LOCK appears in all these pages:
>
> http://www.txbobsc.com/scsc/scdocumentor/definitions.html
> http://www.txbobsc.com/scsc/scdocumentor/D52C.html
> http://www.txbobsc.com/scsc/scdocumentor/D766.html
> http://www.txbobsc.com/scsc/scdocumentor/EFEA.html
>
> ?
>

AFAIK, that's all it does.

--
-michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com
Re: ]LOAD and RUN ??? [message #352514 is a reply to message #352497] Fri, 15 September 2017 16:59 Go to previous messageGo to next message
Steve Nickolas is currently offline  Steve Nickolas
Messages: 2036
Registered: October 2012
Karma: 0
Senior Member
On Fri, 15 Sep 2017, Michael J. Mahon wrote:

> Jorge <jorge@jorgechamorro.com> wrote:
>>>
>>> Lookig at:
>>>
>>> http://www.txbobsc.com/scsc/scdocumentor/D766.html
>>>
>>> and
>>>
>>> http://www.txbobsc.com/scsc/scdocumentor/definitions.html
>>>
>>> it seems that the first 3 bytes written to the tape are $50..52 and $52
>>> is LOCK, the interesting one. Yes? So, if I do:
>>>
>>> POKE 82,128+PEEK(82)
>>> SAVE
>>>
>>> Will that make it to auto-run on LOAD?
>>
>> And the first line of the program should perhaps better be a POKE($D6),0
>> to turn off the LOCK flag? What else than the auto-run happens, exactly,
>> when the LOCK flag is set?
>>
>> LOCK appears in all these pages:
>>
>> http://www.txbobsc.com/scsc/scdocumentor/definitions.html
>> http://www.txbobsc.com/scsc/scdocumentor/D52C.html
>> http://www.txbobsc.com/scsc/scdocumentor/D766.html
>> http://www.txbobsc.com/scsc/scdocumentor/EFEA.html
>>
>> ?
>>
>
> AFAIK, that's all it does.
>
>

Unlike some MS dialects where setting protect makes it ?ILLEGAL QUANTITY
ERROR when executing the "LIST" or "SAVE" commands... (e.g., GW-BASIC)

-uso.
Re: ]LOAD and RUN ??? [message #352515 is a reply to message #352514] Fri, 15 September 2017 17:29 Go to previous message
Anonymous
Karma:
Originally posted by: Jorge

On Friday, September 15, 2017 at 11:00:01 PM UTC+2, Steve Nickolas wrote:
> On Fri, 15 Sep 2017, Michael J. Mahon wrote:
>
>> Jorge wrote:
>>> What else than the auto-run happens, exactly,
>>> when the LOCK flag is set?
>>>
>>> LOCK appears in all these pages:
>>>
>>> http://www.txbobsc.com/scsc/scdocumentor/definitions.html
>>> http://www.txbobsc.com/scsc/scdocumentor/D52C.html
>>> http://www.txbobsc.com/scsc/scdocumentor/D766.html
>>> http://www.txbobsc.com/scsc/scdocumentor/EFEA.html
>>>
>>> ?
>>>
>>
>> AFAIK, that's all it does.
>>
>>
>
> Unlike some MS dialects where setting protect makes it ?ILLEGAL QUANTITY
> ERROR when executing the "LIST" or "SAVE" commands... (e.g., GW-BASIC)

] POKE (214),128

LOL. Try that. It's nasty... (214 is $D6 ( LOCK ( lots of brackets )))

--
Jorge
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Plain text editor for ProDOS?
Next Topic: What did an original Apple II sell for?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Tue Apr 16 12:45:44 EDT 2024

Total time taken to generate the page: 0.07485 seconds