Live data from Hacker News

What happened to GEM?

dfarq.homeip.net

21–30 of 85 posts

Re: What happened to GEM?

#21
post #13
post #2

> But the bigger problem was software piracy. Piracy was common on the ST, and that made developers less enthusiastic to continue ST development Not so sure about this. The Atari/GEM combination was very popular with musicians for MIDI, and I don't think there was so much piracy, or at least not compared with other platforms of the time. The reasons I didn't develop anything much for Gem - a) It was quite difficult b…

Dongles were a thing, certainly the expensive MIDI programs used them. Cubase, Steinberg and C-LAB Creator were the big ones. As I recall, there were tons of books about GEM for the Atari ST, at least in Europe.

> As I recall, there were tons of books about GEM for the Atari ST, at least in Europe.

Yes, there were, but compared with the Windows textbooks and Microsoft-supplied documentation for Windows, they were really not good. In the UK, they were translated (not well) from German. At least all the ones I owned were almost completely lacking in examples, and examples are really what you want when learning to use something.

Re: What happened to GEM?

#22
> One could argue DRI bowed out too soon. Then again, it’s questionable whether it would have won against Windows anyway. Microsoft was the larger company and had OEM agreements with all of the major PC makers.

Well, it is also that Windows even at version 1.0 was much more capable than GEM. Better documentation, better tools, better API and better functionality.

GEM was really just a shell over DOS and applications were actually DOS programs that called a special interrupt handler to make API calls. While this allowed any language that could make EXE files and call interrupts to be used to make GEM apps, it also meant that GEM inherited all the limitations from DOS, like the inability to run multiple applications at the same time (DR did eventually make GEM/XM that allowed switching between applications but it was still only one application active at any given time). Windows meanwhile not only could run multiple applications, but it also had a software-based virtual memory system that allowed applications to swap in/out both data and code to fit in the available memory (this required custom compiler support so, unlike GEM, you couldn't use any old compiler but on the other hand it you could make more complex applications).

The GEM API was also very barebones, you could create windows but all you could do with them was to draw inside. Dialog boxes were a completely separate thing that could take a tree of "objects" to draw inside them but even then the functionality was limited (the object types are hardcoded and while there is a "custom" type, all it does is provide a callback for drawing). You could work around some of the functionality by implementing some of it yourself - for example there is a call to draw an object tree (object trees are actually a flat array of fixed size structures where the first three fields define 16bit indices inside the tree for each object - this probably saved some bytes of memory at the cost of flexibility loss and TBH the extra bytes added for the code to work with the tree probably ate back those saved bytes, if not made things worse) so i think (never tried it) you could draw buttons, etc in a window when you receive the WM_REDRAW message but there is no event message propagation.

Meanwhile on Windows everything is a "window" in a window tree with a consistent approach to how things are handled. On GEM everything is a special case.

I get the impression that the GEM developers basically had some idea of what their desktop would look like and implement the functionality to do just that and nothing else with little room for flexibility or later expandability.

EDIT: also the graphics functionality was very limited, e.g. with hardcoded colors. Here are some GEM API docs in case anyone is interested:

https://www.seasip.info/Gem/vdi.html (low level API, draw graphics, input devices, etc)

https://www.seasip.info/Gem/aes.html (relatively high level API, make windows, define dialogs, messages, etc)

https://www.seasip.info/Gem/aestruct.html (some structures)

https://www.seasip.info/Gem/aesmsg.html (event message types)

Re: What happened to GEM?

#23
post #16

I've been on a bit of a rabbit hole with Digital Research in the last few days, specifically because I am utterly fascinated with Concurrent DOS. I played with Concurrent DOS (and later MultiUser DOS) in PCem and I was utterly amazed. I hadn't realized that there was a preemptive multitasking operating system available to consumers as early as the mid 80's outside of AmigaOS. I read the Wikipedia and I kind of unders…

A lot of folks never used it, but MS DOS 5.0 came with DOSSHELL which actually had support for task switching - not quite concurrency, but it worked on a 286.

From what I've learned since, when you switched away from a program using Ctrl + Esc, DOSSHELL suspended it and dumped its conventional memory to a swap file on disk.

Used this to great effect so I could swap back and forth between QBASIC and other utilities.

https://en.wikipedia.org/wiki/DOS_Shell

Re: What happened to GEM?

#24
post #2

> But the bigger problem was software piracy. Piracy was common on the ST, and that made developers less enthusiastic to continue ST development Not so sure about this. The Atari/GEM combination was very popular with musicians for MIDI, and I don't think there was so much piracy, or at least not compared with other platforms of the time. The reasons I didn't develop anything much for Gem - a) It was quite difficult b…

GEM was in TOS on the later Atari ST models. TOS was named after Jack Tramiel, Tramiel Operating System.

Not Jack, his son, Sam.

Re: What happened to GEM?

#25
post #16

I've been on a bit of a rabbit hole with Digital Research in the last few days, specifically because I am utterly fascinated with Concurrent DOS. I played with Concurrent DOS (and later MultiUser DOS) in PCem and I was utterly amazed. I hadn't realized that there was a preemptive multitasking operating system available to consumers as early as the mid 80's outside of AmigaOS. I read the Wikipedia and I kind of unders…

A lot of folks never used it, but MS DOS 5.0 came with DOSSHELL which actually had support for task switching - not quite concurrency, but it worked on a 286. From what I've learned since, when you switched away from a program using Ctrl + Esc, DOSSHELL suspended it and dumped its conventional memory to a swap file on disk. Used this to great effect so I could swap back and forth between QBASIC and other utilities. h…

Yeah I saw that when going down my rabbit hole. Definitely a cool and useful thing for what it is.

I just think that Concurrent DOS is cool because it is proper multitasking; proper time slicing and everything! And you could have multiple users logging into the same computer with terminals, à la Unix, all in the mid 80s!

I have been trying to track down whoever the hell owns the license to Concurrent/Multiuser DOS to try and make a case for them to release the source code, but I have had a heck of a time getting ahold of anyone that might be able to point me in the right direction. I suspect the rights for it now reside with OpenText or something and they don’t even realize it.

Re: What happened to GEM?

#26
post #15

Earlier quoted context omitted.

I think WP was just too late to the party honestly by the time they got around to actually seriously considering/doing what they said they would do, there were already established good word processors on the ST. WP did eventually come to the ST and if I recall it was panned as a horrible port. I think there was talk of MS Word, too, and also a flop? Mine came with 1st Word Plus, and it was excellent for the time.

>I think WP was just too late to the party honestly Nothing with the power of WordPerfect. Hundreds of word processors were developed for DOS. Hundreds. Word, WordStar, and MultiMate, all developed by very large companies, were only the best known. WordPerfect beat them all . Feel free to claim that the ST or Amiga word processor developed by two guys somewhere in the UK has more features c. 1989.

> WordPerfect beat them all.

It was certainly popular, but I hated all the function keys (I still hate function keys) and my favourite was WordStar (not for Windows), for both word processing and as a programming editor, up until I switched to Word and Windows vi clones.

I remember the CP/M version of WordStar gave you a patching tool that allowed you to insert screen and keyboard handlers in machine code, for your specific hardware (to speed things up), into the WS code. I can still remember how clever I thought I was when I got this to work!

Re: What happened to GEM?

#27

> One could argue DRI bowed out too soon. Then again, it’s questionable whether it would have won against Windows anyway. Microsoft was the larger company and had OEM agreements with all of the major PC makers. Well, it is also that Windows even at version 1.0 was much more capable than GEM. Better documentation, better tools, better API and better functionality. GEM was really just a shell over DOS and applications…

Atari ST user here. AES is as you say rather bare bones. In some ways it's more analogous to X windows "Xt" X intrinsics than it is to any "widget" toolkit -- in that it gives you the facilities for constructing trees of drawn objects, registering applications, communicating between applications, receiving events, opening windows, redrawing windows, etc. but for actual active widgets ... only provides premade alerts, dialogs, windows, menubars, and a file selector. But in fact those pieces are made from object trees like you say. So, yes, with your own event handling you absolutely could write your own widgets directly into the window by drawing an object tree, and more savy developers did that.

I suspect there was maybe an intent to eventually build something higher level above it, still. Just that never happened, or was never standardized. There are in fact some C-level libraries for the Atari ST that do, but they're more recent inventions.

It's not a bad architecture, just incomplete. It wasn't aiming for -- nor would they have had the budget to make -- the same space as MS Windows in that it wasn't a full and complete environment in that way. Even on the Atari ST where they controlled the whole stack instead of being hoisted over MS-DOS.

Re: What happened to GEM?

#28
post #10

Apple sued DRI, which resulted in the crippling of GEM, the glaring one I remember were static windows. You heard that right, windows were not resizable but had fixed screen locations in the PC version. Thankfully Atari licensed GEM for their 68000 machines before the lawsuit, and wasn't affected by these changes. The Atari ST (Sixteen/Thirtytwo) was very Mac like at the time. It even ran the Mac OS from Apple ROMs (…

How much was an Atari plus Spectre/Aladin?

Re: What happened to GEM?

#29
post #13

Earlier quoted context omitted.

Dongles were a thing, certainly the expensive MIDI programs used them. Cubase, Steinberg and C-LAB Creator were the big ones. As I recall, there were tons of books about GEM for the Atari ST, at least in Europe.

Man I spent hours and hours just last month trying to reverse engineer the original Notator/Creator dongle and get Notator to launch in emulation by patching Hatari to emulate the dongle. Codex & Gemini & I had something almost working. That dongle was evil and crazy complex. Fairly complex CPLD that depended on system timing and in the end the emulator just can't fulfill whatever contract the software expects from t…

The dongle has already been reverse engineered in the last couple of years and replicas are for sale.

Re: What happened to GEM?

#30
post #15

Earlier quoted context omitted.

I think WP was just too late to the party honestly by the time they got around to actually seriously considering/doing what they said they would do, there were already established good word processors on the ST. WP did eventually come to the ST and if I recall it was panned as a horrible port. I think there was talk of MS Word, too, and also a flop? Mine came with 1st Word Plus, and it was excellent for the time.

>I think WP was just too late to the party honestly Nothing with the power of WordPerfect. Hundreds of word processors were developed for DOS. Hundreds. Word, WordStar, and MultiMate, all developed by very large companies, were only the best known. WordPerfect beat them all . Feel free to claim that the ST or Amiga word processor developed by two guys somewhere in the UK has more features c. 1989.

My favourite was Protext (Arnor) which was an old school mostly keyboard-centric word processor, rather than anything like DTP. Crazy powerful. It was originally Amstrad CPC, but later released on Atari ST, MS-DOS, Amiga, Archimedes and even more bespoke hardware like the Amstrad NC.
Post reply on HN