Examples

pcbasic
Start PC-BASIC in direct mode, emulating GW-BASIC/BASICA with VGA graphics.
pcbasic --codepage=950
Start PC-BASIC using the Big-5 codepage.
pcbasic Foobar.baz
Start PC-BASIC with package Foobar. Load the settings from the package; usually this will run a main program contained in the package.
pcbasic Foobar.baz --convert=A --text-encoding=utf-8
List the main program of package Foobar to standard output as UTF-8.
pcbasic MYPROG.BAS --mount=A:./files,B:./morefiles
Mount the current directory's subdirectory files as drive A: and subdirectory morefiles as drive B:, then run MYPROG.BAS.
pcbasic --mount=A:C:\fakeflop
Run PC-BASIC with Windows directory C:\fakeflop mounted as A: drive.
pcbasic Z:\INFO.BAS --preset=mda --monitor=amber
Run INFO.BAS in the current directory on an emulated MDA with amber tinted monitor.
pcbasic /home/me/retro/COMP.BAS --preset=cga --monitor=composite
Run COMP.BAS stored at /home/me/retro on an emulated CGA machine with a composite monitor.
pcbasic PCJRGAME.BAS --preset=pcjr -k='start\r'
Run PCJRGAME.BAS on an emulated PCjr and feed in the keystrokes startEnter.
pcbasic BANNER.BAS --lpt2=PRINTER:
Run BANNER.BAS in default mode with the default printer attached to LPT2:.
pcbasic --resume
Resume the most recently closed PC-BASIC session.
pcbasic -c ?1+1
Execute the BASIC command PRINT 1+1 in the command-line interface and return to the calling shell.