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

Re: project BIG AppleCrate



On Dec 30, 1:24 pm, "Michael J. Mahon" <mjma...@aol.com> wrote:
> Likewise--and that's the option that currently requires the
> $400 bytes of ROM space taken up by the self-test code in
> unenhanced //e's.  (The enhanced ROM replaces the rather poor
> code in the unenhanced self-test with an improved $100-byte
> self-test--not enough to hold the NadaNet equivalent of "RWTS".)


and I have a ROM burner..

> > contiki running webserver, you could request page "RUN PROGRAM".
> > webserver sees that it doesn't exist on disk.  or prefix any nadanet
> > commands with NADA or something similar
>
> Does this permit remote running of programs on a ProDOS control
> machine?  And how about user-supplied programs?

I don't see why not?  "command line" commands can be executed like
this:

request page "123.123.123.123/NADAOPEN FILE
request page "123.123.123.123/NADAREAD FILE
request page "123.123.123.123/NADAWRITE FILE
request page "123.123.123.123/NADARUN FILE
request page "123.123.123.123/NADABRUN FILE

webserver gets command, recognizes it as being for NadaNet.
It sends the command over a serial connection to the Master
machine...

the webpage used to control this internet enabled NadaNet could
look like a 40 column apple II text screen, with a prompt...  In fact
the webpage could display the Master machine's text output!



> In general, to run a program on an AppleCrate requires setting up
> the control machine with one or more programs and then being able
> to run those programs on the control (or "master" machine) and
> being able to get the output from that machine--basically a remote
> command line interface.


Everything is controlled by the master machine, correct?  If a serial
connection (data, in and out aka I/O) is made to the master machine,
and the other end is connected to the net, I don't see why you can't
easily send and receive data..  Just like a keyboard connected to your
master.


>
> > Send the command
> > to the nadanet master through a serial card.  Program output can
> > be sent to the webpage through the serial port.
>
> Cool.  Does this mean that programs would have to be EXECed and
> then saved?  General I/O sounds like a problem...

That would be one way to do it....

request page "123.123.123.123/NADAOPEN FILE FROM NET

So we have some options on how to get the "remote" code to LOAD.

EXEC like you say...  still need a way to send from net to the
NadaNet.

3 ideas:

1)enter code into a text entry box on the host webpage, have a button
to "LOAD" AppleCrate with the entered code

2)specify a file that is on the net with the page request:

request page "123.123.123.123/NADAOPEN FILE FROM NET 222.222.222.222/
FILE.EXT

3)choose a file from your hard drive to upload and then use a web
*browser* to
recieve the file.  just like the DSK downloader works.  could be a
BASIC program
or a Binary file...  whatever



I don't understand why I/O is a problem...  That's what the Apple II
is for, right?
a computer?  Input, process, output.

Code would include a section for I/O.

---I--- would require connection to net, to get input from remote user
---o---would require connection to net, to show output to remote user.

What kind of O is required?  data...  we have the ability to send and
receive data with Uthernet and that other ethernet card.

I think doing IN#2 on Master with a serial card in slot 2,
PR#2

with a webpage showing this text would be neat, and we can
all experiment with it and view eachothers efforts...



Rich