djbottrill / esp32-z80-emulator Goto Github PK
View Code? Open in Web Editor NEWZ80 Emulator for ESP32 including Basic and CP/M 2.2
Z80 Emulator for ESP32 including Basic and CP/M 2.2
With the actual (Jr-cutdown) version of the V2 emulator mostly everything seem to work (input, output, DIR, sdfiles, sdcopy etc) and I can exit MBASIC with the system command and the emulator says "CPU halted" and reboots (freeing the system-memory/TPA or is reloading the "CCP") - whch seems the right action after leaving MBASIC.
On the other hand when I try to exit Wordstar 4.00 (WS.COM) with the X command the emulation seem to hang/freeze.
This also happens with Wordstar 3.30
I have attached a zipped O:-Drive (o.dsk) with Wordstar 4.00
Maybe could you try in your original compiled Emulation if it will also freeze?
Could this be a mishandled CPU-Instruction? Could you trace this on your side?
Thanks in advance :)
O.zip
Your Emulator is working fine when using ESP32-Core v1.0.6 - Thanks :)
But when using a newer ESP32-Core v2.x.x the SD-Commands like sdfiles
got problems :(
sdfiles does show the content of the directory (/downloads) but then the ESP32 does disconnect/restart.
Did you ever test a newer ESP32-Core? Or do you got an idea what to change?
While compiling the follwoing warnings/errors are shown:
In function 'bool SDprintDir(fs::FS&)':
.ino:504:1: warning: no return statement in function returning non-void [-Wreturn-type]
I also created a feature cudown version of this emulator to get it to work with a WeMOS D1R32 (normal ESP32) and a Deneyap Mini (ESP32-S2)
The ESP32-S2 does need ESP32-Core 2.x.x because it isnt supported in ESP32-Core v1.0.6
Many thanks for informations & ideas in advance :)
Hi,
maybe you got an idea for me?
I ported the my CutDown/Junior-Version of your emulator to a TTGO VGA32 which does use FabGL-Library-Terminal for VGA-Output.
Now I want to track down some issues:
Input-Problem:
On some circumstances I have to press Enter/Return twice to get it recognized.
The first time after start is after the Emulator displays "Starting Z80".
There I have to press enter to get a prompt.
At the A> prompt when I only press Enter or press Enter after some Spaces it does work.
When I give the DIR command the Cursor does go to the start of the Line after the first time I press Enter (LF?) and after the second time I press Enter (CR?) it starts the command.
Output-Problem:
I could do give the command DIR serveral times (Ok with pressing twice Enter) and the output works fine.
But when I start a BASIC-program with a Mandelbrot/Fractal which should output many lines it stops after some lines and I have to press any key to get further display-output.
If you got an VGA32 or would be so nice to take a look at the source - you will find it at https://github.com/guidol70/RC2014_ESP32_Z80_Emulator_VGA32
[EDIT]
via the Source-Code I rerouted the emulator output to the USB-serial port of the VGA32 and there is no input/output-problem ;)
So I will try to ask the author of FabGL if he has an idea :)
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.