4 ms·
I couldn’t do the key input thing in BASIC for MS-DOS. I remember having to set the F keys to macros that would enter something for me. Maybe I just couldnt fig
by drivers99 8y ago
I couldn’t do the key input thing in BASIC for MS-DOS. I remember having to set the F keys to macros that would enter something for me. Maybe I just couldnt figure out the right command.
Check out PyGame for instance to do all that on current systems. That’s what I’ve used lately.
- megaman22 8y agoPyGame is probably the closest I have found to the ease of use of old QBasic, for simple graphics. Almost everything else that you use makes you proxy through some sort of OpenGL-esque abstraction, that makes 2D graphics far harder than they ought to be.
- LocalH 8y agoYou were probably using GW-BASIC instead of QBasic.
- drivers99 8y agoParent post said "BASIC and QB..." that's why I specified "BASIC for MS-DOS". I guess that was ambiguous. Technically I was using BASICA.COM (Advanced Basic on PC-DOS which relied on BASIC subroutines stored in ROM, which only IBM PCs, not compatibles, had) not GW-Basic which is what MS-DOS used, which had all the routines in the executable which loaded into RAM, and ended up running programs faster.