Hi,
first post here after a lot of reading. First of all I would like to thank all of you for all information on this site. I have read to many articles and forum posts to remember them all but thank you all!
I got bitten by the 6502 bug about 2 months ago and have recently been able to do a sort of freerun with it, anyhow I thought I would post some of my thoughts here and maybe get some feedback
First the memorymap, this was really hard to wrap my head around in the beginning but Garth´s primer and all questions about it and certainly helped. So I settled for the following, almost 32kb ram and 32 kb rom and 8 i/o possibilities (yeah i know, lots of i/o but I really do not like holes in my memorymap
).
Ram $0000-$77FF
i/o 1 $7800-$78FF
i/o 2 $7900-$79FF
i/o 3 $7A00-$7aFF
i/o 4 $7B00-$7bFF
i/o 5 $7C00-$7CFF
i/o 6 $7D00-$7DFF
i/o 7 $7E00-$7EFF
i/o 8 $7F00-$7FFF
Rom $8000-$FFFF
The schema for this (oh and btw I can really recommend Logisim) goes like this, which should be enough for 1 MHz. Appologies for the poor picture quality (mobile phone).
Attachment:
logisimSchema.jpg [ 270.91 KiB | Viewed 1894 times ]
Anyhow, now I have tried to do a freerun with nop instructions hardcoded (going the route everyone else has). Problem is that I only have a multimeter as my only instrument so I thought to use Garth´s singlestep logic and a simple reset trigger. At first nothing seemed to work then I realised I had to tie the Bus Enable pin high. Actually at first I connected the 5+ to the Vector Pull Pin but uhm yeah we will forget about that
Anyhow, to make along story short, I did not get the singlestep circuit to work but when running the 6502 with my 1MHz Oscillator it seems to work since all the adress pins are at 2.5Volt which seems to indicate that they are switching between 5 and 0 Volt.
So my next step is to connect my EEPROM (I took a shortcut and ordered a programmer from ebay) to the 6502 and program it with a infinite loop just to be able to measure that the correct pins are lit.
Any comments or criscism are welcome, oh and btw here is a link to my weblog which unfortunately is in Swedish
http://monobit.se/mua/
Thanks again
Jan Svensson