|
honey the codewitch wrote: I wish I drank, because this calls for a beer.
There has to be some type of equivalent celebration, it would be quite boring otherwise.
So what's next? Another dimension?
|
|
|
|
|
Now I have to write some display drivers so it can be used for something other than ASCII art rendering
Real programmers use butterflies
|
|
|
|
|
Ooh I'd like to see the code for those
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
Oh you will. Right now I'm poring over the datasheet for an ILI9341 but I may stop and do the SSD1306 first if it's simpler.
The problem with the ILI9341 is to get any performance out of it everything has to be asynchronous, including the SPI transactions and that makes it just ... complicated as hell.
I know the rule - make it work, then make it fast, but here's the problem: The asynchronous stuff is so necessary I don't need to profile to know it's going to be too slow without it - i already have a driver I wrote halfway a long time ago for a different codebase and that's why I know it's needs to be async.
And designing that is just ... I can't wrap my head around it yet. If I had more RAM it would be easy. But I don't.
Real programmers use butterflies
|
|
|
|
|
Sounds fun though - getting anything to run well on this little boxes is a challenge.
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
I wrote three methods in C# for a code project tip i made recently. It was so trivial I didn't even put a download link - copypasta only. It was very well received.
Meanwhile I am slaving over GFX - a replacement for Adafruit's graphics library that isn't tied to Arduino or even IoT, and can potentially support more devices and platforms.
So far, I've got like maybe one person following it. Meanwhile, coding it has kept me up, made me pace, even fret. I feel a bit like Poe, but the raven is my project, and not quite so dark as Poe's rendition.
At the same time it may drive me madd(er) through sheer attrition. Each day I feel like I'm a day away from the next article/phase of the project.
And for all this, by the time I'm done with it the article won't even be that long.
I don't strictly *need* this project. I could use Adafruit's offering with the arduino framework whenever i need graphics, but I want to move away from Arduino and I want this to work on ARM offerings as well - although so far I *despise* every arm toolchain I've found. The compile times are unreal
** as a side note, has anyone ever managed to make GCC compile object files in parallel and then link them at the end? That would massively speed up my compile times, and make building with ARM not make me want to burn my computer to the ground. NVM I found out how. You have to use make -j
Update! I'm loading fonts from old .FON files, rendering them to a bitmap and then rendering that bitmap to the console:
## ## ### ###
## ## ## ##
## ## #### ## ## ####
####### ## ## ## ## ## ##
## ## ###### ## ## ## ##
## ## ## ## ## ## ##
## ## ##### #### #### ####
### ### ##
## ## ####
## ## #### ## ### ## ##### ####
## # ## ## ## ### ## ## ## ## ##
## # ## ## ## ## ## ## ## ## ##
####### ## ## ## ## ## ##
## ## #### #### #### ### ## ##
Real programmers use butterflies
modified 25-Apr-21 2:59am.
|
|
|
|
|
honey the codewitch wrote: I feel a bit like Poe, but the raven is my project, and not quite so dark as Poe's rendition. That was when he realized he was dead, done for, joined the choirs invisible, and became an ex-parrot.
honey the codewitch wrote: At the same time it may drive me madd(er) through sheer attrition There's these moments where you scare me. This is one of them.
honey the codewitch wrote: I don't strictly *need* this project. You did see my posts of me hitting my head?
If you no need it, normal people won't accept you as normal. Because, you're not, for example.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Eddy Vluggen wrote: If you no need it, normal people won't accept you as normal. Because, you're not, for example.
That's par for the course. I'm a weirdo even among the weirdos. And yeah, I can be scary, but I am a mostly harmless muffin.
Real programmers use butterflies
|
|
|
|
|
With chocolate sprinkles?
Now I wants one, with warm chocolate milk. Dutch chocolate milk, anything else isn't worth a comparison.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
sure. why not?
Real programmers use butterflies
|
|
|
|
|
|
It's building a bunch of .o files as part of the build process after it cleans. Sometimes it cleans stupidly. Anyway, there's a zillion .o files that get compiled and linked whenever this happens. It can take at least a minute and my machine is no slouch.
Anyway, I really hate that, and I want to speed it up. I've figured out how to do it within Platform I/O at least with pio run -j N where N is the number of jobs
Thanks for the link. It may come in handy.
Real programmers use butterflies
|
|
|
|
|
OK - I hate to spoil thing when you've put in all the effort to finish the project but as I stirred my oatmeal/raisins/walnuts prior to the first spoonful I realized a serious problem.
Long ago, such text output enjoyed the use of endless streams of greenbar for printing truly meaningful messages that were strung across office walls. That was then. This is now.
So far as I can tell, these boxes of seemingly endless interconnected sheets of paper of the most worthwhile of printing projects are rarely available. In fact, the closest thing available is paper that comes in rolls and this is rarely suitable for printing.
Living in a beach community I think I see your only way out is to convince some sky-writing company to invest in your opus.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
TBH the ascii is just for testing. It's basically a text based "display driver" I wrote just so I could see the output of my gfx lib on a PC without having to build like a Gnome app or something.
Real programmers use butterflies
|
|
|
|
|
Sometime you have to take me more literally.
You know - regular addition of your "Banner 2021", or the deluxe edition, the "Banner 2021 Suite", which works on both regular and two-ply.
Later version could include spewing out words of wisdom (or warning?) whilst the appreciative audience (usually one at a time?) gazes in wonder.
Hopefully the forgoing dispels your confusion.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
W∴ Balboos, GHB wrote: In fact, the closest thing available is paper that comes in rolls and this is rarely suitable for printing.
Cash register paper rolls?
@code-witch, there's your next project - write a driver to interface your graphics library to a cash register printer.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
With an obscure bug that results in the execution of
while(true) cout << '\f';
|
|
|
|
|
actually... that wouldn't be hard, and I've done something similar before while writing point of sale, to order ticket integration for restaurants.
Real programmers use butterflies
|
|
|
|
|
Looking to sell my Delorean, good shape, low mileage.
Only driven from time to time.
|
|
|
|
|
Time vs. mileage.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Only driven a few years?
|
|
|
|
|
Was driven by an eccentric scientist who only used it on a special track to drive into the past.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
No drivers license. I was talking about the missus:
Mike Hankey wrote: good shape, low mileage.
Only driven from time to time.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
in the future or in the past?
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Heavy.
|
|
|
|