mirror of
https://github.com/kanaka/mal.git
synced 2024-11-11 00:52:44 +03:00
115e430d02
Enable QBasic console mode usage and fix bugs in newline handling differences with C64 basic (cbm). To enable console mode for QBasic programs, have basicpp.py prefix the output with the QB64 specific console activation variables/functions. One change to basicpp.py to make this change more straightfowards is recursive includes so that includes can appear in more than just the top level step files. This allows us to conditionally include the right readline implementation. For QBasic in the special console mode (instead of the default full-screen UI mode) we need to use the LINE INPUT command in order to read input.
5 lines
141 B
QBasic
5 lines
141 B
QBasic
|
|
#cbm REM $INCLUDE: 'readline_char.in.bas'
|
|
#qbasic-ui REM $INCLUDE: 'readline_char.in.bas'
|
|
#qbasic-noui REM $INCLUDE: 'readline_line.in.bas'
|