Replies

This profile is from a federated server and may be incomplete. Browse more on the original instance.

tubetime, to random
@tubetime@mastodon.social avatar

I'm tinkering with some old hard drives, like this ST-251.

tubetime,
@tubetime@mastodon.social avatar

you can find good info here: https://bitsavers.org/pdf/seagate/mfm/ST-251/

tubetime,
@tubetime@mastodon.social avatar

this definitely looks like 6502 code. time to pull it into Ghidra.

tubetime,
@tubetime@mastodon.social avatar

oh yeah. i've mapped it starting at address 0x3000 but the hardware maps the ROM chip in starting at 0x0100, where it just gets aliased all the way up to 0xFFFF. the absolute jump addresses located in the vectors at the top of the ROM refer to addresses starting at 0x3000, so i'm just using that.

tubetime,
@tubetime@mastodon.social avatar

hmm, looks like there are a few instructions that aren't 6502. apparently Rockwell defined a few new ones. it would be nice if Ghidra could handle those.

image/png

tubetime,
@tubetime@mastodon.social avatar

@fsphil confusingly, Rockwell used the same numbers for different chips. this is a different device.

tubetime,
@tubetime@mastodon.social avatar

@Dtl yes, find the Gesswein MFM emulator.

tubetime,
@tubetime@mastodon.social avatar

hmmm what's this

tubetime,
@tubetime@mastodon.social avatar

ahhhhh much better. thanks to whomever added R6518 support to Ghidra just now. oh wait that was me

tubetime,
@tubetime@mastodon.social avatar

ok so funny story, the Ghidra target of "65C02" already supports these instructions. at least i know how to customize Ghidra...

tubetime,
@tubetime@mastodon.social avatar

some interesting routines. this one waits for the spindle speed (as measured by the index pulses) to exceed 3593 rpm (or so).

tubetime,
@tubetime@mastodon.social avatar

they have a clever delay-by-x routine. the entry point is delay_entry. and yes, the routine calls its own rts as a way to insert cycles...

tubetime,
@tubetime@mastodon.social avatar

so one of these drives blew a tantalum capacitor. i think i will take this board apart for reverse engineering purposes. there are multiple revisions but this will be a good starting point.

image/png

tubetime,
@tubetime@mastodon.social avatar

with a combination of hot air and a desoldering gun, i've taken it down to just a few surface mount parts. i'm going to leave those in place for now since many of them are not marked. there is also no silkscreen.

tubetime,
@tubetime@mastodon.social avatar

they scanned well. i've taken the top and bottom images and lined them up precisely. these reference images are 600dpi but i may go for a lower res version for KiCad since it stores the images in the pcb file, which slows it down a lot.

tubetime, to random
@tubetime@mastodon.social avatar

I got a new mini laptop! it's a Libretto 100CT.

tubetime,
@tubetime@mastodon.social avatar

got the new CMOS battery, but I haven't ordered the new connector yet because I don't have enough of a list for a full Digi-Key order 😑

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • tacticalgear
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • anitta
  • ethstaker
  • GTA5RPClips
  • modclub
  • tester
  • provamag3
  • osvaldo12
  • cisconetworking
  • everett
  • cubers
  • normalnudes
  • megavids
  • Leos
  • lostlight
  • All magazines