Schlagwort: Retrocomputing

  • Use Excel to load Commodore 64 software

    Use Excel to load Commodore 64 software

    Reading Time: 2 minutes

    Loading software on a vintage computer, such as a Commodore 64, is a pain. Early eight-bit computers almost never contained any onboard persistent storage, so users had to load software from external media like cassette tapes. To make retro computing far more convenient, RaspberryPioneer developed a method for loading Commodore 64 software from Microsoft Excel.

    This workflow starts with a modern computer running Microsoft Excel. RaspberryPioneer created an Excel spreadsheet that acts as a database of Commodore 64 software, linking to the ROMs and containing information such as specific load commands. The spreadsheet integrates Visual Basic for Applications (VBA) programming, so the user can select a software entry and then launch it. Doing so sends that software’s ROM data to the Commodore 64, which loads the software like it came from conventional media.

    RaspberryPioneer’s workflow relies on a 5V Arduino board to act as an intermediary between the modern computer and the Commodore 64. The Excel VBA script sends the selected ROM data to the Arduino via a USB serial connection. The Arduino then, in turn, sends the data to the Commodore 64 through a hardware serial connection. That requires a Commodore serial cable, with the standard plug at one end and the other end connected to the Arduino’s pins.

    Anyone that frequently uses a Commodore 64 would benefit from adopting RaspberryPioneer’s workflow to load software.

    The post Use Excel to load Commodore 64 software appeared first on Arduino Blog.

    Website: LINK

  • Classic Macintosh gets a massive ePaper display

    Classic Macintosh gets a massive ePaper display

    Reading Time: 2 minutes

    Arduino TeamAugust 24th, 2022

    The original Apple Macintosh computer, launched in 1984, was fundamental for ushering in GUIs (graphical user interfaces). It wasn’t the first personal computer to feature a GUI operating system and the concurrent Apple II still retained a more traditional command line interface for years, but we largely have the Macintosh to thank for modern GUIs. So it is appropriate that Dave Luna chose to use an Apple Macintosh Classic II to retrofit with a modern ePaper display.

    The Macintosh Classic II hit the market in 1991 as a low-cost model, but it retained the design aesthetic of the original Macintosh. It was also the last Macintosh computer with a black-and-white screen. Luna replaced that CRT (cathode-ray tube) with a 9.7” Waveshare ePaper display. He also removed all of the original PCBs and replaced them with a Raspberry Pi 3 Model B single-board computer. Interestingly, Luna added an adapter to feed the output from a Chromecast device to the Raspberry Pi’s camera input in order to show family pictures stored in Google Photos.

    But there were two components that Luna couldn’t replace without ruining the look of the system: the keyboard and mouse. They utilized proprietary connection protocols and are not compatible with today’s computers. To make them work with the Raspberry Pi, Luna turned to Arduino. He  used an Arduino Micro to create an adapter for the keyboard and mouse. That runs TMK’s ADB (Apple Data Bus) to USB Keyboard Converter Arduino library, which deciphers the signals coming from the keyboard and mouse and then connects to a computer as a modern USB HID. Finally, Luna programmed a custom Python script to display a Macintosh-styled GUI for the Raspberry Pi.

    [youtube https://www.youtube.com/watch?v=sWcCrB2_0RQ?feature=oembed&w=500&h=375]

    Website: LINK

  • Experiment with ’80s graphics using this breadboard setup

    Experiment with ’80s graphics using this breadboard setup

    Reading Time: 2 minutes

    Experiment with ’80s graphics using this breadboard setup

    Arduino TeamApril 19th, 2022

    Before standardized video cards came along, computer and video game console designers utilized video chips. Those simplified the design process and offloaded much of the work from the processor. Those video chips had hardcoded graphical building blocks and handled video generation. One of the most popular was the Texas Instruments TMS9918 used in the ColecoVision, TI-99/4, and MSX computers. This write-up from Doctor Volt will walk you through how to use an Arduino Nano to output graphics from the TMS9918.

    You can follow this tutorial with just a breadboard, a TMS9918 VDP (video display processor), and a handful of compatible DRAM (or SRAM with D-flops) chips. The Arduino board acts as the rest of the computer in this setup. If you wanted to create a video game console, for example, the Nano would handle all the game’s logic. It would then tell the TMS9918 what graphics to display on the screen. The Nano controls the TMS9918 video the RAM chips, where it writes bytes that describe the onscreen content.

    The way the TMS9918 handles graphics is what makes this experiment fun, as it provides a lot of insight into how video game and software developers of the late ’70s and early ’80s worked with limited resources. For instance, the best performance is achievable by displaying text instead of sprites or controlling individual pixels. So some video games would use text characters for their graphics, like an ampersand to represent an enemy.

    Each text character is a hardcoded 8×8 pixel block. The TMS9918 allowed for custom foreground and background colors for characters, but only on a per-row basis. Developers of the era used those hardware limitations in creative ways that resulted in graphics that aren’t even identifiable as being text characters. Sprites are also possible in other modes and you can try it all for yourself by following the tutorial.

    Website: LINK