Re: Hardware emulation of 6509 using 6502?

From: Michał Pleban <lists_at_michau.name>
Date: Wed, 28 Feb 2018 10:33:17 +0100
Message-ID: <5A96775D.1040008@michau.name>
Hello!

Jim Brain wrote:

> I so notice that the 6509-powered B128 halts for a few seconds before
> the BASIC prompt appears, while the 6502 one immediately boots to
> BASIC.  So, I must still have something wrong.

No, this is exactly what is expected.

The original 610 "halting" during boot is the memory test - it tries to
test every byte in the DRAM and notes the amount of total memory found.
This takes lots time in an unmodified KERNAL (I modified mine so that it
tests only every 256th byte).

Whereas your 610 with 6502 has no memory banking as of yet, so it cannot
find any DRAM, therefore it does not perform any RAM test and boots
instantly (or more precisely, it fails the memory test on the very first
byte). That's what it should do.

If you try to type any BASIC program, it should give you "OUT OF MEMORY
ERROR". The function keys will also do not work. However, I *think* you
should be able to issue immediate statements such as CATALOG.

> But it does boot.  And, I removed the synthesized clock and just used
> !PHI2_6509 and all works, as does PHI1_6509 (as defined by the
> datasheet).  I also removed the '245 buffer on the data pins, and it

Well, congrats on that!

Regards,
Michau.


       Message was sent through the cbm-hackers mailing list
Received on 2018-02-28 10:00:03

Archive generated by hypermail 2.2.0.