This page explains the main design decisions behind Cosmo2ex and the reasons for them.

Cosmo2ex – why the silly name?

  • people had complaints about my previous devices joke names referencing devil (IDEvil) or satan (SatanDisk, UltraSatan), which were also related to me being a part in Atari demo groups Satantronic (which was nothing related to religion, just another joke name)
  • at the time of working on the device I was watching Neil deGrasse Tyson’s ‘Cosmos: A Spacetime Odyssey‘ (2014) and also Carl Sagan’s ‘Cosmos: A Personal Voyage‘ (1980)
  • I wanted to combine something funny, smart and sciency in the name, thus I decided to move away from satan and move towards something else – CosmosEx
  • the later communications and outrage of some religious people proved that joke name including sex in it was no better choice πŸ˜€
  • besides, SpaceX was already taken by Elon (and it also shows that all weirdos think alike – yeah, he also thought he was being smart and funny πŸ˜‰ )
  • years later, the number 2 was put inside of the name due to lack of any better name options that would show that this is the continuation of the original CosmosEx, and thus we got to Cosmo2ex

3 separate device versions – ACSI HDD, SCSI HDD, floppy

The 1st generation of CosmosEx device was all-in-one device – the linux host that does the heavy lifting (usb, networking, updates), and also all the supported Atari peripherals in a single device. That required more complicated pcb and schematics, and for some people having the other parts (like SCSI or floppy) wasn’t even interesting or needed (they didn’t use it).

This 2nd generation of CosmosEx is split into multiple parts. The hardware that attaches to Atari computer no longer contains the linux / Raspberry Pi part to keep the cost down, it’s communicating through local network, it’s based on Raspberry Pico, the pins are limited. I couldn’t easily fit hard-drive emulation and floppy emulation into single device, so I’ve split those apart. Many users don’t care about floppy emulation, so this part is fine with them. The 1st generation needed to put all the emulated devices together, because they were bundled with Raspberry Pi together, so to keep the cost down putting it all together was a logical choice that helped with the cost. Now that the linux (Raspberry Pi) part is separate from the device, the individual devices are much simpler and cheaper, so it’s okay to have them separately.

Yeah, but why getting rid of Raspberry Pi in the device?

  • availability – during the covid there was shortage of Raspberry Pi devices, CosmosEx devices couldn’t be made
  • price – the shortage during covid and during AI hype has driven the prices of the Raspberry Pi up significantly. The first Raspberry Pi was marketed as a $25 Linux computer; current models cost several times that, which no longer fits a low-cost add-on device.
  • too many models – with all the RPi 1 – 5 variants, making it work and testing it on all of them is increasingly complicated. Each introduced model had some issues with UARTs, SPI speed, enabled bluetooth that blocked / broke something.
  • too many linux distro versions – the 1st version of CE device had custom Yocto distro, later versions had Raspbian, then Raspberry Pi OS. There are differences between them, supporting all of them is more than a one-person hobby project can realistically maintain. Some people have the oldest linux distro, some had newer, and with introduction of new RPi model a need for new linux distro support was needed.
  • hard(er) to debug when it fails to start – SD card corruptions happen from time to time, the linux stops booting, you have to take apart the ST and / or CE device, connect hdmi and usb keyboard, maybe replace SD card. This makes troubleshooting slow and difficult for users.
  • RPi is a component that I don’t want to sell – if I wanted to sell a working device, it had to have RPi with SD card inside. That means that I had to buy a batch of 50 euro devices, on which I didn’t want to put profit margin on (I’m not trying to make profit by selling other devices), so I was buying those and selling those without profit. This was not sustainable. Adding a margin would not be fair either, since the same board is available cheaper elsewhere. Also, if the RPi itself would go bad (broken), then I’m responsible for testing it, returning it to the original seller, etc.
  • device lock-in – with CE device being solely based on RPi, one could never easily switch to some other linux machine, NAS or whatever you wanted this to run on. And some of you already have some other local server running at home, so why have additional one for each CE device?
  • stuck using SD card – with RPi inside CE, you got only place for SD card. Those are slow, they get corrupted, and you shouldn’t use them for storing Atari data. With a standalone linux machine (even if it’s Raspberry Pi again), you can have SSD drive connected, that is fast, reliable, so you can store all your Atari data on that SSD drive.
  • one linux machine is enough – with the 1st generation of CE, if you have 3 CE devices, you end up maintaining 3 separate linux machines, each with its own storage. With single server for all your devices you got all your data there, and you need to care only about one instead of multiple.

Each device type also has IKBD interface (so it’s ACSI+IKBD, SCSI+IKBD, floppy+IKBD)

There were enough pins for IKBD wiring, but not enough to squeeze all the peripherals there without additional microcontroller. And having single microcontroller in the device instead of multiple is part of the simplification.

Separate devices means that they are cheaper, simpler, there is no switching between ACSI and SCSI mode

Now that you will have a single linux machine on the network (e.g. pimped up RPi), the device itself contains minimal electronics for what it needs to do. The switching between ACSI and SCSI on 1st generation of CE device needed reflashing of the chips, it sometimes failed, ended up in bricked device, and it was confusing for some users. That’s gone now – your device is either ACSI or SCSI, no need to switch, but it’s cheap so you can get both versions if you need both, for less than one device that had it all, so you will be actually saving money here.

Open design, non-commercial license – I will not be making and selling the HW

Producing and selling devices took up all of my free time, and the income did not justify it. Cosmo2ex is therefore a hobby project. I work on it in periods when I have time and interest, which means development can pause for longer stretches.

You can build the device for yourself, you can build it for your friends. Please note that I am not able to provide individual support. The documentation on this site (and the GitHub repository) is the best place to look for answers.

You could build a batch of devices and sell it to end customers, but you would need my written permission, agree to do all the customer support and also pay commission from sold devices. Please contact me if you are interested in commercial production.

The linux part running in docker or directly installed on linux machine.

The build can run in docker or directly installed on the linux from tarballs, this can be a Raspberry Pi, intel based machine, or anything similar. The only connection between the linux part and the actual CE device is via the network, which serves as an abstraction – this is why it can run on more devices than just Raspberry Pi.

The linux part is also simpler now

Due to the change in architecture, and to keep the project maintainable, the linux part is simplified, meaning some features that were rarely used have been removed. Some of them wouldn’t even work from docker container.

  • no network configuration tool – different linux distros have different ways of setting up networking (wired or wireless, dynamic or static IP). Network setup is left to the operating system; please use the tools your distribution recommends.
  • no USB automounting tool – some linux distros have automount already enabled, use it. On others, drives need to be mounted manually or with your distribution’s own tools.
  • no shared folders mounting tool – different linux distros require different permissions, flags, parameters, and also different remote hosts (e.g. Win7 vs WinXP vs Win10) need different flags, encryptions, etc. Mounting network shares is therefore left to the user. Any folder mounted on the Linux machine can be used by Cosmo2ex.
  • no floppy image downloading inside the Cosmo2ex – download the images before you want to use them – e.g. using this downloader, then just use them. Or maybe you already have own library of favorite games, or you want them to be organized in a specific way, or you are serving a couple of them in specific order at some Atari demo party. You know where you get your images, or how you sort them, let’s not do this inside the Cosmo2ex suite.
  • no ST config utilities – the whole configuration of the device is now done through browser. You don’t need additional ST programs to do the same. Keeping a single configuration interface makes the project easier to maintain.
  • no firmware updates via internal tools – this was error-prone and required significant development and support effort. Now you just download the .uf2 firmware from the GitHub releases page, hold BOOTSEL while connecting the Pico via USB, and copy the file onto the drive that appears. No need for special tools, programs, weird recovery procedures.