Jump to content

User:JanSuchy

From Wikipedia, the free encyclopedia
  • "Hello, world" from scratch on a 6502 – Ben Eater takes processor W65C02S, a fully static version of MOS 6502, and puts it in a breadboard. Using information from the datasheet, Ben connects a few pins to either +5 volts or ground. Clock pin is connected to a custom clock module created for his previous project. To better understand what the processor is doing, Ben connects Arduino Mega and writes a program to monitor the sixteen address pins, the eight data pins and the R/W pin. Subsequently, Ben takes eight 1k resistors to set data pins to 11101010 (EA in hex). After reset, the processor takes seven clock cycles to initialize, the 16-bit program counter is set to EAEA and the processor reads and executes opcode EA (NOP instruction which takes two cycles).