Sure!
Well "type it in" into a .ASM source file and compile with ASM.COM or equiv, and follow the usual CP/M rules, yes.
Or you could literally just type them in, directly to memory, using DDT.COM. I've done this. It accepts Intel mnemonics...
Another way might be to leave the DMA'd portion of the design as-is to shuffle pixels to the screen, which it's already very good at; and do all windowing at the character level. Currently-active window could be the one with the cursor. Lines and...
Give me a little time to experiment with this and develop some examples that build on this idea. Right now each window is based on an instance of:
typedef struct {
int handle = -1;
bool isOpen = false;
bool active = false;
uint8_t x1...
New release, just now; has your FIXES version. I think the weird disk stuff is gone. Notes:
https://www.bleeve.me/eZ80/Release/eZ80.3-11Jul2025/ReleaseNotes.11Jul2025
SOOOOoooo.... I just read all the MP/M II docs... and it would not be that hard to implement. It does real preemptive multitasking! On an 8080! The shop I worked at in the late 70s brought one up, MP/M 1, not II (2), with the off-application...
Not sure what you're asking?
The Z80 sees everything as I/O ports, true. The z80 emulator calls Devices::inPort (n) and outPort (n, val) and the Teensy handles it from there.
The teensy side code uses an event model. Each .h tab is a single...
The one thing I seriously miss editing and compiling, not available on CP/M, is an edit window and a test/debug window. Constantly quitting and restarting is tedious. And a 768x1024 screen is just big enough to split...
With Teensy handling the...
Oh, no hurry at all!
Aha! I have not been paying attention to the filesystem type at all. I'll go look at mine.
Exactly that. A: is the 4-bit SDIO so besides faster, it's electrically isolated.
I didn't pay enough attention to the SD card...
All's going well with the machine, and back from Tear Down, besides fixing bugs generally I am concentrating on SD cards.
I wrote a disk (SD) tester, runs on the Z80 side, to stress test my code (blocking/deblocking and multidrive and buffering...
@tomicdesu - I have your board up and running now. Nice work man(y)
Works with wireless keyboard and probably mouse. Kind of through me off at first after programming the T41 I plugged in the USB C power cable and things lit up but the T41 did...
To address your mentioning of the SD card error in the VGA thread...
There is a sporadic problem when two SD cards are inserted at once. The mere presence of the second (on the SPI buss) card seems to cause problems with the first. I think I...
AH!!! Nice! OK got it, and that makes sense.
So scroll does the tCursorOff() only if it's displaying at scroll time? So I can remove my explicit controls?
I also did explicit tCursorOn() after moving the cursor so that it immediately displays...
I see what you are talking about. There is still a problem with with the blinking cursor and scrolling. It happens when doing multiple consecutive scrolls. Won't sleep tonight until I check it out:D I am trying to avoid using tCursorOff() and...
Hey here's something to think about on your "cursor problem" -- I don't think it is --
vga4bit is usable as-is as a "glass tty", in ancient parlance. But it's a hell of a set of primitives for more sophisticated stuff, like emulating VT100 or...
Neato!! Thanks!
Lol I always fear I send one to someone-not-me and it catches on fire or runs out the door or something. I'm in the Great Middle of the project -- most things work as intended, but I'm whacking bugs daily. As you know, working on...
I cobbled your code into this test program with manual commands, so that I could watch how text xy moves.
It appears to work correctly, maybe an off-by-1 in height but that could be easily fixed with the call to scroll, and its as likely my FU...
OK cool! I will install the latest library and check this out. That was fast work!
I'll try this out ASAP. If I have any issues, I'll write a small test program to replicate it. I've already thought that out.
I'm trying to implement a terminal emulator (H19/H89) "insert line" function and failing. I'm assuming I'm doing something dumb and overlooking something obvious and maybe fresh eyes will see my blunder. I'm using the latest library...
Excellent! Thanks! I'm pushing hard to get my s**t together, a new code release, 10 boards working, and the software distribution etc. I'm heading to Tear Down in Portland, on the 20th. I'll bring one there...
Let me clean a few bits up and put it somewhere. I'll just have it set to output to serial console for now so you don't have to mess with an LCD. You will need 16 MB of PSRAM on your Teensy though.
I'd be totally flattered if you had one of my boards. I have 10 version 3 boards, with repaired LPT ports, Im working on the last missing feature (keyboard scan code maps) likely needed for people using not-my-keyboard, no big deal, done in a day...
Still impressive. Have you looked at wwatson's VGA_4BIT? It does VGA display via DMA. It's been absolutely rock-solid for me. A few bugs (reverse scrolling), and scroll is via movmem not fiddling start registers but it's otherwise great and very...
Wow, this is really great! Do you have any approximate estimate of speed equivalence?
I've been thinking about emulation of processors on which one might actually use to do work; I was thinking of exploring Desqview/QEMM and Desqview/X, in...
Thanks to the wonderful culture of folks' here I was able to put together a fully functional standalone CP/M-80 version 2.2 machine using Teensy 4.1. None of the host teensy code is visible, it boots Z80/8080 code like a 1978 machine, with all of...
I'm using Arduino 1.8.x on a laptop with A311D CPU, 8GM ram, Debian unstable, and Teensy 4.1. "Most of the time" the uploader works correctly -- erase, program, then returns to the "press Button on teensy..." ready state. But often enough it...