27c3: Reverse Engineering the MOS 6502 CPU (en)
Speaker: Michael Steil
3510 transistors in 60 minutes
The MOS 6502 CPU, which was designed in 1975 and powered systems like the Apple II, the Atari 2600, the Nintendo NES and the Commodore 64 for two decades, has always been subject to intense reverse engineering of its inner workings. Only recently, the Visual6502.org project has converted a hi-res die-shot of the 6502 into a polygon model suitable for visually simulating the original mask at the transistor level. This talk will present the way from a chip package to a digital representation, how to simulate transistors in software, and new insights gained form this research about 6502 internals, like "illegal" opcodes.
The presentation only requires a basic understanding of assembly programming and electronics, and is meant to teach, among other things, the methods of efficient and elegant chip design used in the early years of integrated CPUs. The talk consists of three parts. The first part, "6502 from top down", describes the programmer's model, as well as the basic layout of the components of the CPU. In the second part, "6502 from bottom up", we describe how to decap and photograph chips, convert each physical layer of the chip into a polygon model, and how to finally convert this into a network of wires and transistors suitable for logic simulation. The third part, "6502 from the inside out", explains the inner workings of the CPU: how the logic blocks work together, how an instruction is decoded by the PLA ROM into controlling these blocks and busses, and how details like interrupt delivery work. Finally, this information can be used to describe and explain undocumented behaviour, like illegal opcodes and crash instructions, and explain bugs like the BRK/IRQ race, the ROR bug and spurious reads and writes in certain situations.
For more information visit:http://bit.ly/27c3_information
To download the video visit: http://bit.ly/27c3_videos
Видео 27c3: Reverse Engineering the MOS 6502 CPU (en) канала Christiaan008
3510 transistors in 60 minutes
The MOS 6502 CPU, which was designed in 1975 and powered systems like the Apple II, the Atari 2600, the Nintendo NES and the Commodore 64 for two decades, has always been subject to intense reverse engineering of its inner workings. Only recently, the Visual6502.org project has converted a hi-res die-shot of the 6502 into a polygon model suitable for visually simulating the original mask at the transistor level. This talk will present the way from a chip package to a digital representation, how to simulate transistors in software, and new insights gained form this research about 6502 internals, like "illegal" opcodes.
The presentation only requires a basic understanding of assembly programming and electronics, and is meant to teach, among other things, the methods of efficient and elegant chip design used in the early years of integrated CPUs. The talk consists of three parts. The first part, "6502 from top down", describes the programmer's model, as well as the basic layout of the components of the CPU. In the second part, "6502 from bottom up", we describe how to decap and photograph chips, convert each physical layer of the chip into a polygon model, and how to finally convert this into a network of wires and transistors suitable for logic simulation. The third part, "6502 from the inside out", explains the inner workings of the CPU: how the logic blocks work together, how an instruction is decoded by the PLA ROM into controlling these blocks and busses, and how details like interrupt delivery work. Finally, this information can be used to describe and explain undocumented behaviour, like illegal opcodes and crash instructions, and explain bugs like the BRK/IRQ race, the ROR bug and spurious reads and writes in certain situations.
For more information visit:http://bit.ly/27c3_information
To download the video visit: http://bit.ly/27c3_videos
Видео 27c3: Reverse Engineering the MOS 6502 CPU (en) канала Christiaan008
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
CppCon 2016: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17”Reading Silicon: How to Reverse Engineer Integrated CircuitsThe Ultimate Game Boy Talk (33c3)The Gigatron TTL Computer without a MicroprocessorGeckOS: a Unix-like 6502 operating system | VCFMW 201965C02: Tear down, A look at the CMOS version of the 6502 CPUSophie Wilson - The Future of MicroprocessorsThe Monster 6502 is a gargantuan version of a famous microchipUsing an EEPROM to replace combinational logicProgramming Like It's 1979: 6502 Assembly language on the Apple ][VCFMW 11 - Bil Herd: Tales From Inside CommodoreHow I reverse engineer a chip34C3 - The Ultimate Apollo Guidance Computer TalkMOnSter 6502 Update #1GOTO 2016 • Emulating a 6502 system in JavaScript • Matt Godbolt25c3: The Ultimate Commodore 64 Talk28c3: The Atari 2600 Video Computer System: The Ultimate TalkAssembly and Review - PE6502 Hobby ComputerHow the MOS 6502 Sparked a Computing Revolution“Hello, world” from scratch on a 6502 — Part 1