Category Archives: game

Retrochallenge: WarGames’ 30th Anniversary Fun

Retrochallenge is a biannual loosely disorganized gathering of RetroComputing enthusiasts who collectively do stuff with old computers for a month[1]; the Summer Challenge and the Winter Warm-up are held in July and January, respectively.

Given that it’s the 30 Anniversary of the nerd classic WarGames I thought I’d make that my theme for this summer’s event.

I’ve broken down my entry into the following four sections* from least technically demanding to most technically demanding:

  1. WarGames Retrospective
  2. WarGames Games
  3. IMSAI 8080
  4. Futility (if I have the time)

* sections are subject to change.

 

WORK IN PROGRESS…

References:

  1. http://www.wickensonline.co.uk/retrochallenge-2012sc/

Finally, Apple II and IIgs warez on your iPad

Updated: November 26 2012 (does not work with iOS6!)

See updates at the end.


Running 1985 Code on a 2010 Device

I had an awesome childhood; a big part of that was computers, specifically my Apple II+.  Ah, the memories…

Sadly I do not have my original Apple II+ (clone). Nor do I recall the name of the manufacture. C’est la vie.

Well now I can relive all my “memories” on my iPhone and iPad.  But it’s going to take a bit of work, and I am going to need some stuff:

  1. My “memories”, i.e. my original Apple II+ floppies from high school.
  2. An Apple II computer with floppy drive and a serial port.
  3. A null-modem serial cable to connect my Apple II to my Mac.
  4. ADTpro Apple II to Mac transfer software.
  5. ActiveGS – Best Of FTA iOS app from the App Store.  This is an Apple IIgs emulator capable of running most Apple II, II+, IIe, and IIgs warez.
  6. A text editor to edit the list of images in ActiveGS.
  7. Something to create ActiveGS icons. (optional)
  8. iExplorer, to get my stuff into ActiveGS.

Memories

After a bit of digging I found my very first floppy disk.  I should probably have it framed, like others do with their first dollar.  Hopefully it still works.


Hardware

This is the hard (pun intended) part.  You are going to need a real Apple II or know someone that has one.  Your best bet is an Apple //c.  They are self-contained (floppy drive and serial port) and are easy to find.  As I write this there are many on eBay and at least one listed in the local classifieds.  To connect your Apple //c to your computer (MacBook Air in my case) you are going to need a serial cable and a USB to serial adapter.  I opted to purchased my cable (call me lazy) from http://retrofloppy.com/products.html#DIN5DE9.  I had an existing USB to serial adapter from Keyspan that works just fine.


Liberating Your Warez

ADTpro (http://adtpro.sourceforge.net/) is a very well maintained Apple II floppy disk to floppy image (and v.v.) utility and is very easy to use.  Just follow the instructions from their site and in a few minutes you will have liberated your first floppy disk.  (It is very cool to see ADTpro boot your Apple //c from the serial port.)


ActiveGS

ActiveGS is an Apple IIgs emulator and is available for most platforms as a standalone app and as a browser plug-in.  Recently (Feb 24th) an iOS ActiveGS app was published and is available via the App Store.  However, I do not think it will last very long…

iDOS (based on DOSBox) is very similar to ActiveGS, but for DOS programs.  After a rocky start iDOS finally made it to the App Store just to be removed because users could add their own binary content to iDOS.  That was the point of iDOS to begin with.  To get back online iDOS had to come with preloaded apps and remove the ability to add content via iTunes File Sharing.  But it didn’t take long for users to figure out that by using iExplorer content could be added.  This same “trick” needs to utilized to add content to ActiveGS.  In time, this will be the undoing of ActiveGS.


Inserting content to ActiveGS

Download, install, and launch iExplorer (NOTE: If you have problems with iExplorer, then use DiskAid).   Connect up your iOS device and then find the Best of FTA/Documents directory. This is where you will place all your disk images as well as any thumbnails and/or screen shots. Note: Do not place your images, thumbnails, or screen shots in the Best of FTA/Best of FTA.app directory, unless you want them read-only and lost on iPad/iPhone restore.


To add a disk image, just drag-and-drop an Apple II or IIgs disk image into that directory along with any thumbnails and screen shots (NOTE: iExplorer will only drop a single file, IOW, do not multi-select; drag one at a time). Next, you will need to define your image to ActiveGS. This needs to be done in the Best of FTA/Best of FTA.app directory.


Copy the list.activesxml file to your computer, then open it up with your favorite text editor and add a section for your image, e.g.:


<config version="2" id="my0a">
        <name>High School Classics</name>
        <year>1984</year>
        <publisher>Me</publisher>
        <desc><![CDATA[
        Midlife Crisis Classics!
        ]]></desc>
        <pic type="thumbnail" width="64" height="40">../Documents/dos33-0.png</pic>
        <format>APPLE2</format>
        <image slot="6" disk="1">../Documents/my0a.dsk</image>
        <pic type="screenshot" width="320" height="240">../Documents/dos33-1.png</pic>
        <bootslot>6</bootslot>
</config>

It should be obvious where to place your new config section.  Review the file for other examples.  After you have made your changes drag lists.activesxml back to your iOS device.  You should also create a 64×40 pixel image for the icon and drag that there too. You’re done!

You will need to kill (double click the home button, find ActiveGS, and press the minus (-) sign) and restart ActiveGS on your iOS device for the changes to take effect. Hopefully your new start-up screen will look something like this:


ActiveGS iPad Usability Tips

  • Swipe down to reveal the ActiveGS menu bar. The menu bar has a button to return back to the main menu on the left side, and a button on the right for various emulator options.
  • Swipe up to reveal the keyboard. Swipe up a 2nd time to get a 2 button gamepad.
  • Pinch to zoom the screen, however you cannot place the screen.
  • You can use a Bluetooth keyboard. However none of the modifier keys (including control) are mapped. This is a limitation of the Apple iOS SDK. To use the BT keyboard ActiveGS must be in keyboard mode (swipe up until you have just a row of modifier keys on the bottom).

    iPad 2 + BT Keyboard + ActiveGS = Apple IIcgs

  • The virtual joystick is difficult to use, practice, practice, practice…

Enjoy!


Credits

  1. Apple II+ Picture. oldcomputers.net

Update: March 2 2011, Multi-disk sets

I actually had two high school diskettes that I labeled I and II (I is in the photo above). Yielding a small pair of scissors, I cut a notch in both diskettes so that I could use the flip side (this was common practice in the ’80s to double your capacity). 27 years later, I’ve now imaged all 4 sides. Do I really need 4 different menu items? No. Just add multiple duplicate entries for each disk in your config, e.g.:

        <image slot="6" disk="1">../Documents/my0a.dsk</image>
        <image slot="6" disk="1">../Documents/my0b.dsk</image>
        <image slot="6" disk="1">../Documents/my1a.dsk</image>
        <image slot="6" disk="1">../Documents/my1b.dsk</image>

Then boot up. The first disk will boot. To change disks on the fly, swipe down to get the menu. In the upper right corner you’ll notice a floppy icon rotating on its Y-axis. Tap it and the next disk will be inserted. Keep taping to cycle through all your disks. Each tap action will summon a pop-up message with the name of the disk. Easy.


Update: March 15 2011, iOS 4.3 and iPad 2

No worries, iOS 4.3 on iPad I and 2 tested.


Update: April 6 2011, ActiveGS 1.22

ActiveGS 1.22 tested.


Update: April 11 2011, More config file tips and 1.22 corrections

For 144K Apple II disk images use slot 6 with an Apple2 format, e.g.:

    <format>APPLE2</format>
    <image slot="6" disk="1">../Documents/appleii.dsk</image>
    <bootslot>6</bootslot>

For 800K Apple IIgs disk images use slot 5 with a 2GS format, e.g.:

    <format>2GS</format>
    <image slot="5" disk="1">../Documents/SYSTEM6.2MG</image>
    <bootslot>5</bootslot>

For Apple IIgs HD images use slot 7 with a 2GS format, e.g.:

    <format>2GS</format>
    <image slot="7" disk="1">../Documents/c.2mg</image>
    <bootslot>7</bootslot>

Custom color config example:

    <bramparam>background:black;border:dark-gray;font:green</bramparam>

Thanks to Rich and John (see comments) for the tips.


Update: August 22 2011, More RAM

If you need more RAM (in MB), then add this to your config (e.g. 8 for 8 MB):

    <emulatorParam>_memorySize:8</emulatorParam>

 

Update: September 21 2011, DiskAid

Many Windows users are having problems with iExplorer and have reported that DiskAid is a good alternative.


Update: October 15 2011, iOS5

Mike has confirmed that iOS 5 is safe for ActiveGS and iExplorer. Apple II Forever!


Update: October 16 2011, iExplorer

Changed iPhone Explorer to iExplorer in document.


Update: November 26 2012, iOS6

This hack does not work with iOS6. The app directory is locked down. Jailbreaking is your only hope.


					

NYC’s Last Great Arcade

It was the week of October 31th 2010 and I found myself working in NJ.  Fortunately, I was only a short train ride away from Manhattan where my kid lives as a student at NYU.

I often visit my kid when in town and my kid always finds interesting things for us to do, and Friday night she didn’t disappoint.  After a round of truly awesome Swedish meatballs from Aquavit, we headed to Chinatown to see a real video arcade!

Arcades, once common all over the US and NYC, are dwindling towards nonexistence.  Little did I know last November that the arcade my kid took me too is the last arcade in NYC according to this article: The Odd History And Uncertain Future Of Chinatown Fair, NYC’s Last Great Arcade.

According to the article the arcade is here to say, but may relocate.  I love how eclectic Chinatown is and I hope Chinatown Fair stays for a very long time.

BTW, my kid and I vacationed to Tokyo last spring.  There were no shortage of arcades.  Tokyo is my Disneyland.

Griffin PowerMate mini-review

Well, there it is, nestled between my keyboard, trackpad, Superdrive and my 27″ Cinema Display stand.

What the hell is it? Well, it’s a knob.  A USB knob.  And, it’s good looking too.  It blends in quite well with the rest of my Apple gear.  And, the AppleScript configurable blue light is an added bonus.

I purchased the PowerMate to solve two problems.  The first and foremost was that I needed wanted an easier way to change the volume on my Mac.  When I watch video or participate in a video chat, I tend to lean back in my Herman Miller Aeron to watch and listen.  Often I have to change the volume.  I can either use my trackpad to adjust the volume via the menu bar volume control or I can use the volume controls on my keyboard.  Neither are acceptable options.  Having to move my mouse away from where I left it (in a place relative to the task at hand) just to adjust the volume and then risk losing it (remember I have a 27″ display) could cost me milliseconds in recovery time.  The keyboard option is out because I use a number of apps that require the use of F1-F12.  I switched F1-F12 to be the primary relegating the OS/X control functions for brightness, media control, and volume to be secondary.  Because the volume controls are assigned to F10-F12 pressing fn F10-F12 is a two handed operation–even for my large mitts.

The second problem was (and is) that I needed a spinner for certain retro games.  This problem is still unsolved.  As good looking and capable as the PowerMate is, it’s no spinner.  The PowerMate can be configured to perform just about any action, e.g. mouse right, scroll down, keyboard left, etc… and it can be configured on a global and per application basis.  Since most retro emulators will use the mouse or keyboard arrow keys as a spinner/paddle surrogate, then this should be easy.

My first test was with Tempest running under MAME OS X.  I tried mouse and keyboard emulation–nothing.  Oddly my Magic Trackpad did not register either, whereas a real USB mouse and my MacBook Air trackpad did.  Keyboard emulation should certainly work.  Nope.  Clearly MAME OS X and the PowerMate are using different methods for I/O.  Before giving up completely I thought I’d try StellaOSX.  Stella is the most popular Atari 2600 emulator (and was the code name for the 2600).  I loaded up the 1978 version of Breakout (which BTW, was designed by Steve Jobs (but really Woz) in the mid ’70s when Steve was an Atari employee–read the (a) story here:  http://classicgaming.gamespy.com/View.php?view=Articles.Detail&id=395).

Victory!

Well, sort of.  It did work in both keyboard and mouse emulation modes, but it was a bit difficult to use.  And, after many tuning attempts it still didn’t feel natural.  One commenter I found via Google stated that it sucked as a gaming device because it was digital and not analog.  Another definceny with the PowerMate for gaming is that it will not spin freely.  There is a friction ring inside the dome to keep it from spinning.  It can be removed, but then the dome is not stable.  Others have reported some success with the PowerMate as a spinner on Windows, perhaps I just have to try harder.

In summary, the PowerMate was really designed as a multimedia control knob and it does that very well.  Scrolling through movie clips or adjusting volume is very smooth and natural.  But, it does disappoint as a spinner/paddle for gaming.  I had a few other minor issues:

  • Static Shock.  I live at 5000 ft in a desert climate, it’s dry here and it’s easy to shock things.  The PowerMate is a static shock magnet.  Even the slightest shock will shut it down.  The blue light goes dead and I have to unplug and replug it in to reset it.
  • The build quality is not Apple, but close.  It could use a bit more weight.

On the plus side:

  • The software is easy to use (I didn’t have to read anything).
  • The software comes preconfigured and ready to go for all the popular apps.
  • The knob supports 4 events:  Spin right/left, press down, press down and hold.  All 4 can be assigned to different actions.  E.g. my default for any app is volume up/down and mute for a short click.  However for QuickTime the short click is used for pause.
  • You can use modifier keys with any of the actions.  E.g. shift right, ctrl click, etc…  This gives you much more than 4 definable actions.
  • It’s low profile and really does look great.  Other spinners for games are quite large.

You can get more info here http://www.griffintechnology.com/products/powermate.  List price is $45 US.  I got mine from Amazon for $35 with free shipping.