News for hackers. Stuff that matters.
Re:Turning the Apple //e into a lisp machine, part 1 by analog31 on Monday August 12, 2013 @01:28PM (#6200453)
I suspect that their experience with the //e influenced the decision to make the Mac a closed box. Like you, I found the PC to be a much more comfortable transition.

Because the Apple ][ was a locked design, folks started poking directly into ROM and RAM locations, for instance directly manipulating system variables, or even jumping into the middle of ROM subroutines. A book called "What's Where in the Apple II" documented almost every known hook.

My mom had that book. She's my hacker role model.

As a result of the way that software interacted, it became virtually impossible for Apple to update the ROMs without breaking popular apps.

The next generation of personal computers all represented different approaches to avoiding this problem by providing well documented entry points while offering no guarantee of long term code stability. IBM made one mistake: They let people hard code the address of video RAM, which is what led to the legendary 640k barrier.

Re:Turning the Apple //e into a lisp machine, part 1 by antitrust on Monday August 12, 2013 @05:34PM (#6202188)
I wish they'd taken a middle path.

Having BASIC (or another language) built into the machine was a big plus and encouraged people to see continuity between the OS, the hardware and the code.

If that BASIC had to use built-in functions and data-types instead of simply POKE-ing and PEEKING-ing as a de facto interface with the underlying machine code, that would still have been hacker-friendly without being inflexible.

It was such a weird relationship between desktop machines and UNIXes back then. It's like the desktop designers had to re-learn the lessons of UNIX in the small. So much was forgotten.

Re:Turning the Apple //e into a lisp machine, part 1 by analog31 on Monday August 12, 2013 @08:21PM (#6203214)
I agree. In my view, the "walled garden" of iOS is just the next step in what Apple had already intended to establish for the original Mac. To be charitable, I can imagine it being based on the idea of protecting the user from Bad Software.

But lots of us wanted to write Bad Software such as little programs for our own use, or for limited, specialized use by other people. I found the Mac programming docs (Inside Mac) to be impenetrable, and the overhead for writing Hello World enormous.

Then I fell in love with HyperCard. But we all know what happened to that.

Re:Turning the Apple //e into a lisp machine, part 1 by antitrust on Tuesday August 13, 2013 @09:19AM (#6205490)
> In my view, the "walled garden" of iOS is just the next step in what Apple had already intended to establish for the original Mac.

I imagine this is a quandary that shows up not in computing, but anywhere that users interact with a single source of definitive rules.

For example, it might be easier for government to erect certain walled gardens... or for companies to do this with their employees, parents with their kids, etc.

It's not that I don't understand their position or view it as probably the best way to herd cats (I mean, "consumers").

But hacker-friendliness is what gets you the top echelon of users drifting toward your hardware and software. As a result, it's a huge (but invisible) business draw.

Re:Turning the Apple //e into a lisp machine, part 1 by msvan on Monday August 12, 2013 @03:04PM (#6201006)
Your mom was a hacker? I'm jealous.
Re:Turning the Apple //e into a lisp machine, part 1 by analog31 on Monday August 12, 2013 @08:45PM (#6203305)
My mom was a high school teacher in a small rural district with a Ford plant. In the early 80's, she took a couple of programming classes as a hedge against possible layoff, and ended up starting a class at her school. She paid for the computers out of her own pocket, and class met before the regular school day.

It should be noted that during this time period, outside of a few affluent districts, virtually all teaching of programming at the K-12 level was done on an ad hoc basis by teachers who volunteered their time and money.

Edit: Not "was" a hacker but "is" a hacker. ;-)

Re:Turning the Apple //e into a lisp machine, part 1 by antics on Monday August 12, 2013 @01:38PM (#6200503)
Is this sort of anti-hack mentality one of the reasons why, in some versions of ProDOS, there was a conscious decision to omit the assembler, and to encourage programmers to use BASIC? (Our version, in this article, for example, had no assembler; only BASIC and the monitor program.)
Re:Turning the Apple //e into a lisp machine, part 1 by lscharen on Monday August 12, 2013 @02:07PM (#6200660)
There is always the mini-assembler assuming you have the enhanced ROM //e.

] CALL-151

* !

! 300: LDA 1000

http://support.apple.com/kb/TA39083?viewlocale=en_US

Re:Turning the Apple //e into a lisp machine, part 1 by colanderman on Tuesday August 13, 2013 @10:28AM (#6205904)
When I was young, I learned to program assembly via machine code on an enhanced //e, with no references. I figured out the instruction set by making a program with all possible opcodes and dumping it out, and would write code by inputting the hex directly after assembling it by hand.

The day I discovered the mini-assembler was absolutely mind-blowing.

Re:Turning the Apple //e into a lisp machine, part 1 by antics on Monday August 12, 2013 @02:10PM (#6200686)
I don't have the Apple //e in front of me, but I remember this not being present on our version of ProDOS.
Re:Turning the Apple //e into a lisp machine, part 1 by peteri on Tuesday August 13, 2013 @04:53AM (#6204676)
The mini assembler was in the integer basic ROMS. Prodos didn't support integer basic (hence no mini assembler) but the later enhanced //e roms also had the mini assembler.

I have very fond memories of the Apple //e (and I have some with broken PSUs that I must get around to fixing) I bootstrapped my own assembler on DOS3.3 using the mini-assembler.

On Prodos I bought the full development kit which came with an assembler and a nice debugger. Wrote a Forth for the Apple with help from Loeligers Threaded Interpretive Languages and a copy of Starting Forth by Leo Brodie (both borrowed from the library) good times...

Re:Turning the Apple //e into a lisp machine, part 1 by guessedaccess on Monday August 12, 2013 @05:10PM (#6201979)
The mini assembler was built into the ROM of all enhanced //e's
Re:Turning the Apple //e into a lisp machine, part 1 by nwp90 on Monday August 12, 2013 @05:53PM (#6202340)
Mini-assembler was in all II, II+ and //e. II had Integer Basic, II+ and //e had Applesoft. Can't remember which ones had SWEET16 though. May also be "all of them".

If all you want is LISP, burn it into an EPROM and replace the stock one.

Re:Turning the Apple //e into a lisp machine, part 1 by rbanffy on Monday August 12, 2013 @10:51PM (#6203735)
It was absent from the II+ due to the larger Applesoft BASIC interpreter. If you had a "Language Card" (a 16K expansion that brought the machine to 64K) you could load Integer BASIC on the card and use the assembler.
Re:Turning the Apple //e into a lisp machine, part 1 by zwieback on Monday August 12, 2013 @06:29PM (#6202605)
I think Sweet 16 was with Integer Basic. My II+ didn't have it but I could get it by loading Integer Basic into the language card.
Re:Turning the Apple //e into a lisp machine, part 1 by rumbler on Monday August 12, 2013 @07:18PM (#6202879)
Also in the original II and II Plus. On those older models, I think you need to type "F666G" at the monitor prompt to get to the mini-assembler. The "!" command was implemented in the enhanced IIe ROM.
Re:Turning the Apple //e into a lisp machine, part 1 by nwp90 on Monday August 12, 2013 @11:13PM (#6203811)
Sounds familiar; I used to use it on our II+, so I was rather bemused by all these people telling me they (II+) didn't have it.

I don't have access to my Apples at the moment, so can't check the details, but I'm now curious to know exactly what might have changed between various II+ - what did others gain that we were missing, or why did we have room for it when they didn't...