Re: Difference between R65C02 and original 6502 (wrt 6509 emulation)

From: Mia Magnusson <mia_at_plea.se>
Date: Mon, 15 Apr 2019 17:32:15 +0200
Message-ID: <20190415173215.00001b35_at_plea.se>
Den Sun, 14 Apr 2019 21:43:28 -0500 skrev Jim Brain <brain_at_jbrain.com>:
> Thanks Michał for the testing.
> 
> I have updated the github repository with the v4 code here: 

Cool, nice work!

>   * I have also added support for the 65C816S in native mode, in which
>     the bank register is driven directly by the 'C816. Placing the CPU
>     into native mode will also switch into this mode, which means care
>     must be practiced to set up the '816 bank to match the current
> 6509 'Execution Bank' before switching into this mode.  Location $0
> and $1 will still be visible while in native mode in the current HDL.

Something that Michal and you might want conteplate: Would there be any
benefit for the new 8088 support software if it were possible to hide
the $0/$1 registers in '816 native mode? (For example, when emulating an
MDA display adapter, the first char and its corresponding attribute can
afaik not be read by the 65xx processor so any transfer from the
emulated MDA display to the CBM-II native display would need at least
two bytes copied to some other location by the 8088 processor. Also
disk operations that read/write memory feely can't access the first
two bytes in every 64k block. Maybe the benefit of being able to hide
those two registers is less than the cost (in work and chip usage) to
actually implement this though. Sorry if I'm bringing up stuff that
we've already discussed.


-- 
(\_/) Copy the bunny to your mails to help
(O.o) him achieve world domination.
(> <) Come join the dark side.
/_|_\ We have cookies.
Received on 2020-05-29 21:34:50

Archive generated by hypermail 2.3.0.