Author Topic: Reverse Engineering A 6502  (Read 6206 times)

0 Members and 1 Guest are viewing this topic.

Offline LanceTopic starter

  • Frequent Contributor
  • **
  • Posts: 317
  • Country: 00
  • Resistance if futile if R<1Ohm
Reverse Engineering A 6502
« on: January 07, 2011, 07:10:23 pm »
Some folks have managed to reverse engineer a MOS 6502.



There's six videos, very interesting to watch. I find this old tech really fascinating.
#include "main.h"
//#include <killallhumans.h>
 

Offline GeoffS

  • Supporter
  • ****
  • Posts: 1272
  • Country: au
Re: Reverse Engineering A 6502
« Reply #1 on: January 07, 2011, 09:44:10 pm »
Visit the website, they have a visual transistor level simulation of the 6502 you can run.
 

Offline LanceTopic starter

  • Frequent Contributor
  • **
  • Posts: 317
  • Country: 00
  • Resistance if futile if R<1Ohm
Re: Reverse Engineering A 6502
« Reply #2 on: January 07, 2011, 11:05:24 pm »
I would, but I don't know any assembly languages. Not sure I'd be able to do anything useful.
#include "main.h"
//#include <killallhumans.h>
 

Offline EEVblog

  • Administrator
  • *****
  • Posts: 38592
  • Country: au
    • EEVblog
Re: Reverse Engineering A 6502
« Reply #3 on: January 08, 2011, 12:45:16 pm »
Visit the website, they have a visual transistor level simulation of the 6502 you can run.

That's very cool!
http://www.visual6502.org/JSSim/index.html

Dave.
 

Offline LanceTopic starter

  • Frequent Contributor
  • **
  • Posts: 317
  • Country: 00
  • Resistance if futile if R<1Ohm
Re: Reverse Engineering A 6502
« Reply #4 on: January 08, 2011, 10:39:04 pm »
Does anyone know of any online resources that teach assembly or machine code?
#include "main.h"
//#include <killallhumans.h>
 

Offline vizer

  • Contributor
  • Posts: 13
Re: Reverse Engineering A 6502
« Reply #5 on: January 10, 2011, 08:43:42 am »
Google might be a start. Try googling "6502" which suggests additional options such as "6502 emulator" to  give:
http://www.6502.org/tools/emu/
 

Offline glossywhite

  • Regular Contributor
  • *
  • !
  • Posts: 241
Re: Reverse Engineering A 6502
« Reply #6 on: January 10, 2011, 07:09:00 pm »
Watched LOTS of 2703 group videos - VERY interesting, even if most of it is way beyond my level of knowledge right now. I saw one on BlackBerry hacking... rather complex!

Here is a better link, with LOTS of their videos in higher quality (and not split into parts):
https://events.ccc.de/congress/2010/wiki/Conference_Recordings
« Last Edit: January 10, 2011, 07:12:30 pm by glossywhite »
 

Offline Zad

  • Super Contributor
  • ***
  • Posts: 1013
  • Country: gb
    • Digital Wizardry, Analogue Alchemy, Software Sorcery
Re: Reverse Engineering A 6502
« Reply #7 on: January 10, 2011, 09:27:46 pm »
An excellent series of videos. I used to program the BBC Micro and Commodore 64 quite a lot, and it taught me a lot that I had totally forgotten!

It is difficult to teach "assembler" as there is no definitive language, each processor has it's own instruction set. There was an excellent book called The Art of Assembly Language, which is now officially in the public domain http://flint.cs.yale.edu/cs422/doc/art-of-asm/pdf/

It is a pretty hefty book though, and includes lots of generic programming concepts and lots of PC-specific information.

Rodnay Zaks' famous "How to Program the Z80" is also freely available: http://www.z80.info/zip/zaks_book.pdf

Offline DJPhil

  • Frequent Contributor
  • **
  • Posts: 511
  • Country: 00
Re: Reverse Engineering A 6502
« Reply #8 on: January 11, 2011, 03:12:17 am »
I think the best book on 6502 programming (for the Commodore at least) was Jim Butterfield's "Machine Language For the Commodore 64, 128 and Other Commodore Computers". It may not be of much use to you, but I felt I had to mention it. Jim Butterfield was a legend and a hero of mine when I was young.

Hope that helps. :)
 

Offline Chasm

  • Regular Contributor
  • *
  • Posts: 211
Re: Reverse Engineering A 6502
« Reply #9 on: January 11, 2011, 03:33:30 am »
Here is a link to a of the talk.
 

Offline LanceTopic starter

  • Frequent Contributor
  • **
  • Posts: 317
  • Country: 00
  • Resistance if futile if R<1Ohm
Re: Reverse Engineering A 6502
« Reply #10 on: January 11, 2011, 06:48:34 am »
It's better quality too. Thanks!
#include "main.h"
//#include <killallhumans.h>
 

Offline LanceTopic starter

  • Frequent Contributor
  • **
  • Posts: 317
  • Country: 00
  • Resistance if futile if R<1Ohm
Re: Reverse Engineering A 6502
« Reply #11 on: January 21, 2011, 10:25:31 pm »
That's how it's done the old school way I guess.
#include "main.h"
//#include <killallhumans.h>
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf