Jump to content
IGNORED

Reading a peripheral card's ROM and Sider HDD sasi "firmware" version.


Keatah

Recommended Posts

Many Apple II series peripheral cards have small ~2k eproms w/firmware on them. Has anyone ever written a program to dump those roms? I mean with a nice menu and all that? Just asking before I go and duplicate the effort or go on extended search for my eprom programmer wherever the hell I put it.

 

I'm thinking about this because I was gathering and organizing my Sider material and learned that there are three (or more) versions of the sasi interface's eprom.

 

P/N 103684A

P/N 1036840

P/N 103684-C

 

Which would this one be?

http://mirrors.apple2.org.za/Apple%20II%20Documentation%20Project/Interface%20Cards/Hard%20Disk%20Drive%20Controllers/XEBEC%20SASI%20Interface/ROM%20Images/

 

Link to comment
Share on other sites

  • 2 weeks later...

It's really easy to read this, no special tools necessary. Just read from $Cx00 - $CxFF, where x is the slot number the card is installed in. You can even use the monitor to save it directly to tape (example for slot 6 -- replace with whatever slot you are dumping from):

*C600.C6FFW

Or if you have a floppy drive available:

]BSAVE ROM,A$C600,L$100
Edited by SmileyDude
  • Like 1
Link to comment
Share on other sites

That will get you 256 bytes of the EPROM.

 

The rest of it is bank-switched into the $C800..$CFFF space when the slot is accessed.

 

A short machine language program can:

1) deselect any switched-in I/O expansion ROM by accessing $CFFF, then

2) selecting the desired slot by referencing something in the $Csxx space, then

3) copying $C800..$CFFF to a spot in RAM (like $4000).

 

Make sure that you don't reference $CFFF until the last byte, or the ROM will be deselected. In fact, the byte read from $CFFF may be invalid!

 

Each designer took a different approach to using I/O expansion space, so expect to spend some disassembly time figuring out how it's used.

 

Some I/O EPROMS are larger than 2K, and use a further bank-switching scheme implemented on the card. Some cards (e.g.: Vulcan) also involved SRAM in the bank switching to provide on-board buffering.

  • Like 1
Link to comment
Share on other sites

If possible, please find someone with an EPROM reader to do it properly, and submit it to the Apple II Documentation Project. Lack of ROM dumps and/or disk images of utilities is pretty much the #1 thing slowing down adding more emulated Apple II peripheral cards to MESS (we lucked out with the alphaSyntauri since none of the cards have any ROMs).

 

Depending on where you live, there may be someone nearby who will do it for free, or you could mail the card out if you aren't using it.

Link to comment
Share on other sites

iOS 8 (which should be out in about a month) will give you a Mac/Windows style file picker to access various online storage providers (iCloud, Dropbox, etc) so you can save/load computer-style in apps once they're updated to the new functionality.

 

And great to hear you're getting an EPROM reader, that'll be excellent :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...