skx / z80retroshield Goto Github PK
View Code? Open in Web Editor NEWArduino library for driving the Z80 retro-shield.
License: Other
Arduino library for driving the Z80 retro-shield.
License: Other
Hi,
I got a Z80 Retro Shield and was looking for a good sample and found your project.
I was able to get BASIC working right away. Very useful project.
Thank you very much.
Next I ran your project on an AT SAMD51 (Cortex M4 120MHz) board instead of an AT Mega 2560.
It ran fast.
My working branch on my github includes these changes below,
https://github.com/hanyazou/z80retroshield/commits/adafruit-grand-central-samd51
If you are interested in this fix I would like to send you a PR.
Please take a look at my branch.
Best regards.
12:43:52.226 -> Z80 configured to run endless stream of NOPs.
12:43:52.226 -> Cycle/Second will be dumped once per second.
12:43:52.226 -> Cycles per second second:63
12:43:52.991 -> Cycles per second second:1262937
12:43:54.019 -> Cycles per second second:1263436
12:43:55.020 -> Cycles per second second:1263236
12:43:56.016 -> Cycles per second second:1263336
12:43:56.997 -> Cycles per second second:1263436
I should port the BASIC interpreter over as an example.
This is more complex than the other examples:
in (0),a
and out (0),a
for serial I/O.in (1),a
and out (1),a
for setup of serial-port.in (1),a & 0x02
then fetch a character.So either the interrupt routine needs to be handled differently, as a timer, to poll, or I need to export new CPU primitive for raising/clearing the NMI pin.
I found a FORTH implementation for a Z80 system here:
However it assumes that there is a lot more RAM than available; the driver is essentially the same as that used in our BASIC example - so porting it should be trivial - I've ordered some SPI FLASH-RAM which will allow me to access 64k of RAM, however the downside will be that such external RAM will be mandatory.
Still it will be a good "big" example to add.
For neatness we should:
ram_read
to memory_read
.ram_write
to memory_write
.Leave the old names for compatibility though. Sigh.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.