• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

GEMDOS on the Lisa can be built again!

guibrush

Member
Ok, I just tried your image.... And this is fantastic :)  All run fine, "GEMVDI" bring me the desktop, I can launch the "hello world" app and the sketch app. Trying to access the floppy issue a instant reboot. The rest looks promising. Maybe I will try later some Atari apps, who know, with luck some basic apps could run.

Thank you verry much for this work, this is awesome. 

Do I understand right that this setup was used by Atari and Digital people to write the GEM / TOS for the ST?

Here some pictures of my setup:

https://imgur.com/a/oH68z2D

 
Last edited by a moderator:

cheesestraws

Well-known member
Ok, I just tried your image.... And this is fantastic :)  All run fine, "GEMVDI" bring me the desktop, I can launch the "hello world" app and the sketch app.


Excellent news :) .  I know that First Word roughly runs, and some very early Atari software ought to.  If you play, I'd be fascinated to hear what you find out.

Trying to access the floppy issue a instant reboot


There is basically no error handling at all in this version of GEMDOS, and the filesystem handling is... fragile.  What discs are you using with this?  Transferring files via floppy is a right pain because the physical format of the floppies has to be GCR, but the filesystem has to be FAT12.  So you can't just use Atari or PC floppy discs.

An anonymous person (who I wish would turn up so I could thank them, I couldn't have got this working without them) built a tool to make floppy images in DiskCopy 4.2 format that you can copy onto floppies with an old mac, or use with something like the Floppy Emu.  It's here: http://www.alternative-system.com/en/revive-gemdos-for-lisa/ but note that in order to get different files onto the disc you actually have to edit main.c.  Trying to turn this into a more useful file transfer tool is something I wanted to do but failed to.

There are some extra utilities available for this version; the compiler suite, for example, and a port of kermit.  I haven't put those onto floppies or transferred them to my Lisa, so they're not on the card image I sent you, because dealing with floppies is a massive pain and I'm lazy.  They're available in the porting kit anyway - the rest of the kit can be downloaded from Ben Jemmett's website here: http://www.deltasoft.com/downloads-gemworld.htm

Do I understand right that this setup was used by Atari and Digital people to write the GEM / TOS for the ST?


The original Lisa port was part of a porting kit which was provided to companies that wanted to port GEM to their hardware.  It consisted of a build of GEMDOS and GEM for Lisa (binaries only), the source code to the hardware-specific bits of GEMDOS for the Lisa, the source code to the screen driver for the Lisa, and the necessary compiler and build system to build GEMDOS from these parts (plus various binary blobs).  So essentially, it was a 'port GEM to your 68k hardware, just add a Lisa' kit.

I don't know if that kit was exactly what Atari got to start their porting efforts, but it would have been pretty close to it.

Unfortunately, as I said, there were only binaries for most of GEMDOS in that kit; DR weren't about to give away all their source code with it.  And the source code for that precise version of GEMDOS seems to have been lost.  Also, its hard disc driver appears not to work, at least on my 2/10.  Perhaps it works on a 2/5 under certain conditions, but I don't know that anyone has ever demonstrated that it does work.  So I took a later version of GEMDOS, code for which has survived and is open source, compiled it against the hardware-specific bits from the porting kit, and added @stepleton's hard disc driver as a replacement for the original.  Also some utility functions had to be reconstructed on the basis of other versions of GEMDOS or the 68k port of CP/M.

So the precise setup you have there is probably as near as you can reasonably get to the setup that customers of DR would have received, but is not precisely it.  It's a composite of surviving code from the correct period and a little bit of modern code.

Hope this all makes sense!

 

guibrush

Member
Hi

I managed to make a workflow to write disk on a mac for the Lisa, here is my setup with Diskcopy 4.2 on the TAM:

https://imgur.com/STP9QFK 

but you are right: add files on the disk is a pain in the ass :)  

Now, I took a little time to answer to this thread, but there is a reason:

I showed your work to Vincent Rivière. Vincent is one of the maker and maintainer of EmuTOS, the free TOS replacement for the ATARI line based on GEM free sources. And Vincent wanted to try something cool. Pushed by the fact that I have a working setup for testing, he started that:

https://imgur.com/vzszN7C

:)

 

cheesestraws

Well-known member
but you are right: add files on the disk is a pain in the ass :)  
It is a bit :/ are you using that tool I linked to above, or have you found a more flexible way of doing it?

And Vincent wanted to try something cool


That is incredibly cool and something I've been wanting to see for ages.  I did post the "historical" GEMDOS to the EmuTOS mailing list when I first got it working, but mostly as a historical curiosity and I've been lurking ever since.  Does Vincent have any plans to make this more available?  I would love to have EmuTOS booting on the Lisa and I am sure I'm not alone...

 

guibrush

Member
no, I didn't find a more flexible way to transfert datas.

For EmuTOS, of course it will be available :)

For now, we have a booting desktop, Vincent have to improve the interupts and bring the media support to life, then we will have something usable for sure.

I come back to you when I know more. 

 

Tor

New member
... it would help if I actually attached the files, wouldn't it.

View attachment 27473

View attachment 27474
I tried to make a floppy from the attached file gemdos11-boot.dc. I get an error in Disk Copy 4.2 when opening the file: "Checksums don't match. Image file is probsbly corrupted". Strangely, it does not say what is the expected and found check sums (I've seen it do that with other images). I am running this in OS 7.0.1 on a Macintosh SE. Any idea how to fix?
 

cheesestraws

Well-known member
I get an error in Disk Copy 4.2 when opening the file: "Checksums don't match. Image file is probsbly corrupted". Strangely, it does not say what is the expected and found check sums (I've seen it do that with other images). I am running this in OS 7.0.1 on a Macintosh SE. Any idea how to fix?

It's been a while since I touched the code that generates those floppy images but I think it might just ... not set the checksum field. I vaguely remember there's a way to ignore the checksum error in either DC42 or DC6.3. Sorry, I realise this is not very specific - I'm away from my Macs at the moment. If you still can't get it to work, I'll poke it when I'm back in the vicinity of my hardware.
 

Phipli

Well-known member
It's been a while since I touched the code that generates those floppy images but I think it might just ... not set the checksum field. I vaguely remember there's a way to ignore the checksum error in either DC42 or DC6.3. Sorry, I realise this is not very specific - I'm away from my Macs at the moment. If you still can't get it to work, I'll poke it when I'm back in the vicinity of my hardware.
I tried to make a floppy from the attached file gemdos11-boot.dc. I get an error in Disk Copy 4.2 when opening the file: "Checksums don't match. Image file is probsbly corrupted". Strangely, it does not say what is the expected and found check sums (I've seen it do that with other images). I am running this in OS 7.0.1 on a Macintosh SE. Any idea how to fix?
In Disk Copy 6.* You just click "skip" when it starts checking the image I assume? I've not had the specific issue, but I think doing that skips the checksum.
 

Tor

New member
In Disk Copy 6.* You just click "skip" when it starts checking the image I assume? I've not had the specific issue, but I think doing that skips the checksum.
I tried gemdos11-boot.dc in DiskCopy 6.3.3. It coplained, too, that the check sum is invalid and refused me, even thoug in "preferences" the "checksum verification" is not set. It told me the ckecksum it expects.
So I went back to my ubuntu box and hexedited the image file so that DiskCopy would not complain. DiskCopy did not complain, created the floppy, but it does not boot on my Lisa. So something is wrog with this image file...

I just wanted to kick the tires of GemDos on my Lisa, you know. Nothing urgent or important.
 
Top