It seems Add with Carry Immediate actually takes only 4 cycles + the fetch phase (3 cycles).
Senijs, it would be more accurate to say Add with Carry Immediate takes 4 half -cycles (since one cycle includes both the Phase 1 period and the Phase 2 period).
-- Jeff
As I understand it, a cycle ...
Search found 11 matches
- Mon Jun 03, 2019 7:03 pm
- Forum: Emulation and Simulation
- Topic: Control signals of 6502
- Replies: 11
- Views: 2994
- Mon Jun 03, 2019 4:30 pm
- Forum: Emulation and Simulation
- Topic: Control signals of 6502
- Replies: 11
- Views: 2994
Re: Control signals of 6502
There's a difficulty with writing a simulation in a conventional programming language: hardware is parallel, and to make a model of a parallel process is not so easy.
If you could share your story of what your model is doing for 10 cycles that might help. It does seem a large number. An add ...
If you could share your story of what your model is doing for 10 cycles that might help. It does seem a large number. An add ...
- Mon Jun 03, 2019 12:37 pm
- Forum: Emulation and Simulation
- Topic: Control signals of 6502
- Replies: 11
- Views: 2994
Re: Control signals of 6502
Thanks for the suggestions, BigEd, I'll check out the book and Nand2Tetris project.
I think I should learn more about the 6502 cycles timing. 1 cycle can be thought of, as you said, several cycles really. I remember there being a diagram of 6502 cycles which shows how much action actually happens ...
I think I should learn more about the 6502 cycles timing. 1 cycle can be thought of, as you said, several cycles really. I remember there being a diagram of 6502 cycles which shows how much action actually happens ...
- Sun Jun 02, 2019 8:09 pm
- Forum: Emulation and Simulation
- Topic: Control signals of 6502
- Replies: 11
- Views: 2994
Control signals of 6502
I am trying to make a 6502 work-alike processor in Logisim. I was trying to find info about 6502's control signals/pins/bus, but couldn't find anything except for Hanson's 6502 block diagram where you can see the control signal's names, but nothing about how they actually work.
The reason I want to ...
The reason I want to ...
- Tue Mar 19, 2019 8:32 am
- Forum: General Discussions
- Topic: Recommendations for 6502 hardware and software resources
- Replies: 6
- Views: 1017
Re: Recommendations for 6502 hardware and software resources
And there's always the 6502 Bible... the Programmers Guide (David Eyes and Ron Lichty) which covers the 65816, 6502, 65C02, etc. and is an excellent reference.
I'm just starting to read this book and it looks awesome. A ton of information and the basic architectures of 6502 and 6502 alike ...
- Sat Mar 09, 2019 7:29 pm
- Forum: Hardware
- Topic: Need help with building 6502 in a simulator
- Replies: 10
- Views: 784
Re: Need help with building 6502 in a simulator
One or two people here have found that a microcoded machine is a good choice: simple datapath, complexity in the simple-to-update microcode. Same with the Gigatron.
I never heared of microcoded machines before. If I understood correcty what google said, then microcode is the "code" written in ...
I never heared of microcoded machines before. If I understood correcty what google said, then microcode is the "code" written in ...
- Sat Mar 09, 2019 6:44 pm
- Forum: Hardware
- Topic: Need help with building 6502 in a simulator
- Replies: 10
- Views: 784
Re: Need help with building 6502 in a simulator
There are many possible implementations which can run a chosen instruction set - you don't necessarily have to follow exactly what the 6502 does on the inside. Indeed, it will be difficult to be exact. But if you want to follow the 6502's cycle counts, or follow the exact sequence of reads, writes ...
- Sat Mar 09, 2019 6:22 pm
- Forum: Hardware
- Topic: Need help with building 6502 in a simulator
- Replies: 10
- Views: 784
Re: Need help with building 6502 in a simulator
I've done a less powerful processor this way before. It might be helpful if you could tell us more about this other processor. Then we can comment on similarities and differences as compared to 6502.
-- Jeff
ps- the C74-6502 was originally a Logisim design.
Jeff, thank you for the reply. I ...
-- Jeff
ps- the C74-6502 was originally a Logisim design.
Jeff, thank you for the reply. I ...
- Wed Mar 06, 2019 12:39 pm
- Forum: Hardware
- Topic: Need help with building 6502 in a simulator
- Replies: 10
- Views: 784
Need help with building 6502 in a simulator
I'm just starting out a 6502 processor project in Logisim. I've done a less powerful processor this way before. But with 6502 come new concepts like interruptions. I would like to ask some questions and maybe you could direct me to some useful texts.
P.S. The whole project will be made out of logic ...
P.S. The whole project will be made out of logic ...
- Mon Feb 25, 2019 4:00 pm
- Forum: General Discussions
- Topic: Introduce yourself
- Replies: 716
- Views: 419066
Re: Introduce yourself
Thank you for your replies. I will try your suggestion, BigEd.
Arlet, the thread that you posted looks like exactly what I need. I will read up on it.
I will try to search your forum for older threads and if I don't find the answers for my questions, then I will post a new thread. I think that's how ...
Arlet, the thread that you posted looks like exactly what I need. I will read up on it.
I will try to search your forum for older threads and if I don't find the answers for my questions, then I will post a new thread. I think that's how ...
- Mon Feb 25, 2019 1:33 pm
- Forum: General Discussions
- Topic: Introduce yourself
- Replies: 716
- Views: 419066
Re: Introduce yourself
Hello everyone!
I'm Senijs from Latvia, currently a student.
I've been interested in programming and especially computer/cpu design for 2 years now. I found a simple game for my phone that was based around logic gates and it got me really interested about how computers ACTUALLY work.
I used a ...
I'm Senijs from Latvia, currently a student.
I've been interested in programming and especially computer/cpu design for 2 years now. I found a simple game for my phone that was based around logic gates and it got me really interested about how computers ACTUALLY work.
I used a ...