sounds good to me - cant wait to order a couple :)
Thanks Ken - that is very generous of you, especially for the DIYers among us. Would normally go that route but soldering!!!
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...
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
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...
Sorry to be so vague. You answered my question. I think I understand how this is all working now (y) I have been testing things in the H19Out() function in the "devices.h" file.
I Agree. I can lose track real easy that way. I do have a simple...
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...
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...
The M.2 WiFi modules came today.
Sure enough, I did get the M.2 standoff misplaced a bit but it just barely mates with the module's oversized hole.
Now I have a lot of software experimenting to do.....
Thanks, I did find the -r option definition and strangely enough tried -r 20 which did not work and then -r15 which did work. Did not know about the -N option in clink.com. Been a long time since I used this stuff :D I am now playing with...
Sorry for the slow response.I have been working with the SD cards as well and found that the only time I get the ACDM41 error is with a card formatted as FAT16. Also copying files between drives is hit and miss with all three cards plugged in. If...
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...
I appreciate the mentions, but to make it easier for people to find my website (and help my search results), I do want to point out that it is ProtoSupplies.com. All one word.
For those unfamiliar, I customize Teensy 4.1 with many different...
Wish list. For libraries like SDFat, that the Teensy version is not compatible with the library owners version, we really
should come up with a version that works when the official version of the library is installed by the library manager.
As...
Looks even more interesting. Just for reference found this from ublock: https://www.u-blox.com/en/product/m2-maya-w1-series?legacy=Current#Documentation-&-resources. Also from that page if you look at the evaluation kit PDF:
1.4 Software
A...
Today I discovered ublox also makes a module with the same IW416 chip Murata 1XK, and they also sell it on a M.2 module. Digikey has them in stock. Looks like the same pinout, so likely to also work (assuming I can get the software going)...
Good to know on 1DX. Hopefully 1XK will be the same.
For these 5 signals I didn't know how to connect, I just routed them to that 8 pin header so they'll be relatively easy to access if actually needed. Two of them have pullup resistors, but...
Double-sided tape on the standoff and no-one will ever know it's taped :)
I noticed the '32Khz' on the silkscreen, which I assume is to provide the external sleep clock. We had some debate on this with the 1DX when it was not showing signs of...
Thanks for the update Paul was kind of curious on what their thoughts would be on the addition boards.
EDIT: As you said they are going to have their hands full on supply chain issues. At least thats one issue you and Robin don't have to worry...
Turns out the circuit boards (msg #29) that I ordered from China on July 3 will arrive today (Monday), but the 1XK eval boards I ordered from Texas on July 2 won't come until Wednesday. Also due to arrive Wednesday are the 1DX and 1YN boards...
Screens. It's really nice being able to get an ESP32 already wired to a screen, it saves so much spaghetti wiring in my projects and reduces radiated noise. I really like the design method of having the CPU behind the screen and using that as the...
I started a deep dive into the Linux kernel source, since there just doesn't seem to be any 1XK programming documentation. Haven't gone very far yet, but I'm pretty sure this struct is the device info and this other struct is probably the actual...
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...
I drafted a quick PCB layout to connect the 1XK eval board to Teensy 4.1.
Hopefully both will arrive by next week.
If anyone's curious, here's my notes about the connections.
M.2 Signal Teensy 1XK Notes
---...
Speeds are pretty easy to set.
There are four clocks, and 16 divisors.
choose a clock:
0 = 396 MHz
1 = 720 MHz
2 = 664.62 MHz
3 = 528 MHz
and a divisor from 0 to 15 (0 = 1, 15 = 16)
Then it's a simple matter of:
CCM_CCGR7 &=...
For completeness here is your sketch without the cursor controls being used. Their was a problem with the erase function leaving a dead currsor in none blink mode. That problem was also solved with the fix. Just not sure how or why :unsure:
//...
Found it :D
It's a case of rouge code in textxy():
bool isActive = false;
if(tCursor.active) isActive = true;
getChar(tCursorX(),tCursorY(),tCursor.char_under_cursor);
tCursorOff();
Shoud be:
bool isActive = false...
It's funny because this (my test version):
// This section does the deed.
vga4bit.textxy(0,h19Row); // Set text cursor to new print window starting position so
// it will be restored to the start of our new blank...
In addition to Arduino Giga, I ordered a couple of this eval board with the 1XK module. Will make a M.2 adaptor PCB soon...
1XK is more expensive, but it's dual band. Most routers have 5 GHz Wifi and many upstream internet connections are...
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...
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...
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...
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...
Hi,
That is a great project!
The current lack of Wifi/BT is the only reason I may use an ESP32 over a Teensy for specific projects. Personally, with proper connectivity, I think I would only use Teensys as it is so much nicer to work with. :)...
@tomicdesu - Finally finished with the fixes. I pushed them up to VGA_4BIT_FIXES branch. What was happening was first, "setPrintCWindow()" was not saving the current position of the text cursor and "unSetPrintWindow()" was not restoring the print...
Are you trying to insert one complete line or a certain number of characters in a line? I have an appointment to go to right now but will check this out when I get back. I will make sure there is no issue with scrollDownPrintWindow(). I believe...
@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...
@Paul - If you are getting a GIGA R1 WIFI for exploring the CYW4343 then here is some info on my adventures with this. I initially started out testing and exploring the 1DX with my GIGA R1. I think Arduino's code, (buried in and spread all...
Hi Mike
Sorry to hear that - but I know the feeling about not wanting to solder those small parts anymore. The eyes aren't the same, not as steady and not enough patience anymore.
Hope everything turns out ok.
On the software side, wondering, we can can also learn a lot some of the stuff from the Arduino Libraries. In addition, you might
learn some additional stuff looking at what the zephyr group is doing to support SDIO with the STM32 boards. And...
As Paul has mentioned, Proto Supplies sells Teensy 4.1 with one or both memory slots soldered in. I've used them for the last couple of Teensy 4.1's that I've bought. While I can still solder through hole stuff, SMT soldering has become...
Just to add on to the SDRAM board by @Dogbone06 it was nice that we had enough pins for parallel displays like the RA8875/76 displays which @KurtE and I have for that board that makes life easier instead of all the wires
I'll make the smallest batch possible of each. 2x 1DX and 2x 1YN. Both batches will be shipped to PJRC. This is my contribution, I can't really do anything in terms of coding development.
Let's start with just 1 or 2 of the 1DX chip, since that's what everyone else has. This board only brings out the SDIO signals, so probably best to save those 1YN chips until another design that can bring out the 4 serial and 4 audio signals...