VGA yellow on VGA white is still unreadable.
Here's a screenshot. It's honestly all readable, but there's no way to set the background to color 15 (#FFFFFF)
Here's a mockup of what COLOR 14,15 (yellow on bright white) would like like, and yep, it's unreadable. XD
Ooo, I like that. Bit of a #synthwave vibe!
@rl_dane Looking at the hashtag, apparently that's "electric purple", according to a bot that really wants us to know that. Meh. It's "computer purple" to me.
Anyway, believe it or not, GW-BASIC was one of my earliest programming environments, thanks to an older teacher who I guess was set in his ways. :P
I didn't use it extensively, but it was familiar to me, because the BASIC on both the Apple ][ and Commodore 64 was Microsoft BASIC.
Which was, for the record, a pretty terrible implementation. I mean, their floating point implementation was on... point, but the variables are just terrible. Only the first two letters are used. Also, all numbers are stored as strings internally. ACK. SLOW.
BRAH, just use a look-up table. XD
This might be an interesting point for inspiration:
https://en.wikipedia.org/wiki/SWEET16
@rl_dane OOH, I had a professor who brought that up, actually! He's a fan of this sort of stuff. I had no idea it was an actual p-code/bytecode/ISA, I thought it was just a helper library.
I'll check it out, thanks for the inspiration 😁
Coolness!! 🍻
@rl_dane @golemwire this is amazing. I bet ARM Thumb stole several parts of this idea.
And if he switched OPTBL and BRTBL around, he could have saved another byte.
Yes, this is why Commodore BASIC painfully lacked any commands for graphics and sound.
Kept the C64 crazy cheap, though. ;)
@rl_dane @golemwire ok, nerdsniping completed.
Create a file WEISS.BAS in your DOSBOX C: or whereever:
10 X%=INP(&h3DA):OUT &h3C0,&h10:OUT &h3C0,4:COLOR 16,15:CLS
Make sure the file ends with CR+LF (I think I don’t need to spell out how for you). In case of doubt, jupp for DOS should default to CRLF mode and pressing ^OZ toggles it (the status line will show you which one is then active) in both jupp for DOS and jupp for Unix. (The change only affects newlines created AFTER that, so if you do need to toggle it, backspace/delete that newline and hit Enter to create it anew.)
Then, run gwbasic weiss on DOS. Enjoy.
OUT instruction)Whatever came with DOS and Windows 3.1 on the old PCE.js emulator.