(This was originally a Twitter thread from May 26, 2022)
May 26, 2022
Today I’m going to recap the LCD display on this PowerBook 160. It has a passive matrix LCD display capable of displaying 4-bit grayscale (16 shades of gray). The display was dim before with some severe artifacts (after adjusting the contrast slider) but now it will only show a black screen.
If all goes well, in about 2 minutes you should have a floppy that you can now boot from. When it’s finished, hit return to reboot your machine. ProDOS should load BASIC. Once it does, type LOAD REDDIT and then RUN.
Here are the steps I used to create a local web-based Apple II disc server. This method uses the c2t tool for converting .dsk disk images to .wav audio files suitable for playback into the tape in jack of the Apple II. The Apple Disc Server site does this with preexisting disk images already converted to .wav files. I thought it would be nice to create a web-based service that would allow you to convert .dsk images to .wav files on the fly. This enables you to browse Apple II software with your iPad and instantly convert it to a disk.
Enable Apache server on your Mac
Create a directory (default is “c2t”) for the new service in /Library/WebServer/Documents
Create a new temporary directory (default is “tmp”) inside this new directory
In my last post, I showed that I could use my homebrew C64 USB keyboard with the iPad using the Camera Connection Kit. What was interesting was when I opened iMAME (you were lucky enough to snag it, right?) and accidentally pressed keys on the keyboard. iMAME said it was enabling iCade mode. I thought this was interesting and looked it up.
iCade connects via Bluetooth and acts as a Bluetooth keyboard. My keyboard was connected via USB. Could a USB keyboard work to control games on the iPad? Maybe the connection type didn’t matter? Could I create an adapter that connects via USB and lets you use standard game controllers in iMAME?
iCade sends key strokes when a button is pressed and once again when it’s released. The keys are documented for developers. I launched iMAME again with the USB keyboard plugged in to confirm and as expected the keys worked to control the games.
The next part was pretty straight forward. Make a USB keyboard with an Arduino (see previous post on how this was done) but instead of an actual keyboard matrix, use a game pad. I chose to use my trusty original NES game pad since they’re so easy to interface with.
I threw together a quick case from LEGO and hot glued in two jacks, one for the NES controller and one for USB. The iPad powers the Arduino and the NES controller so no power supply is needed.
And there you have it, a DIY NES Gamepad to iPad via USB adapter. I’ll post the code later when it’s been cleaned up a bit. The only other game I’ve tested was Atari’s Greatest Hits and it seemed to work fine. In theory, any game that supports the iCade should work.
Just a follow up to the C64 USB keyboard Arduino project that I made last week. I was curious if it would work on the iPad using the iPad Camera Connection kit. So I tried it out and was greeted with the error “Cannot Use Device” and “The connected USB device is not supported.” I dismissed the window and tried anyway and it worked! I was able to type in any application.
What if you could print from and iPad to an ImageWriter II? Okay, maybe you don’t want to, but it was an exercise that ultimately proved to be fairly simple.
First, you’ll need a USB to serial adapter and the appropriate cables. I was lucky to have a Keyspan “USA-28X” 2-port adapter with 8-pin DIN jacks, just like the ImageWriter has. I suppose any serial port (9 or 25 pin) would work as long as you had an appropriate cable with 8-pin DIN on the other side. (You may also need to “null modem” the connection this way– not sure).
Then you need to configure the printer. By default, the drivers install a print driver for every serial device on you computer. I chose to delete them all and add only one to prevent the clutter. I deleted the extra printers in the Printers Preference Pane. To add the ImageWriter II printer, browse to http://localhost:631/admin which will let you access CUPS on your machine. Go through the add printer procedure, choosing the right serial port, 9600 baud, 8,n1 and hardware flow control (match this to the DIP switches of your printer). Don’t forget to turn on printer sharing and to “share” this new printer!
Recently I had the pleasure of taking apart a tangerine iBook G3 clamshell. The symptom was the question mark on the folder icon at power-on. The CD-ROM drive reportedly hasn't worked for almost two years so I was unable to boot from any sort of repair or diagnosis disc. The computer is also sans-firewire so no target disc mode. After trying to usual suspects (zapping the PRAM, resetting the power manager) I resorted to taking apart the machine.
The first task was to replace the CD-ROM drive with another one. This didn't work. Either my replacement drive was bad or the motherboard has some other issues with the IDE controller. So I move on to extracting the hard drive and connected it to a firewire bridge. Disk Warrior didn't report too many obvious things so I let it rebuild the disc. I think the problem was that it just needed to be blessed.
Anyway, I recorded a time lapse of all this fun. Just under three hours in all. Enjoy!
The guys at the iPodLinux Project are one step closer to making your old iPod not feel so left out. You can now install a video player that will play specially crafted .AVI's, even on grayscale screens. There are some audio sync issues so it's not quite ready for prime time. But fun none-the-less.
Apple has begun to pull the built-in modem from the Mac line up. First models to get the treatment are the new iMac G5 and the Mini (but only the higher end models). To make up for the shortcoming, Apple has created the Apple USB Modem, pictured left, for $49. A little steep if you ask me, for a modem. But in typical Apple fashion, it's smaller than any external modem I've seen. And it supports caller-id which has me thinking it might be a great replacement for my large external serial modems I use for ncidd (network caller id daemon) and ncidpop.
This is certainly a trend that will continue until none of the machines they sell offer internal modems, not unlike the original CRT iMac that didn't come with a floppy. People will whine and complain for a while and they'll forget about it. They always do.