Jump to content


Photo

Web server for Macintosh 512K


  • Please log in to reply
54 replies to this topic

#1 epooch

epooch
  • 6502
  • LocationSan Diego, CA

Posted 15 January 2015 - 04:17 PM

I was able to get my Macintosh 512K web server running and on the internet for current RetroChallenge.  It is running System 2.0/Finder 1.1g  with 64K ROMs.  Here is a link to my web page with a link to the server.:

 

http://apple-crapple...n-internet.html

 

It is still running the default lwIP web page.

I am pretty close to getting it to run in 128K, but it is still a little too big. It runs easily in a virtual 256K Mac.

Let me know how well, or if, it works.


Edited by epooch, 15 January 2015 - 04:21 PM.


#2 onlyonemac

onlyonemac
  • 6502
  • LocationNear Chichester, United Kingdom

Posted 15 January 2015 - 06:46 PM

Yes it does work.


Don't hack your Mac...you might as well throw it in the dumpster.
Always on the lookout for cheap/free Macs and Mac goodies-PM me if you've got an offer.

As my username suggests, I only have one mac (Performa 475), but wouldn't mind 50 or so.

#3 mactjaap

mactjaap
  • 6502
  • LocationThe Netherlands

Posted 15 January 2015 - 08:58 PM

What a great achievement. I'm really flabbergasted!

I'm working now for 25 years with old Mac's and never have seen something like this before!

A web server on a 512K! This is what I see in the header:

 

Status: HTTP/1.0 200 OK
Content-type: text/html

 

 

I have tried myself to achieve something with a web server. My best effort was a rebuild of the Pascal code for TCTExample to a kind of web server:

https://68kmla.org/f...mple-in-pascal/

 

But on a 512K.... GREAT! It means you get TCP/IP running on one of the smallest equiped Mac's. I'm looking forward to your effort on a 128K.

 

Could you share a disk image if possible? I would really love to try it!

I will read you blog about this all!

 

An other question. You talk about emulated 512K. What do you use for that? Basilisk II?


Collection: Apple II (ITT 2020), LISA 2, Macintosh 128K, 512K, Plus, ED, SE, Portable, PowerBook 100 and a FastPath5 router.
Looking for TCP/IP over LocalTalk?? I made something very usefull... Look at http://www.macip.net


#4 epooch

epooch
  • 6502
  • LocationSan Diego, CA

Posted 15 January 2015 - 09:54 PM

I am planning on getting a distribution ready this weekend. The server is currently running on a REAL original Macintosh0, upgraded to 512K RAM.  I have been doing some testing on Mini vMac with some modifications I adapted to support the mac serial ports (see my web site). I have been using that to test it on a virtual128K (which doesn't work yet) and a virtual (and nonexistant) 256K Mac (which does appear to work).

 

I will try to get a whole image together with the modified Mini vMac and a 400K disk with the program on it.   



#5 mactjaap

mactjaap
  • 6502
  • LocationThe Netherlands

Posted 15 January 2015 - 10:02 PM

Great! I'm really looking forward to test it. On my Linux box I have a null modem cable to a 512K Mac and I once did a SLIP connection on that. See:

http://macintosh.vanegten.com/?p=193

 

Never tried a PPP, but I guess that will be the trick to get to the 512K. I will read your web site how you setup the PPP connection in the first place.


Collection: Apple II (ITT 2020), LISA 2, Macintosh 128K, 512K, Plus, ED, SE, Portable, PowerBook 100 and a FastPath5 router.
Looking for TCP/IP over LocalTalk?? I made something very usefull... Look at http://www.macip.net


#6 captaineos

captaineos
  • 6502
  • LocationCanberra, Australia

Posted 15 January 2015 - 10:57 PM

Great developments being made - I admire your talent



#7 3583Bytes

3583Bytes
  • 6502
  • LocationCalgary, Canada

Posted 16 January 2015 - 02:55 AM

Wow very cool, you should post a more detailed tutorial on how to do this with some scripts.



#8 Elfen

Elfen
  • 68030
  • LocationNYC, NY

Posted 16 January 2015 - 03:33 PM

I have the book PISM - Providing Internet Services on Macintosh (circa 1999), and I used run web service on classic Macs, and other services (Email, FTP, Gopher, Unix-like Talk Chat/IRC, and so on) for the community center computer room I a running then. Much of the software can run on a Mac 512K on System 6.04, though they could use a lower system but I never tried it on a lower system. Years later I also had the book Running MacHTTPD - which was a tiny version public domain version of Webstar 4.0. Throw in a few plug-ins, and it was "Kick Ass" on what one can do with an old Mac!

 

If it counts, I still run Webstar 5.0 on my old Duo 210 for experiments and cgi coding practice. It's been running that since 2002, and MacHTTPD since the late 1990s.


Edited by Elfen, 16 January 2015 - 03:37 PM.

Amassed a collection of various Macs and PCs that friends are calling my place a Mac museum: 512Ke, Plus, SE/30, IIcx, IIci, Q950, Q800, Q8100, 7100, Biege G3, PB 5300ce,190, 190c, 150, 180, (4) Duo 210, Duo 230, (2) 250, 280, 280c, 2300c, (3) G3 Wallstreet, iBook G3 (Orange), (3) iBook G3 (White), (3) iBook G4, PB G4 (all 12in)

 


#9 epooch

epooch
  • 6502
  • LocationSan Diego, CA

Posted 16 January 2015 - 03:54 PM

I am quite sure 64K ROMs cannot run System 6, or MacTCP.  You had it easy with a '512Ke'.



#10 Elfen

Elfen
  • 68030
  • LocationNYC, NY

Posted 16 January 2015 - 04:15 PM

That depends. I need to re-research what I have. There was a TCP stack for System 6 that as not MacTCP, using AppleTalk 2.0. AppleTalk 1.0 would not work with it as I remember, because the buffer sizes were too small and its bandwidth too slow.

 

I still have much of my original software and the two books.


Edited by Elfen, 16 January 2015 - 04:15 PM.

Amassed a collection of various Macs and PCs that friends are calling my place a Mac museum: 512Ke, Plus, SE/30, IIcx, IIci, Q950, Q800, Q8100, 7100, Biege G3, PB 5300ce,190, 190c, 150, 180, (4) Duo 210, Duo 230, (2) 250, 280, 280c, 2300c, (3) G3 Wallstreet, iBook G3 (Orange), (3) iBook G3 (White), (3) iBook G4, PB G4 (all 12in)

 


#11 mactjaap

mactjaap
  • 6502
  • LocationThe Netherlands

Posted 22 January 2015 - 08:36 PM

I got El Whip working on my 512K. Runs fine!

Read all about it at:

 

http://macintosh.vanegten.com/?p=440


Collection: Apple II (ITT 2020), LISA 2, Macintosh 128K, 512K, Plus, ED, SE, Portable, PowerBook 100 and a FastPath5 router.
Looking for TCP/IP over LocalTalk?? I made something very usefull... Look at http://www.macip.net


#12 Elfen

Elfen
  • 68030
  • LocationNYC, NY

Posted 23 January 2015 - 04:51 PM

What system is the Mac 512K on?


Amassed a collection of various Macs and PCs that friends are calling my place a Mac museum: 512Ke, Plus, SE/30, IIcx, IIci, Q950, Q800, Q8100, 7100, Biege G3, PB 5300ce,190, 190c, 150, 180, (4) Duo 210, Duo 230, (2) 250, 280, 280c, 2300c, (3) G3 Wallstreet, iBook G3 (Orange), (3) iBook G3 (White), (3) iBook G4, PB G4 (all 12in)

 


#13 mactjaap

mactjaap
  • 6502
  • LocationThe Netherlands

Posted 23 January 2015 - 05:32 PM

It runs System 2.0 / Finder 4.1 on an unmodified 512K. So on a 400k disk.

I started to test on a modified 512K ( 1024K on board) , but switched to my unmodified.

 

It runs really fine!


Collection: Apple II (ITT 2020), LISA 2, Macintosh 128K, 512K, Plus, ED, SE, Portable, PowerBook 100 and a FastPath5 router.
Looking for TCP/IP over LocalTalk?? I made something very usefull... Look at http://www.macip.net


#14 epooch

epooch
  • 6502
  • LocationSan Diego, CA

Posted 23 January 2015 - 06:27 PM

I have run it on lower finder/ system versions too. The calls are all for the original ROMs, nothing system specific. RAM is the only limitation right now.

#15 mactjaap

mactjaap
  • 6502
  • LocationThe Netherlands

Posted 23 January 2015 - 11:22 PM

OK! Put my 512K on the Internet now. You can see it on:

http://512k.macip.net

 

Had to do some ugly way with netcat to get it pass all of my routers.... but it works!

(only no image because it has a relative URL in it.... but that's a minor detail.)

The page is grabbed live from the Mac 512K... Will try to keep him online next 24 hours....

 

 


Collection: Apple II (ITT 2020), LISA 2, Macintosh 128K, 512K, Plus, ED, SE, Portable, PowerBook 100 and a FastPath5 router.
Looking for TCP/IP over LocalTalk?? I made something very usefull... Look at http://www.macip.net


#16 mactjaap

mactjaap
  • 6502
  • LocationThe Netherlands

Posted 24 January 2015 - 08:26 AM

And offline again due to maintenance.

Collection: Apple II (ITT 2020), LISA 2, Macintosh 128K, 512K, Plus, ED, SE, Portable, PowerBook 100 and a FastPath5 router.
Looking for TCP/IP over LocalTalk?? I made something very usefull... Look at http://www.macip.net


#17 IPalindromeI

IPalindromeI
  • 68000
  • Locationwhere pies go when they die

Posted 24 January 2015 - 04:47 PM

I recommend sticking it behind nginx IMHO
Neat stuff: MacMini1,1 (Core Solo), BlackBerry Q5 (daily driver), Nokia N900, Nokia N800, Asus P2B-D with dual Pentium II 450, 2x ThinkPad 701CS, ++more

#18 mactjaap

mactjaap
  • 6502
  • LocationThe Netherlands

Posted 24 January 2015 - 09:24 PM

Could you provide an example how to do this in ngnx?

Collection: Apple II (ITT 2020), LISA 2, Macintosh 128K, 512K, Plus, ED, SE, Portable, PowerBook 100 and a FastPath5 router.
Looking for TCP/IP over LocalTalk?? I made something very usefull... Look at http://www.macip.net


#19 IPalindromeI

IPalindromeI
  • 68000
  • Locationwhere pies go when they die

Posted 24 January 2015 - 10:04 PM

The RTE and bbcode are mangled for me, so here's a paste
Neat stuff: MacMini1,1 (Core Solo), BlackBerry Q5 (daily driver), Nokia N900, Nokia N800, Asus P2B-D with dual Pentium II 450, 2x ThinkPad 701CS, ++more

#20 epooch

epooch
  • 6502
  • LocationSan Diego, CA

Posted 25 January 2015 - 02:08 AM

I was able to get a web server running on a Mini vMac virtual Macintosh 128K... 

 

Virtual Macintosh 128K 404 Error server!


Edited by epooch, 25 January 2015 - 02:32 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users