News for hackers. Stuff that matters.
Re:LisaOS to be open-sourced and donated to Computer History... by dreamcompiler on Sunday December 24, 2017 @05:21PM (#16001614)
In the earliest days of the Mac (1984) you had to have a Lisa to develop for the Mac, because that was the machine the Pascal compiler ran on. I bought a Lisa and a Mac for this reason. It'll be fun to see the source code.
Re:LisaOS to be open-sourced and donated to Computer History... by tzs on Sunday December 24, 2017 @09:22PM (#16002291)
A friend of mine started a company in 1983 to develop Mac software. They didn't want to go the Lisa route for a couple of reasons. First, they wanted to write in C, not Pascal. Second, they wanted several developers working simultaneously and could not afford to get a Lisa for each.

They knew that MacFORTH was going to be available pretty much concurrently with the release of the Mac. They knew they could use that to write programs on the Mac to explore and reverse engineer things.

They bought a Callan Data Systems Unistar 200 Unix workstation [1], which was a 68k based all-in-one non-graphical Unix workstation. They also got a bunch of serial terminals (ADM3a's, if I recall correctly) and hooked them up to the Callan, and gave each developer a Unix account on the workstation so that several developers could be working at once.

The idea was to write in C on the Callan, use its compiler and assembler, and then somehow turn that object code into code that would run on the Mac.

They had the Callan connected to the Mac over a serial port, and a program in MacFORTH that would accept object code from the Callan and invoke it. With this setup, their developers could start working on parts of the product, with test harnesses in MacFORTH to let them test on the Mac.

My memory is getting fuzzy, but I think somewhere in there they wrote a Mac linker on the Callan that could generate Mac executable files, which they could send to MacFORTH on the Mac and have it write them to floppy.

[1] I was a systems programmer at Callan, and was able to get my friend a nice discount. I think it came to $5000 for a nicely configured workstation.

Re:LisaOS to be open-sourced and donated to Computer History... by dreamcompiler on Sunday December 24, 2017 @11:14PM (#16002608)
I used Mach II Forth as well as Pascal. Mach II was a great resident compiler on the Mac and it was a joy to use. IIRC, MacForth was interpreted but in any case yes, several other languages were resident on the Mac before the "official" Apple Pascal was available.
Re:LisaOS to be open-sourced and donated to Computer History... by cmrdporcupine on Sunday December 24, 2017 @08:13PM (#16002136)
Funny enough the Lisa ended up being used to develop a competitor's OS as well... Digital Research used the Lisa to develop its initial versions of GEM (the GUI that ended up on the Atari ST and on some MS-DOS systems and was the underpinning behind the Ventura Publisher DTP system) and GEMDOS and I believe also CPM 68/K.

As the sources for GEM were open sourced years ago, so was the build environment and images for getting it running on the Lisa. I wasn't able to get them to boot on any of the Lisa emulators out there though.

Re:LisaOS to be open-sourced and donated to Computer History... by dukeflukem on Monday December 25, 2017 @12:54AM (#16002897)
GEM on Amstrad 1512 takes me back
Re:LisaOS to be open-sourced and donated to Computer History... by beamatronic on Sunday December 24, 2017 @05:28PM (#16001644)
Wasn't that enormously expensive? Was it purely for fun or did you recoup your investment?
Re:LisaOS to be open-sourced and donated to Computer History... by armadsen on Sunday December 24, 2017 @05:31PM (#16001655)
It sure was. The Lisa originally sold for $10,000 in 1983. The price dropped to about $5k (IIRC) for the Lisa 2 which came out the same day as the original Mac, but that was still very expensive.

128K Mac ($2500) + Lisa 2 ($5000) = $7500 in 1983 (~$18,600 in 2017 dollars).

Re:LisaOS to be open-sourced and donated to Computer History... by adventured on Sunday December 24, 2017 @09:05PM (#16002254)
To put that into perspective, in the early 1980s the average new car was around $7,000 to $8,000 and the median new home price was ~$75,000 in 1983. It'd be like a personal computer costing $30,000+ today, in relation to those other major purchase items.
Re:LisaOS to be open-sourced and donated to Computer History... by dreamcompiler on Sunday December 24, 2017 @11:34PM (#16002664)
True. But the first time I saw a Mac in person, I knew it was going to change the world and I had to develop for it. I spent all my savings on a Lisa and a Mac. It's hard to describe today just how radically impressive that first Mac was.
Re:LisaOS to be open-sourced and donated to Computer History... by GeekyBear on Monday December 25, 2017 @12:46AM (#16002872)
Jeff Han's 2006 Ted Talk featuring a multitouch demo was the only other time I've seen a user interface demo and instantly knew a UI paradigm was going to be a very big deal.

https://www.youtube.com/watch?v=ac0E6deG4AU

Re:LisaOS to be open-sourced and donated to Computer History... by GeekyBear on Sunday December 24, 2017 @11:03PM (#16002579)
In comparison, the Xerox Star was a mere $16,500, which would be a bit more than $40,000 today.
Re:LisaOS to be open-sourced and donated to Computer History... by flyGuyOnTheSly on Monday December 25, 2017 @12:42AM (#16002858)
Jesus, that's as much as I paid for my brand new car recently...
Re:LisaOS to be open-sourced and donated to Computer History... by dreamcompiler on Sunday December 24, 2017 @11:29PM (#16002648)
Yes! But I was a student at UT Austin, which had a special student purchase agreement with Apple. Steve Jobs even came to campus and gave us a pep talk about it. So I got my whole setup for something like half price.
Re:LisaOS to be open-sourced and donated to Computer History... by userbinator on Sunday December 24, 2017 @08:08PM (#16002125)
In the earliest days of the Mac (1984) you had to have a Lisa to develop for the Mac

Looks like the concepts of strictly separating users and developers, as well as paying extra to develop for the platform, have been with Apple for a very long time. From what I've read, even developing for and on the Lisa itself was a huge hassle.

The other concept which Apple might've pioneered with the Lisa is forced obolescence --- the software as well as the custom RTC chip were designed to not handle dates beyond 1995, less than 15 years after it was released: https://images.techhive.com/images/article/2013/01/lisa_cloc...

(In contrast, while the original IBM PC didn't have an RTC, DOS was able to handle dates up to 2235. Plus, for better or worse, users and developers were considered simply different extremes of the same demographic for much of the PCs early history --- computer magazines would print Asm listings or hexdumps to be entered in DEBUG, essentially letting users gradually become developers too.)

I certainly agree the Apple Lisa was "ahead of its time"... but not in a good way.

Re:LisaOS to be open-sourced and donated to Computer History... by dreamcompiler on Sunday December 24, 2017 @11:23PM (#16002628)
I didn't know about the RTC issue, but the separation of users from developers was strictly because of hardware limitations. The Lisa cost $10k and came from a separate division of Apple from the Mac, which sold for [around] $2500 and only had 128k of RAM and no hard drive. They were completely different target markets. Nobody at Apple at that time knew how to make a Pascal compiler run in the limited environment of the Mac. (But as mentioned above, the Forth vendors had no problem doing it.)
Re:LisaOS to be open-sourced and donated to Computer History... by Someone on Monday December 25, 2017 @05:28AM (#16003567)
Does anybody know how to make a Pascal compiler run on such a system? The executable for Turbo Pascal for x86 was 39kB and likely needed more to run on a character-based screen.

After subtracting video memory and sound buffers (combined about 22kB) and what the OS used, that 128kB Mac had, IIRC, about 28kB available for applications to use.

Re:LisaOS to be open-sourced and donated to Computer History... by pjmlp on Monday December 25, 2017 @07:47AM (#16003925)
I think the biggest issue was probably the IDE support and the Object Pascal features, given the existence of Pascal compilers on 8 bit OSes.

I owned a few ones for ZX Spectrum, but they were basically standard Pascal + Z80 low level extensions.

And plain single pass compiler with zero optimizations.

Re:LisaOS to be open-sourced and donated to Computer History... by Someone on Monday December 25, 2017 @05:45AM (#16003616)
Reading https://archive.org/details/bitsavers_applelisahManualSep82_..., that clock runs on a custom CPU that also handles the keyboard, the mouse and software power off.

”The keyboard/mouse control is performed by a dedicated slave processor, known as a COPS. It provides communication with four peripheral devices via the A port of the keyboard 6522 VIA port controller.

[…]

The COPS receives power from the backup supply. This voltage is available at all times, whether the system is powered down or even unplugged. The only time the COPS will cease functioning is if the battery is allowed to run down by having the system unplugged over a long period.”

Given that and the time, it doesn’t surprise me they weren’t over-provisioning bits for that clock.

Re:LisaOS to be open-sourced and donated to Computer History... by ancarda on Sunday December 24, 2017 @09:18PM (#16002280)
>the software as well as the custom RTC chip were designed to not handle dates beyond 1995, less than 15 years after it was released

Why did they do that? Did they have an explanation that doesn’t just boil down to “we wanted customers to keep upgrading”?

Re:LisaOS to be open-sourced and donated to Computer History... by kalleboo on Sunday December 24, 2017 @09:43PM (#16002353)
The year was stored as a 4-bit integer

> we wanted customers to keep upgrading

After 15 years? Who was going to be seriously using a 5 MHz Lisa in 1995 (yes you can spare me the "this broke school district is still using an Amiga to run their HVAC!" stories)

Re:LisaOS to be open-sourced and donated to Computer History... by userbinator on Sunday December 24, 2017 @10:04PM (#16002414)
The C64 was introduced in 1982, discontinued in 1994, and remained in widespread use for several years after that.
Re:LisaOS to be open-sourced and donated to Computer History... by colejohnson66 on Sunday December 24, 2017 @09:44PM (#16002357)
If it means anything: 2^29 seconds is 17 years almost exactly
Re:LisaOS to be open-sourced and donated to Computer History... by yuhong on Sunday December 24, 2017 @08:28PM (#16002190)
Of course, part of the reason is the only 128K of RAM. It was only one year later that 64K and 256K DRAM prices fall fast, leading to US makers leaving the market and dumping charges.