Git Product home page Git Product logo

Comments (8)

mumbel avatar mumbel commented on September 25, 2024

I'll look into it. The big question i guess is where are the differences? Instruction encoding, memory layout, memory mapped registers, etc...

Can probably get away with keeping WE, with multiple cspec/pspec/slaspec files (maybe additional additional sinc depending on change in instructions) and include more entries in the ldefs file.

from ghidra_we.

sethm avatar sethm commented on September 25, 2024

Unfortunately, documentation for the WE32200 is hard to find. I have a paperback copy of the processor manual, which as far as I know has never been scanned :( Primary differences are new instructions, expanded addressing modes, 32 registers vs 16, and optional unaligned word access. I should be clear that it's not a very high priority for me! I don't know of any commercial AT&T software compiled for the WE32200. It is fully backward compatible with the WE32100, so they just compiled for the WE32100 and treated the WE32200 as a faster WE32100.

from ghidra_we.

sethm avatar sethm commented on September 25, 2024

By the way, is there a better way to get in touch with you outside of opening issues? I wanted to pass along an interesting tidbit.

I've hacked Ghidra to load AT&T's two COFF file formats. For Intel 80186 code (firmware used by expansion cards), they used little-endian COFF files with big-endian headers. For WE32100 code, they used big-endian COFF files. Check out the branch "we-coff" here: https://github.com/sethm/ghidra/tree/we-coff

If you want some real binary files to test with, I have them here: https://archives.loomcom.com/3b2/scsi/

This is great progress, so far. I was able to load the WE32100 SCSI driver using your WE processor! I added an "opinion" file, but I haven't yet checked that in yet.

we-scsi

from ghidra_we.

mumbel avatar mumbel commented on September 25, 2024

I don't really have much of social media besides reddit, same name, and no slack/discord. Guess I should make an acct on some RE based channel

Thanks for the sample, I used the bin in simh/3B2

did they reuse the old-style MS DOS magic value?

from ghidra_we.

mumbel avatar mumbel commented on September 25, 2024

@sethm pushed commit to try and fix a few things, hopefully didn't break too much, but stuff was def wrong (only slaspec/sinc, haven't build up the willpower to open cspec/pspec). Seeing any breakage probably means I'm moving in the right direction, let me know if you find something specific that you can ref an addr in the scsi or the simh binaries

http://www.bitsavers.org/pdf/westernElectric/

is WE_32-Bit_Microprocessors_and_Peripherals_Aug87.pdf by chance the book you're talking about for 32200?

from ghidra_we.

sethm avatar sethm commented on September 25, 2024

@mumbel Analysis is failing on the file scsi-we32k-driver, I'm not sure why. I still have a lot to learn about Ghidra and Sleigh before I can really contribute much. I have opened a pull request with a few very minor additions to the project, but I haven't touched the Sleigh file yet.

The book I have is "WE32200 Microprocessor Information Manual" (November 1987, Select Code 307-705). I would like to scan it, but I will either need to build a book scanner, or cut off the spine, and I really don't want to cut the spine unless I absolutely have to.

from ghidra_we.

mumbel avatar mumbel commented on September 25, 2024

Def don't ruin it, the PDF I found looks like it has everything needed for 32200 support

from ghidra_we.

mumbel avatar mumbel commented on September 25, 2024

@sethm I did a bit of file renaming, let me know if that seems closer to what you were hoping for.

Also trying to tweak some of the SLEIGH for some of my (mis)interpretations of the manual. Compiler sure hates life now though, so you may want to wait to pull or you want to try messing with it :D ... I'll need to build a debug compiler and get this module running in eclipse (just using 9.1.2 currently). The extended addressing mode still isn't clicking so destinations with that are still broken

from ghidra_we.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.