Re: Hardware emulation of 6509 using 6502?

From: Mia Magnusson <mia_at_plea.se>
Date: Fri, 2 Mar 2018 12:53:37 +0100
Message-ID: <20180302125337.00004c83@plea.se>
Den Fri, 2 Mar 2018 11:17:14 +0000 skrev smf <smf@null.net>:
> On 02/03/2018 10:16, Mia Magnusson wrote:
> 
> > Which one, $E or $F? And why? 
> 
> Assuming the 6509 in the p500 works the same as the 6510 in the c64, 
> then you can use the vic2 fetches to write to ram underneath $0/$1
> 
> http://codebase64.org/doku.php?id=base:ram_beneath_00_and_01
> 
> If so, it would be possible to write code for the p500 that would put 
> vic2 in 0-3fff of either of the ram banks and use the $3fff mechanism
> to write to $0/$1. It would work on real hardware, but not on your
> replacement.

True!

> The only way to emulate this behaviour is to disconnect the databus
> and let it float, which requires new hardware.

No, you can emulate it by writing to the currently selected bank as a
real 6509 does, but read from a non-existing bank.

B.t.w. are there any software at all for P500, except it's built in
kernal/basic roms? :)

-- 
(\_/) Copy the bunny to your mails to help
(O.o) him achieve world domination.
(> <) Come join the dark side.
/_|_\ We have cookies.

       Message was sent through the cbm-hackers mailing list
Received on 2018-03-02 13:01:07

Archive generated by hypermail 2.2.0.