mrjbom wrote:
Hi.
I want to create a semblance of a simple computer, but I have some questions:
What do I need to buy to start working with a microprocessor?
Do you have any knowledge at all about it? There's the 6502 primer which is in 22 logically arranged sections about making your own 6502 computer, indexed at
http://wilsonminesco.com/6502primer/ . It doesn't start you totally from zero, but the few expected prerequisites are given on the first page, like that you should understand binary and hex number bases, and basic logic symbols and 74-family logic.
Quote:
How do I debug this?
That's in the 6502 primer also.
Quote:
Can I use the arduino mega?
If you're already familiar with it, it might become useful, but it's not necessary.
Quote:
Another question about debugging: what is the minimum frequency at which a regular 6502 can work? I heard that at a low frequency of the clock generator it turns off
The old NMOS 6502 is not guaranteed to run below 100kHz. It's not that the clock generator turns off, but there are lots of internal registers (besides what's accessible by the programmer) which work kind of like dynamic RAM and lose their charge and forget their data if you don't keep the clock speed up. The CMOS 65c02 is much better in many, many ways, one of them being that you can stop the clock indefinitely without malfunction.
Quote:
at a high frequency it is inconvenient to debug.
Frequency and ease of debugging are not totally related.