Earlier quoted context omitted.
No, this is technically not fully correct. Early text based display output systems were relying on special character generator hardware to generate the display signals producing the text on screen. Those systems did not have any means of generating arbitrary pixel patterns.
Do you have an example? All the 8-bitters I know drew the characters from memory, which was a character ROM per default but could be changed either with a screw driver or by bank switching some RAM in-place. EDIT: If you mean they were not copied in a frame buffer first, you are right. I should not have written 'blitting'.
Mousefood – Build embedded terminal UIs for microcontrollers
41–48 of 48 posts
Re: Mousefood – Build embedded terminal UIs for microcontrollers
#42Earlier quoted context omitted.
Oh bubbletea is really cool. Is this how most interactive CLIs are made?
I used bubbletea for a while but quit it because of inconsistencies in the design. Went to ratatui and never looked back. Go and Bubbletea are nice, but rust is much more suited for building tuis.
Re: Mousefood – Build embedded terminal UIs for microcontrollers
#43Earlier quoted context omitted.
Oh bubbletea is really cool. Is this how most interactive CLIs are made?
I used bubbletea for a while but quit it because of inconsistencies in the design. Went to ratatui and never looked back. Go and Bubbletea are nice, but rust is much more suited for building tuis.
I built RatatuiRuby recently, and I'm currently building Rooibos, its MVU framework to compete with BubbleTea. I'd love to avoid repeating Charm's mistakes.
Re: Mousefood – Build embedded terminal UIs for microcontrollers
#44Earlier quoted context omitted.
Do you have an example? All the 8-bitters I know drew the characters from memory, which was a character ROM per default but could be changed either with a screw driver or by bank switching some RAM in-place. EDIT: If you mean they were not copied in a frame buffer first, you are right. I should not have written 'blitting'.
The character ROM was not read and processed by the CPU. The CPU set some bytes in video RAM, which served as indexes into the character ROM by the video output hardware. I believe on some systems there were some tricks that allowed some bitmap display by redefining glyphs. One example off the top of my head is The 8-Bit Guy's Planet X2, which can use text mode but with glyphs redefined to use for icons, units, terra…
Re: Mousefood – Build embedded terminal UIs for microcontrollers
#45Earlier quoted context omitted.
No, this is technically not fully correct. Early text based display output systems were relying on special character generator hardware to generate the display signals producing the text on screen. Those systems did not have any means of generating arbitrary pixel patterns.
Do you have an example? All the 8-bitters I know drew the characters from memory, which was a character ROM per default but could be changed either with a screw driver or by bank switching some RAM in-place. EDIT: If you mean they were not copied in a frame buffer first, you are right. I should not have written 'blitting'.
No. Stop believing everything ChatGPT told you on this topic and DYOR. That's some bad hallucinations.
Re: Mousefood – Build embedded terminal UIs for microcontrollers
#46Earlier quoted context omitted.
Sure. Maybe I should not have written 'blitting' when the rectangles are not copied from one memory location to another but end up directly on the screen. My original point that putting a fixed number of small and fixed rectangles on a screen is more efficient than line drawing still stands though.
It's still wrong, though. Without dedicated sprite hardware it's not more efficient to read a byte from one place and write a byte to another than to write background bytes and write line colour bytes. DMA controllers on µCs won't save you: a character is usually something like 8x8 or 8x16 and displays are rarely more than 8 bit, so we're talking about DMA transfers of just 8 bytes each, and the overhead of setting t…
Re: Mousefood – Build embedded terminal UIs for microcontrollers
#47Earlier quoted context omitted.
Are you claiming that scrapping together boxes and whatnot with line drawing characters is more efficient than just drawing the lines directly?
I think they're claiming that having character-based pipelines and algorithms can be more efficient than doing everything on the level of pixels... I can't help but feel there's a middle-ground somewhere, though.
Re: Mousefood – Build embedded terminal UIs for microcontrollers
#48Earlier quoted context omitted.
Do you have an example? All the 8-bitters I know drew the characters from memory, which was a character ROM per default but could be changed either with a screw driver or by bank switching some RAM in-place. EDIT: If you mean they were not copied in a frame buffer first, you are right. I should not have written 'blitting'.
> which was a character ROM per default but could be changed either with a screw driver or by No. Stop believing everything ChatGPT told you on this topic and DYOR. That's some bad hallucinations.
Might be fun though to check with ChatGPT on how to use a screw driver in this context. :-)