3 ms·
Is this not what Linux's Framebuffer can be used for?
by ChrisSD 6y ago
Is this not what Linux's Framebuffer can be used for?
- codazoda 6y agoI guess it is, but it seems a lot more complicated then doing... SCREEN 1 CIRCLE 25, 25, 10 Then it seems that the framebuffer isn't enabled by default in some Linux distros, so you can't just write a command line tool that draws on the screen for whoever... Still, maybe I'll experiment with it for a home slot machine project I'm working on.
- bluedino 6y agoThere used to be this thing called SVGAlib in Linux... #include <stdlib.h> #include <vga.h> int main(void) { vga_init(); vga_setmode(G320x200x256); vga_setcolor(4); vga_drawpixel(10, 10); sleep(5); vga_setmode(TEXT); return EXIT_SUCCESS; } Sure, not quite as simple as a BASIC program, but very familiar to those of us who grew up with BGI in Pascal or C.
- pjmlp 6y agoWhich required root to execute.
- jburgess777 6y agoWhen you ran basic code you were effectively root, you could peek or poke any memory address or hardware register.
- pjmlp 6y agoMy first computer was a Timer 2068, yet there is a reason why we aren't any longer running those systems.