Re: Emulator discrepancies (was DMA'ing in Commodore 64 for developing purposes.)

From: tokafondo_at_tokafondo.name
Date: Mon, 20 Jun 2022 10:53:09 +0000
Message-ID: <01958f474e0b580142bfb412b9b48497_at_tokafondo.name>
19 de junio de 2022 21:27, "smf" <smf_at_null.net> escribió:

> Your device needs to be able to get on and off the bus based on the
> signals on the port, you can't just use gpio to read it and then pass
> the data back to the pc and have it then send a command to change it.
> 
> That part has to be done locally on your device, probably a gal.
> 
> Do you think you know enough, to be able to implement this? Or is it
> just a random question?
> 


On another hand, one thing I realize can't be done is to access the internal registers of the 6510 from outside. AFAIK only the CPU can put its own registers in, or read them back from memory.

Also, the program counter cannot be modified externally but a workaround would be to write in RAM vectors the memory address to have the CPU jump to, and then triggering an NMI. The existing values of the NMI vector can be saved and restored using this technique.


> On 19/06/2022 00:21, tokafondo_at_tokafondo.name wrote:
> 
>> I'm sure it is, because the transfers between that board and a PC are
>> done by USB. And the software controlling it is python based.
>> So maybe as previously said, a way could be have a man in the middle, injecting DMA transfer those
>> 24+4 lines, while receiving command from a PC.
>> 
>> Would any of those RaspBerry, its clones or similars, or ATMega based MCUs, do the trick?
>> 
>>> Regards,
>>> Michau
Received on 2022-06-20 13:00:04

Archive generated by hypermail 2.3.0.