Does the address bus always reflect the value of the PC?

Let's talk about anything related to the 6502 microprocessor.
User avatar
BigEd
Posts: 11464
Joined: 11 Dec 2008
Location: England
Contact:

Re: Does the address bus always reflect the value of the PC?

Post by BigEd »

It's a fair question, what level of fidelity is sought. Instruction-by-instruction is good enough for a great many purposes, like checking a Basic interpreter or a screen editor. To get games to do the right thing, you might need cycle-by-cycle. To get copy protection or demo code to work, you might need very precise access-by-access. (MAME's philosophy, for example, is to be extremely accurate, and never mind the performance cost, because the host platforms get faster as time goes on.)
User avatar
BillO
Posts: 1038
Joined: 12 Dec 2008
Location: Canada

Re: Does the address bus always reflect the value of the PC?

Post by BillO »

Proxy wrote:

i know i shouldn't poke the bear but...

*** stuff, some good, some not so much ***

hope this was somewhat helpful, and i'd be interesting to hear how exactly you want to implement the CPU.
I think you are conflating an emulator emulating software with an emulator emulating hardware. I (guardedly) agree with BDD. If you intend to create a hardware 6502 emulator it better be able to plug into the socket intended for a 6502 and take over it's job in every way including idiosyncrasies. If your ersatz 6502 does not have to interact with the real world, I guess you could call it whatever you like.

My definition:

An emulator of 'A' needs to do everything 'A' does for the purposes at hand. If that is just to run software written for 'A' precisely as 'A' (bugs and all) then that emulator could be in software too.

A simulator of 'A' only needs to look like its doing what 'A' does to the extent of the presentation. And yes, you could rig a simulator in hardware too, but software would be far more efficient.
Bill
User avatar
BigEd
Posts: 11464
Joined: 11 Dec 2008
Location: England
Contact:

Re: Does the address bus always reflect the value of the PC?

Post by BigEd »

This is the thing: we each have our own definitions, and our own preferences. There is no right answer, and no merit in seeking one. Anyone persistently promoting their preference as if it is objective fact is trolling. Deliberately trying to make trouble on this forum should be unacceptable.
User avatar
BillO
Posts: 1038
Joined: 12 Dec 2008
Location: Canada

Re: Does the address bus always reflect the value of the PC?

Post by BillO »

BigEd wrote:
This is the thing: we each have our own definitions, and our own preferences. There is no right answer, and no merit in seeking one. Anyone persistently promoting their preference as if it is objective fact is trolling. Deliberately trying to make trouble on this forum should be unacceptable.
Yet we should not discourage open discussion as long as it does not get contentious.

If I'm not mistaken, that's what forums are for.
Quote:
Forum: a place, meeting, or medium where ideas and views on a particular issue can be exchanged.
Bill
User avatar
BigEd
Posts: 11464
Joined: 11 Dec 2008
Location: England
Contact:

Re: Does the address bus always reflect the value of the PC?

Post by BigEd »

Quite so. It's the strident insistence which is problematic, in my view. And then there's the question of going into unproductive tangents. (We know it's unproductive, here, because it happens over and over and the one summary topic we have is locked.)
Post Reply