News for hackers. Stuff that matters.
Re:BootOS: Monolithic operating system in 512 bytes of x86 m... by acqq on Wednesday July 31, 2019 @01:09AM (#20571836)
> though I suppose it doesn't do the BASIC thing

What's this then?

   bootOS programs: (Oh yes! we have software support)

   fbird         https://github.com/nanochess/fbird
   Pillman       https://github.com/nanochess/pillman
   invaders      https://github.com/nanochess/invaders
   bootBASIC     https://github.com/nanochess/bootBASIC
And one can test the image:

"find a pre-designed disk image along this Git with the name osall.img"

Re:BootOS: Monolithic operating system in 512 bytes of x86 m... by kragen on Wednesday July 31, 2019 @01:23AM (#20571893)
Yeah, PC-DOS was able to invoke the BASIC interpreter included in the IBM PC ROM, but MS-DOS had to rely on GW-BASIC loaded as a separate executable, which might or might not be present. BootOS is the same, except that its BASIC is only 512 bytes and somewhat more limited than GW-BASIC, but astoundingly it is documented to include a full arithmetic precedence parser with parentheses. No string variables or floating point, but still, unbelievable.
Re:BootOS: Monolithic operating system in 512 bytes of x86 m... by acqq on Wednesday July 31, 2019 @02:02AM (#20572021)
The Basic in BootOS has also REPL, line editing of the Basic source and the backspace also works.

Also note the "system" command which returns you to the "shell" of BootOS. It works!

Re:BootOS: Monolithic operating system in 512 bytes of x86 m... by devnulloverflow on Wednesday July 31, 2019 @05:57PM (#20578969)
I meant that UEFI doesn't have a BASIC interpreter (though probably someone has written one).

I did not know that bootOS had one, but it does not surprise me given everything else I read on this thread.

Re:BootOS: Monolithic operating system in 512 bytes of x86 m... by acqq on Thursday August 01, 2019 @03:12AM (#20581662)
> I meant that UEFI doesn't have a BASIC interpreter (though probably someone has written one).

You wrote something else:

> Yes, BootOS very much in the same space as MS-DOS, although leaning even further on the "less-is-more" axis. It does the same basic things (though I suppose it doesn't do the BASIC thing).

Re:BootOS: Monolithic operating system in 512 bytes of x86 m... by devnulloverflow on Sunday August 04, 2019 @07:04PM (#20609802)
Yah, sorry about that. I replied before checking my memory of what I had written.

I thought I caught the error and deleted the erroneous response in time. But I didn't.

Re:BootOS: Monolithic operating system in 512 bytes of x86 m... by kragen on Thursday August 01, 2019 @11:03PM (#20590411)
Well, bootBASIC isn't included in the boot sector; it's a separate 512-byte program that can be loaded from the boot sector or by BootOS.