4 ms·
I wish you could still do graphics this way on modern computers. Take Linux for example. It would be cool if I could just install command line Linux on a machin
by codazoda 6y ago
I wish you could still do graphics this way on modern computers. Take Linux for example. It would be cool if I could just install command line Linux on a machine and then switch to "graphics mode" without having to install and configure a whole desktop.
I might use such a thing for some projects I'd like to build.
- rini17 6y agoYou can program this way anything with adafruit display. I have LilyGo T-Watch and programming graphics feels like back in the 90's :)
- ChrisSD 6y agoIs 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.
- fanf2 6y agoThe most convenient graphics now is probably JavaScript and a canvas in a browser, but it is quite a lot more faff to get started than BBC BASIC was.
- codazoda 6y agoFunny you mention it. I actually wrote a series of books to teach total beginners programming using this method. https://splashofcode.com https://splashofcode.com
- musicale 6y agoYeah, it's a pain. I want Firefox to just come with a button that opens up a javascript console and editor with a canvas so you can start programming. I wonder if things would be different if every web browser came with a user-friendly (and beginner-friendly) programming environment.
- dragonwriter 6y ago> The most convenient graphics now is probably JavaScript and a canvas in a browser Really? I think most Logo derivatives, Microsoft Small Basic (Windows only), SdlBasic, QB64, and lots of others have more convenient graphics than JS with the Canvas API.
- parenthesis 6y agoI would gladly settle for a gui terminal program that has a simple api for drawing graphics in the terminal window. Like curses but for graphics.