New Project: 65c816 Soft SoC with Serial SRAM 23LC512

Let's talk about anything related to the 6502 microprocessor.
Jmstein7
Posts: 379
Joined: 30 May 2021

Re: New Project: 65c816 Soft SoC with Serial SRAM 23LC512

Post by Jmstein7 »

hoglet wrote:

Another even simpler idea would be to just make the "ROM" writeable! Then you could so the copy in software.

Dave
You just read my mind. I was hesitant to do that, because there could be unintended consequences of making ROM into RAM. But, If I tucked a little xmodem-based program (for the sake of ease) somewhere in the address range outside of the current "ROM" address range, I could call it from the monitor and then use it to overwrite the monitor.

What do you think?

Jon

Oh, PS: I got that Pynq Z2 board you showed me a while ago. Amazing piece of hardware! It kicks the butt of the Arty Z7.
hoglet
Posts: 367
Joined: 29 Jun 2014

Re: New Project: 65c816 Soft SoC with Serial SRAM 23LC512

Post by hoglet »

Jmstein7 wrote:
What do you think?
That should work, give it a try...
Jmstein7 wrote:
Oh, PS: I got that Pynq Z2 board you showed me a while ago. Amazing piece of hardware! It kicks the butt of the Arty Z7.
Yes, I haven't done that much with mine, because I really hate Vivado. I did do a port of the Beeb FPGA last June, which uses HDMI and allows a USB keyboard to be used. It's still sitting on the dev branch. This is the top level design.

Dave
Jmstein7
Posts: 379
Joined: 30 May 2021

Re: New Project: 65c816 Soft SoC with Serial SRAM 23LC512

Post by Jmstein7 »

hoglet wrote:
Jmstein7 wrote:
What do you think?
That should work, give it a try...
Jmstein7 wrote:
Oh, PS: I got that Pynq Z2 board you showed me a while ago. Amazing piece of hardware! It kicks the butt of the Arty Z7.
Yes, I haven't done that much with mine, because I really hate Vivado. I did do a port of the Beeb FPGA last June, which uses HDMI and allows a USB keyboard to be used. It's still sitting on the dev branch. This is the top level design.

Dave
Speaking of the Beeb, I just watched Micro Men for the first time. I had no idea all that went on on your side of the pond - very interesting stuff! I hear Sinclair just passed away recently.
Jmstein7
Posts: 379
Joined: 30 May 2021

Re: New Project: 65c816 Soft SoC with Serial SRAM 23LC512

Post by Jmstein7 »

hoglet wrote:
Jmstein7 wrote:
What do you think?
That should work, give it a try...
Jmstein7 wrote:
Oh, PS: I got that Pynq Z2 board you showed me a while ago. Amazing piece of hardware! It kicks the butt of the Arty Z7.
Yes, I haven't done that much with mine, because I really hate Vivado. I did do a port of the Beeb FPGA last June, which uses HDMI and allows a USB keyboard to be used. It's still sitting on the dev branch. This is the top level design.

Dave
Dave, it worked!!! Now, if you want to replace the monitor ($C000-$FFFF), there is a small bit of hard-coded ROM at $B000. If you run it (B000R at the built-in monitor), it will start an Xmodem transaction that will allow you to upload a .prg file to replace the current monitor - all without re-synthesizing and re-implementing the whole thing!

Jonathan
Jmstein7
Posts: 379
Joined: 30 May 2021

Re: New Project: 65c816 Soft SoC with Serial SRAM 23LC512

Post by Jmstein7 »

Now I just need to re-write the monitor to take total advantage of the 65c816 native mode - I couldn't find any pre-existing 65xx monitors that weren't written for the 'c02.
handyandy
Posts: 113
Joined: 14 Sep 2015
Location: Virginia USA

Re: New Project: 65c816 Soft SoC with Serial SRAM 23LC512

Post by handyandy »

You might investigate BDD's SuperMon 816 here: http://sbc.bcstechnology.net/
click on Downloads on left.
User avatar
drogon
Posts: 1671
Joined: 14 Feb 2018
Location: Scotland
Contact:

Re: New Project: 65c816 Soft SoC with Serial SRAM 23LC512

Post by drogon »

Jmstein7 wrote:
Now I just need to re-write the monitor to take total advantage of the 65c816 native mode - I couldn't find any pre-existing 65xx monitors that weren't written for the 'c02.
When I moved from 65C02 to my '816 boards I more or less kept the same C02 code and took the view that it was then up to the application to switch to native mode if it needed to. That made it easier to run up things like BBC Basic and so on.

-Gordon
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
Jmstein7
Posts: 379
Joined: 30 May 2021

Re: New Project: 65c816 Soft SoC with Serial SRAM 23LC512

Post by Jmstein7 »

drogon wrote:

When I moved from 65C02 to my '816 boards I more or less kept the same C02 code and took the view that it was then up to the application to switch to native mode if it needed to. That made it easier to run up things like BBC Basic and so on.

-Gordon
That's what I'm using now, but the issue is that you can't access addresses beyond the first 64k (with, say, a traditional WozMon).

The other thing I'd like to try - but I don't know where to start - is going beyond just simple text over UART to some sort of primitive graphics. I still want to take input over serial, but I want to learn how to do VGA and character ROMs and maybe output to a VGA monitor.

Jon
Jmstein7
Posts: 379
Joined: 30 May 2021

Re: New Project: 65c816 Soft SoC with Serial SRAM 23LC512

Post by Jmstein7 »

handyandy wrote:
You might investigate BDD's SuperMon 816 here: http://sbc.bcstechnology.net/
click on Downloads on left.
I like what you wrote on your site about the question of obsolescence. Heck no! :-)

Jon
User avatar
GARTHWILSON
Forum Moderator
Posts: 8775
Joined: 30 Aug 2002
Location: Southern California
Contact:

Re: New Project: 65c816 Soft SoC with Serial SRAM 23LC512

Post by GARTHWILSON »

Jmstein7 wrote:
I like what you wrote on your site about the question of obsolescence. Heck no! :-)
Forum member Samuel Falvo (kc5tja) has a couple of good related essays:

http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
Post Reply