this post was submitted on 13 Feb 2026
168 points (98.3% liked)
Technology
81118 readers
4697 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related news or articles.
- Be excellent to each other!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
- Check for duplicates before posting, duplicates may be removed
- Accounts 7 days and younger will have their posts automatically removed.
Approved Bots
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I made one myself many years ago for DOS, but mine renders in 512 pseudo halftone colors from a base palette of 16 colors. Results look pretty nice for whatever it's worth, but yeah mine doesn't focus on their efforts to get more crisp edges.
Still neat though, food for my thoughts even, should I ever revisit my old project.
Yes you should, this would be awesome with a special focus on the crisp edges!
I'm not exactly sure how I'd incorporate both techniques into the same rendering system though.
My method doesn't use letters, numbers or punctuation characters, mine uses the DOS mode block characters, blank space, 25%, 50%, 75% halftone characters, and the 100% solid block character.
I could probably get a little closer to sharper shape edges with my method if I add in the upper half block and lower half block characters, but when using those characters I'm no longer able to use the halftone dithering and would be limited to 8 background and 16 foreground colors..
I dunno where I'd really even start (over) again to use alphanumeric characters with my text rendering method...
Maybe converting the DOS blocks to ANSI blocks. But i don't know if this is feasible with your coding...
Yeah, I don't think that's particularly feasible with my prime directives in coding things meant to render on a potato. If I'm ever gonna revisit that old code again, I want it to continue to be able to run on old-school 286 CPUs, real raw hardware.
Like sure I don't mind writing old QBasic/QuickBasic code under an emulator, but if I'm writing on such an antiquated language for legacy hardware, I wanna be able to transfer it to a floppy disk and run it on actual hardware from the era.
Other than that, going back to the good old days, I don't see much reason to do such coding on modern systems. Though I will say this much, neofetch and the newer fastfetch are pretty awesome character based sysinfo utilities!
I just don't see myself trying to jump through conversion hoops such as ASCII to ANSI for such a project to even keep me awake..
Would love to see your implementation. Have you considered making it public?
Sure, have at it!
Sorry it's not a full complete dump with examples, but it's programmed in QBasic 1.1 and converts raw RGB pixel data into equivalent closest matching color halftone onscreen characters. I designed it in mind with DOS text modes of either 80x25, 80x43, or 80x50 text modes, but I'm sure the technique can work with any text mode that can properly render the old DOS block characters. But, I'm betting that whatever device you're using right now is almost certainly not configured to display the old DOS block characters as they were back in the day.
Good luck!
You are amazing. Thank you very much for delivering! Half of the fun is discovering how it works without examples so no need to apologise :^)
I need to look into running QBasic on my M4. Unsure about my options for now. Worst case scenario I spin up a VM tomorrow.
Meh, DOSBox is plenty suitable enough, and QBasic is easy enough to find...
https://winworldpc.com/product/qbasic/1x
I can't promise that DOSBox emulated results will give the exact color results as original old-school hardware on an old CRT, but results should still be mighty close.
The raw input data files are pretty simple to generate with most graphics software, just downsample down to potato 80x25, then export to raw 888 RGB format.