Used the GUI to construct a basic serial terminal.
It is very limited, but think it will work for something I need...
Uses 8 cogs now, not all very efficiently...
Added one each for serial transmit and receive.
Last one processes incoming characters and turns into text array.
Used the GUI to construct a basic serial terminal.
It is very limited, but think it will work for something I need...
Uses 8 cogs now, not all very efficiently...
Added one each for serial transmit and receive.
Last one processes incoming characters and turns into text array.
Very nice! I bet you could get it down to two cogs: one for video and one for serial I/O and screen updating. And, if you had to... one cog, where you'd handle the video and serial on interrupts.
If you rearranged your draw code to something like the original P1 graphics.spin, you would have to store a tile map to reproduce your current bitmap, but it's not that big.
What you get in return is optional character mode windows and partial buffering. The mouse would have to get processed last and added in as a single sprite. Being only one, that may be pretty easy. Do it last, in blank, just before live pixels.
Users could choose. Bitmap draw everything, or redirect tiles, character mode style.
Comments
Added user long to each object so that common code can handle multiple similar items.
Anyway, this one does something mildly amusing... Shows the state of several of the I/O pins that are tied to green LEDs on P123.
It is very limited, but think it will work for something I need...
Uses 8 cogs now, not all very efficiently...
Added one each for serial transmit and receive.
Last one processes incoming characters and turns into text array.
Very nice! I bet you could get it down to two cogs: one for video and one for serial I/O and screen updating. And, if you had to... one cog, where you'd handle the video and serial on interrupts.
In that case, I bet one or two cogs would be enough...
What you get in return is optional character mode windows and partial buffering. The mouse would have to get processed last and added in as a single sprite. Being only one, that may be pretty easy. Do it last, in blank, just before live pixels.
Users could choose. Bitmap draw everything, or redirect tiles, character mode style.
P1 TV text is an example of this.
A text window is a bad example for a graphical GUI.
But, I just happened to need one and this was the easiest way for me...
You can use the mouse to push buttons or click on color in the bitmap.
My USB test board happened to have a servo connector that made it easy to hook up the WS2812B RGB Led.