Slashdot Mirror


Berkeley TCP socket interface for the Apple IIgs

Scott C. Linnenbringer writes "In case you wanted to do something cool with your fancy little Apple IIgs in the back room, you can use GS/TCP to implement a standard BSD socket interface, allowing you to connect via SLIP, MacIP, and soon PPP on a GNO/ME (GNO Multitasking Environment) UNIX system for the IIgs, now completely abandoned, open-sourced and labeled freeware. GS/TCP also comes with ftp and inetd, built with ORCA/C directly from BSDi sources (hacked, of course,) and a text web browser for GNO/ME can be found at the website."

35 of 226 comments (clear)

  1. Man... by Anonymous Coward · · Score: 2, Funny

    Just when you thought the web couldn't get any slower....

  2. Inevitable question, sorry... by r84x · · Score: 4, Funny
    In case you wanted to do something cool with your fancy little Apple IIgs in the back room...

    What if I already have a beowulf cluster of them?

    --
    Karma: Can there be a void?

    .. -. - . .-. .-. --- -...

  3. One more spawn for our beloved BSD by sokkelih · · Score: 2, Insightful

    BSD lives forever. And there is nothing that you can do about it. :)

  4. Re:haha by Anonymous Coward · · Score: 5, Insightful

    Datasage: Seriously, if your reading this, your probably have a better computer than an Apple IIgs.

    Faster? Yes.
    Better? No.

    /s-o

  5. How about something like Minix for the IIgs? by leereyno · · Score: 4, Interesting

    I'm not familiar with the current legal status of the Minix source code, but I think it would be interesting to see a port of it to the IIgs. I don't have any illusions about such an effort yielding anything of practical use, I just think it would be cool. The x86 version of Minix will run on a PC/XT, a system whose processor lacks any sort of memory protection functionality, with 256k of memory and a single 360k floppy drive.

    If an OS like contiki can be crafted for a C64, surely Minix or something like it can be made to work on the IIgs.

    Lee

    --
    Muslim community leaders warn of backlash from tomorrow morning's terrorist attack.
    1. Re:How about something like Minix for the IIgs? by usotsuki · · Score: 5, Informative

      Minix is BSD-licensed now.

      It's theoretically possible. The IIgs's CPU is a 65816, a 16-bit variant of the 65C02. It has 24-bit memory addressing (like the 286). The IIgs came standard with 512K RAM, not too shabby for 1986. If GNO can run on top of GS/OS, I don't see why Minix can't be ported to it.

      I suggest someone might want to download KEGS and a 65816 assembler, and maybe the GNO tools and try to bootstrap Minix on it.

      --
      Dreams, dreams, don't doubt dreams, dreaming children's dreaming dreams. Sailor Moon SS
    2. Re:How about something like Minix for the IIgs? by bobthemonkey13 · · Score: 3, Informative
      IANAL, but as far as I know, Minix is almost public domain: you can do nearly anything with it (licence here).

      As far as portability, the older version of Minix (1.5) runs on 68k (Amiga, Atari, and Macintosh) and SPARC, as well as x86 (32- and 16- bit). However, the 6502 used in the Apple 1/2/3 series is quite a bit more primitive than even a MMU-less x86 or 68k. In particular, fewer and smaller registers means more swapping to memory, which in turn reduces speed and increases code size. The 16-bit version of the 6502 used in the IIgs would be somewhat better than the 8-bit 6502s in the older Apples, but maybe not by enough. Also, Minix uses a microkernel architecture, which is all very nice from a theoretical standpoint, but causes a severe performance hit on really old hardware.

      Is Minix on IIgs possible? Theoretically yes, since it's a Universal Turing Machine*. However, it's unlikely to fit within the extremely limited memory and speed constraints. Crafting a new OS from scratch would probably be much easier. But yes, it would be damn cool.

      (*Yes, a UTM is assumed to have infinite storage space, so for theoretical purposes I'm assuming that we can hook a 6502 IIgs up to 512MB SDRAM or something.)

    3. Re:How about something like Minix for the IIgs? by Matt+Ownby · · Score: 2, Informative

      I can confirm that the first ][gs's came with 256k of RAM because that's how much our "Woz" had when we got it. I believe sometime later they started shipping all of them with 512k instead.

      Man I have so many cool memories of the Apple ][gs!

    4. Re:How about something like Minix for the IIgs? by ncc74656 · · Score: 3, Informative
      That's the "glass is half empty" viewpoint. The "half full" viewpoint says that the 6502 gives you 256 registers with the special optimized opcodes for fast access to the lowest 8 bits of memory space.

      ...and the 65816 had the direct-page register, which lets you direct zero-page operations to any 256-byte chunk of the first 64K of memory. For context switching, you could set the direct-page register to a different value for each process and write the processor registers to the same (reserved) bytes in each page.

      --
      20 January 2017: the End of an Error.
  6. Heh... by Cyno01 · · Score: 4, Insightful

    This is good news, i havn't done anything with my IIgs but play Oregon Trail, Carmen Sandiago and Number Munchers.

    --
    "Sic Semper Tyrannosaurus Rex."
    1. Re:Heh... by smithmc · · Score: 3, Funny

      This is good news, i havn't done anything with my IIgs but play Oregon Trail, Carmen Sandiago and Number Munchers.

      Gee, I hope those are legal versions of Oregon Trail and Carmen Santiago, or else this really lame rapper dude will be very mad!

      --
      Downmodding is the refuge of the weak. Don't downmod, make a better argument!
  7. Not the only TCP/IP stack for the IIgs by The+Blue+Meanie · · Score: 5, Informative

    Any reason there's no mention of marinetti in this article? Marinetti implements a TCP/IP stack for the IIgs, but works under the IIgs' native interface, GS/OS. There's telnet, ftp, AIM, and email apps already, and even the beginnings of a *graphical* web browser for it. And yes, it's open source as well.

    --
    "I feel that if a person can't communicate, the very least he can do is to shut up." -- Tom Lehrer
    1. Re:Not the only TCP/IP stack for the IIgs by The+Blue+Meanie · · Score: 3, Interesting

      And at the risk of getting modded down for replying to my own post, I forgot to mention that marinetti also supports the LanceGS, a 10Base-T ethernet card for the IIgs. Don't laugh, it really works!

      --
      "I feel that if a person can't communicate, the very least he can do is to shut up." -- Tom Lehrer
  8. And the winner is... by m00nun1t · · Score: 3, Funny

    Against some VERY stiff competition, I nominate this article for the coveted /. "Nerdiest Article of the Year".

    I mean, sheesh, more acronyms in that description than unwilling virgins on this site...

  9. Apple Computer Announces The IIgs by rice_web · · Score: 5, Funny

    Apple Computer Announces The IIgs
    RetroSoft's Exclusive Look

    A motor-horse 2800KHz, 1MHz FSB and 8192KB RAM, all topped off with a beautiful, crisp, 2-bit (4-bit supported!), 640x480 monitor.

    Apple really hit the mark with this beast, even including audiophiles that needed state-of-the-art mono sound output, capable of digital sound processing (line-in will be included in future models). When we listened to the latest hits in MIDI, they sounded remarkably better than our IBM-Compatible BEEP in QBasic.

    Finally, the IIgs comes with a built-in floppy drive to store all your files, games, and, "most importantly music, " according to Steve Jobs.

    "Now you can take all your music with you anywhere, over 1,000 digital music files in your pocket. The new floppy has no moving parts, meaning a better overall product for our users. We've got a real hit with the IIgs."

    --
    The Political Programmer
    1. Re:Apple Computer Announces The IIgs by blakespot · · Score: 2, Interesting
      The Ensoniq DOC (Digital Osciallator Chip) used in the GS, coupled to 64K of audio RAM, was the father of the Forte audio processor in the GUS (Gravis UltraSound) which was so popular back in the PC demo scene. I have framed my old, red GUS and having it hanging on a wall in my computer room. :-)

      And here's my GS:
      juicy inside pic
      outside pic

      blakespot

      --
      -- Heisenberg may have slept here.
      iPod Hacks.com
  10. Re:Bah humbug by BWJones · · Score: 4, Interesting

    You'd have to be crazy to waste that much time on a woefully obsolete machine instead of using the modern one you've already got for the same purpose.

    Except the beautiful thing about the Apple ]['s were the learning one could get out of them. My Apple ][+ at least shipped with full schematics to the computer including all wiring and chip ID's. It was a fantastic opportunity for a then 11 year old back in 1981 or so, and some would argue that even modern adults can learn quite a bit from such an old architecture that is extensible enough to still function with much more modern technologies.

    The other thing to consider is that this machine (Apple ][+) was essentially designed from scratch by one person. Steve Wozniak. Thank you Steve.

    --
    Visit Jonesblog and say hello.
  11. Re:Why, you ask? by Endareth · · Score: 2, Informative

    I remember Apple IIes from grade school

    This article refers to the IIgs which is a completely different beastie. The IIgs was well ahead of it's time, and capable of supporting multiple hard drives, quite decent graphics, and a decent sound system. Used to play some really funky games on my friend's one :-). Think more Amiga than Apple for this one.

    --
    Disclaimer: The above comment was made while under the influence of too much coding and not enough sleep.
  12. GNO's Not Orca by jsanfroop · · Score: 4, Informative

    Well, what's this.. looks like someone has stumbled across some 7 year old webpages!

    One should note that the GNO/ME distribution does not include GS/TCP. Indeed try Marinetti if you want to play around with TCP/IP on your GS.

    GNO/ME stands for GNO's Not Orca.. named after the Orca shell in which you could use their compiler tools..

    Not really worth checking out, unless it brings back that special nostalgia if you're one of the few who actually used this software 10 years ago.

    I don't think I saw a link to www.gno.org so there it is, go grab your GNO! You can find download links if you like..

  13. Re:Please don't rely on Slashdot for this info by Endareth · · Score: 2, Informative

    However, instead of simply stopping sales of GNO and letting the software wander into oblivion, I am placing GNO into "freeware" status, and I am also making available all source code to the 2.0.4 version to the public and the development community.

    If I understand this correctly, the owner of the source code has fully released it to the community, thereby making this 100% freeware, no conditions. As this doesn't appear to be derived from any other flavour of *NIX, I don't think there's anything stopping anyone doing whatever they choose with it.

    --
    Disclaimer: The above comment was made while under the influence of too much coding and not enough sleep.
  14. Coolness! by Kaz+Riprock · · Score: 2, Funny


    Now I can setup that anonymous ftp server for my 1 pirated mp3 for people to download! When will someone port KaZaA for me?

    --
    Mordor...a magical, mythical land where women are more rare than dragons--but where every man would rather find a dragon
  15. GNO/ME is a BSD by usotsuki · · Score: 3, Informative

    From the
    FAQ:

    GNO contains components that originate with a variety of flavors of UNIX. These include 4.3BSD, XINU, and SYSV. It is mostly BSD. As of GNO v2.0.6, GNO has become closer to 4.4BSD. Work is in progress to make it as compliant as possible to POSIX 1003.1 and POSIX 1003.2.

    -uso.

    --
    Dreams, dreams, don't doubt dreams, dreaming children's dreaming dreams. Sailor Moon SS
  16. Apple IIGS Scene by feisar.de · · Score: 4, Interesting

    "In case you wanted to do something cool with your fancy little Apple IIgs in the back room"

    Well, in that case, I'd rather go to Ninjaforce, download some demos, sit back and enjoy!

    By the way, there is an IRC client, too.

  17. Re:Why, you ask? by usotsuki · · Score: 2, Informative

    Ah yes. Applesoft BASIC.

    More correctly, Apple's adaptation of Miro$oft BASIC-6502. Yeah. From 1977. No wonder it was teh suxor. But it was nice to cut my teeth on, although I would've killed for a C compiler back when I was using the ][...or the IIgs later...

    BTW the BASIC on the IIgs doesn't take any advantage of the 65816. *sigh*

    -uso.
    Want an Apple //e emulator? See my link above!

    --
    Dreams, dreams, don't doubt dreams, dreaming children's dreaming dreams. Sailor Moon SS
  18. I don't hack for profit, I hack for FUN by leereyno · · Score: 4, Insightful

    If someone were proposing that this continue to be developed as part of a commerical enterprise I'd tell them to take the needle out of their arm.

    The point of projects like this one is to have fun and learn skills that can be used for endeavors that have a more practical use.

    What better way to learn the ins and outs of a TCP/IP stack than to implement one? What better way to learn about an OS than to write one, even if it is on hardware thats somewhere between having a Bar Mitzvah and being old enough to vote?

    Lee

    --
    Muslim community leaders warn of backlash from tomorrow morning's terrorist attack.
  19. KEGS by metatruk · · Score: 5, Informative

    For all you kids at home with nothing to do and no Apple IIgs I recommend this fine emulator available at:
    http://kegs.sourceforge.net/

  20. Re:Why, you ask? by FyreFiend · · Score: 3, Interesting


    The IIgs was well ahead of it's time

    I could be way off but didn't the IIgs come out in '86 (or at least some time after the Mac)? I do know that it was slower then the Mac Plus which I thought was out at the same time and while the IIgs did have color the dispay was rather blocky. As for multiple hard drives, so could the Mac with it's built in SCSI (I know there were add on cards for the IIgs to handle SCSI as well but I don't think they came standard).

    --
    - Apple Computer......proudly going out of business for over twenty years.
  21. Great introduction to Computational Complexity... by appleLaserWriter · · Score: 4, Interesting

    My earliest programming memories were on Apple II systems writing looping code in Logo or BASIC. In college, I concentrated on theoretical computer science, possibly because the general limits of computational machinery were made obvious to me through those early years on the apple.

    Write some code in Visual Basic.NET and the first thing you notice is that you need a 4GB dual Xeon box just to boot the IDE! In a more efficient environment like VS6 or GCC+Emacs you have to write some complex code before you begin to notice performance limitations of the host machine.

    I suppose this is analogous to hopping up 1960's muscle cars versus today's ricecars. The muscle cars were simple enough that owners could make meaningful performance upgrades. Modern cars benefit somewhat from a new chip, but most owners just change the bodywork and add lots of wings.

    That having been said, I like my TiBook at least as much as I like my old Apple ][.

  22. What this brings to mind is.... by teamhasnoi · · Score: 3, Interesting
    Why isn't everything for the IIGS freeware? With the exception of schools that didn't get the trillions of dollars that Bush put into education, who's actually using a GS on a day to day basis?

    I *have* a GS, and I don't use it. I emulate one on my PB 5300 (another limping animal that should be put down ;) with Bernie to the Rescue.

    With the exception of the pain in the ass of making and managing floppy images (which is infinitely better than trying to nab them off a IIe) it works great. I'm glad that this software is free, but this just illustrates the BS of copyright laws. Unmaintained or un-updated software should lose copyright protection after 10 years AT MOST. This allows dumbasses like me to emulate, or actually *use* the hardware I own.

    Like I'm going to go out and buy Karateka any time soon (Don't try to hit the princess, she will smoke your ass like a looter in a riot!).

    Seriously, If the publishers need $$$ that bad, keep the trademarks (so someone can release Rescue Raiders II ((Rockstar Games??!)), and dump the software to freeware so assholes like me can play a classic, learn basic, explore and compare the limits of software and hardware of yesteryear and today, and so I can finally find out what I put on the back of those 5.25 floppies.

    Oh, and not have to try and explain why Gemstone Warrior was so frickin' creepy-scary, and why the Beagle Brothers kicked ass.

    Remember, all the software you use *right now* will still be copyrighted long after you're dead, Apple makes the G69 with OSeX (things will be looser that way, I'm sure) and Bill Gates will either be hooked up to a machine, or *be* a machine (let's hope it runs on Windows either way.

    Good example - Cinemaware. Releasing all their old ROMs and images. *FREE* Defender of the Crown anyone?
    Re-releasing the games for a new market: Phones, GBA, PDA etc.

    Do more of that, or so help me, I'll grab Locksmith 6.0, and Copy II+ 7 and 9 and I'll do it for you, you publish-whores! Put that on a bun and eat it!

    1. Re:What this brings to mind is.... by ncc74656 · · Score: 2, Interesting
      who's actually using a GS on a day to day basis?

      It's not on every day, but I used mine to write the software that controls my beer fridge (that software is currently running on a IIe with 1 meg of RAM and LocalTalk, but was written to run on something as minimal as a 64K II+). More recently, it's seeing use as a Morse-code trainer (decided to take another stab at that after reading this article). Could I do this with a more modern system (like the dual Athlon MP 2100+ parked next to it)? Yes. I already have some software for the IIGS that I downloaded & installed years ago, though, so it saves me the bother of searching for something newer.

      The Apple IIGS might well be 1986 technology...but it's good 1986 technology! Plenty of other machines have come and gone, but this machine's been parked on my desk since 1985 (it started as a IIe and was upgraded in 1993) and it isn't going anywhere any time soon.

      Oh, and not have to try and explain why Gemstone Warrior was so frickin' creepy-scary, and why the Beagle Brothers kicked ass.

      Beagle Bros kicked loose most of its stuff as freeware (as in beer) years ago. I think the TimeOut add-ons for AppleWorks and some other newer apps are the only ones that are still in abandonware limbo (and even a handful of those are free).

      --
      20 January 2017: the End of an Error.
  23. "Freeware" means nothing legally. Pick a license. by jbn-o · · Score: 4, Interesting
    If I understand this correctly, the owner of the source code has fully released it to the community, thereby making this 100% freeware, no conditions.

    Then the copyright holder should have said this software is in the public domain. That would have meaning (as would licensing under the remarkably liberal new BSD and MIT X11 licenses). The term "freeware" has no legal meaning and is not a license, therefore it cannot be considered free software or open source. The FSF warns against using the word freeware to mean "free software". As things are, it is unclear exactly what the copyright holder(s) were trying to convey which means the software should be regarded as non-free and therefore it would be wise to avoid the software. Here's hoping the copyright holder(s) pick a free software license.

  24. Interesting business plan by Imperator · · Score: 2, Funny

    Clearly, what these people are trying to do by developing for antiquaited hardware is drive the value up so they can sell theirs on eBay. But I'm on to their underwear-stealing ways!

    --

    Gates' Law: Every 18 months, the speed of software halves.
  25. Apple IIGS was ahead of its time by Senor+Wences · · Score: 3, Informative

    I recently picked up a IIGS ROM 3 because the computer was so ahead of its time (and so I could play again the games on my old 5.25 inch floppies from my ][+). I continue to be amazed by the IIGS and its operating System GS/OS version 6.0.1.

    To give you an example of how ahead of its time this computer was: I am actually netbooting the computer from a Mac Plus running AppleShare File Server 3.0. No disks needed: the IIGS starts up over the network and runs its operating system from the Mac's hard drive. It's certainly not the fastest, but it gives me a 500 MB hard drive for my IIGS.

    Information on setting up a netboot network for a IIGS ROM 3 can be found here:

    http://www.mandrake.demon.co.uk/Apple/ltalk/iigs _r b.html

    Truly geeky stuff.

    --
    End of Line
  26. Re:Eh? by Tackhead · · Score: 2, Funny
    > GNOME on an apple II? You must think we're fscking stupid or something. No way in hell.

    GNOME's Not GNO/ME. GNO/ME's Not GNOME. GNO/ME's Not Orca. GNOME's Not Orca either. GNOME's Not GNO/ME's not Orc*** STACK OVERFLOW ***

  27. Re:Bah humbug by Tackhead · · Score: 3, Interesting
    > Except the beautiful thing about the Apple ]['s were the learning one could get out of them. My Apple ][+ at least shipped with full schematics to the computer including all wiring and chip ID's. It was a fantastic opportunity for a then 11 year old back in 1981 or so,

    ...and best of all, a complete, FULLY COMMENTED DISASSEMBLY of the monitor ROM!

    Today, the same kid gets a EULA that forbids him to even make a hex dump :(