BootLogo: Logo language in 508 bytes of x86 machine code
github.com
github.com
You're missing several reserved memory areas and state bits to reset. Check out my bootsector I have lots of comments on what things are needed https://github.com/fsmv/bootstrap-os/blob/master/bootloader/...
You can probably drop the extra sector loading code and error printing and only use the header and footer.
mov ax,0x0013 ; VGA 320x200x256 colors mode.
int 0x10 ; Set video mode.
Oh man that takes me back. Also this is sporting a fixed-point sin table and compiled down to a .com. It's like 1994 all over again.Browser emulator link: https://parkertomatoes.github.io/v86/?type=mbr&content=%2FLg...
TO CURVE REPEAT 4 [LT 10 FD 10] END
TO PETAL [CURVE LT 140 CURVE] END
TO FLOWER REPEAT 4 [PETAL LT 50] END
FLOWER
RT 180
FD 50
RT 140
PETAL
PU
FD 50
Emulator link: https://parkertomatoes.github.io/v86/?type=mbr&content=Dg4fB...
Turtle graphics != Logo.
Turtle graphics is a tiny tiny subset of Logo.
But let us not miss the forest for the trees. It is still very impressive that the tiny tiny subset of Logo fits in 508 bytes of machine code.
Thus, I tought computers where a crappy blackbox for College engineers and with no open knowledge. Until early 00's.
Then GNU/Linux came, with full manuals included for everything with Debian Woody and then Sarge. I tried to do the same with PostScript, it's kinda the literal same thing as Logo, but now the environment was much saner and understandable, with Emacs calling GV on demand, and the most importang thing: documentation. As simple was that. Bundled help files.
You didn't require books not found anywhere else, nor an internet connection, nor people really far from your blue collar relatives who had no connection to computers. The gap between the nerdy kid with young parents around computers and me became much smaller, and the GNU/BSD guys did an oustanding work spreading IT to anyone.
The Wheel of Time turns, and Ages come and pass, leaving memories that become legend. Legend fades to myth, and even myth is long forgotten when the Age that gave it birth comes again.
It's all vectors and arcs though some newer controllers do splines and other curves in hardware during execution using vendor specific instructions.
I was lucky to get a Debian release from a magazine in early 00's, my relation to computers did a 180 degree turn. That and retroemulation, I even learnt C64 basic just for fun under VICE/CSS64. From that era I loved Perl, text adventures, self-learning from books and lots of howtos on C and PostScript.
i learned logo in my native language (ptbr) when i was in middle school. it absolutely blew my mind that i could "automatically" draw things.
first thing i did when i got home was ask my dad for it -- it took him to find the proper floppy (he borrowed from a friend that was a CS teacher!).
fun fact: we didn't call it logo, we called it "the little turtle game".
(that being said, I get that full Logo would not be possible in 508 bytes)
On actual physical hardware it may well have booted before the power switch makes it all the way back up. Outrageous.
Or is it more theory?
This rather sounds like something that one could implement as an UEFI application.