Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #3200 > unrolled thread

webserver written in Applesoft

Started byvince@pianoman.cluster.toy
First post2016-12-15 19:00 +0000
Last post2017-01-13 23:21 -0800
Articles 7 — 5 participants

Back to article view | Back to comp.sys.apple2.programmer


Contents

  webserver written in Applesoft vince@pianoman.cluster.toy - 2016-12-15 19:00 +0000
    webserver written in Applesoft Antoine Vignau <antoine.vignau@laposte.net> - 2016-12-15 11:06 -0800
    Re: webserver written in Applesoft David Schmenk <dschmenk@gmail.com> - 2016-12-15 12:06 -0800
    Re: webserver written in Applesoft D Finnigan <dog_cow@macgui.com> - 2016-12-15 21:01 +0000
      Re: webserver written in Applesoft vince@pianoman.cluster.toy - 2016-12-15 22:16 +0000
        Re: webserver written in Applesoft D Finnigan <dog_cow@macgui.com> - 2016-12-15 23:43 +0000
    Re: webserver written in Applesoft Michael Lutynski <michael.lutynski@gmail.com> - 2017-01-13 23:21 -0800

#3200 — webserver written in Applesoft

Fromvince@pianoman.cluster.toy
Date2016-12-15 19:00 +0000
Subjectwebserver written in Applesoft
Message-ID<slrno55q6f.g77.vince@pianoman.cluster.toy>
Hello

I finally got around to getting my Uthernet II going.

I coded up a webserver... but the challenge was I did
it entirely in Applesoft BASIC.

It works; it's really slow though.

http://www.deater.net/weave/vmwprod/apple2_eth/

Vince

[toc] | [next] | [standalone]


#3201

FromAntoine Vignau <antoine.vignau@laposte.net>
Date2016-12-15 11:06 -0800
Message-ID<f5b842cc-f715-4193-ba1b-9f9b978e28fb@googlegroups.com>
In reply to#3200
Congratulations!

Antoine

[toc] | [prev] | [next] | [standalone]


#3202

FromDavid Schmenk <dschmenk@gmail.com>
Date2016-12-15 12:06 -0800
Message-ID<63510fac-f981-4c67-a73d-84996c2aae58@googlegroups.com>
In reply to#3200
Awesome. That's hard core ;-)

[toc] | [prev] | [next] | [standalone]


#3203

FromD Finnigan <dog_cow@macgui.com>
Date2016-12-15 21:01 +0000
Message-ID<dog_cow-1481835758@macgui.com>
In reply to#3200
vince wrote:
> 
> I coded up a webserver... but the challenge was I did
> it entirely in Applesoft BASIC.
> 
> It works; it's really slow though.

And it loads files from the disk: html, txt, jpg, and png. That's pretty
darn cool. :-)

-- 
]DF$
The Marina IP stack for Apple II--
http://marina.a2hq.com/

[toc] | [prev] | [next] | [standalone]


#3204

Fromvince@pianoman.cluster.toy
Date2016-12-15 22:16 +0000
Message-ID<slrno565l7.1pg.vince@pianoman.cluster.toy>
In reply to#3203
On 2016-12-15, D Finnigan <dog_cow@macgui.com> wrote:
> vince wrote:
>> 
>> I coded up a webserver... but the challenge was I did
>> it entirely in Applesoft BASIC.
>> 
>> It works; it's really slow though.
>
> And it loads files from the disk: html, txt, jpg, and png. That's pretty
> darn cool. :-)

My original plan was to have tried this in raw mac mode and handled
TCP/IP too, but I think the packet copying overhead would have
killed things.

Though possibly if I call into assembly language for the copying
things would be doable.  But then again trying to parse raw ethernet
frames in Applesoft without any bitwise logic or shift operators would be
a pain.

I was more impressed the floppy drives and floppies still worked, it's
been about 10 years since I last used them.

Vince

[toc] | [prev] | [next] | [standalone]


#3205

FromD Finnigan <dog_cow@macgui.com>
Date2016-12-15 23:43 +0000
Message-ID<dog_cow-1481845519@macgui.com>
In reply to#3204
vince wrote:
> On 2016-12-15, D Finnigan <dog_cow@macgui.com> wrote:
>> vince wrote:
>>> 
>>> I coded up a webserver... but the challenge was I did
>>> it entirely in Applesoft BASIC.
>>> 
>>> It works; it's really slow though.
>>
>> And it loads files from the disk: html, txt, jpg, and png. That's pretty
>> darn cool. :-)
> 
> My original plan was to have tried this in raw mac mode and handled
> TCP/IP too, but I think the packet copying overhead would have
> killed things.

I think having to write TCP/IP in Applesoft would have killed me! :-P


>  But then again trying to parse raw ethernet
> frames in Applesoft without any bitwise logic or shift operators would be
> a pain.

That's an understatement.

-- 
]DF$
The Marina IP stack for Apple II--
http://marina.a2hq.com/

[toc] | [prev] | [next] | [standalone]


#3220

FromMichael Lutynski <michael.lutynski@gmail.com>
Date2017-01-13 23:21 -0800
Message-ID<234a69e9-fd86-4f25-96a4-24b38566f7d6@googlegroups.com>
In reply to#3200
Just curious, what would happen if you compiled the Applesoft using the Einstein Basic compiler? It needs no runtime and the resulting binary is very fast.

ftp://ftp.apple.asimov.net/pub/apple_II/images/programming/basic/EinsteinCompiler.zip

Michael

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.apple2.programmer


csiph-web