1. Purpose 1.1. Features not omitted 1.2. Features supported if possible 1.3. Features not considered to be supported 1.4. Features which are gained for free 1.4.1. Memory allocation |
1.4.2. Hardware services 1.5. Extra features 1.5.1. Multitasking 2. Copying 3. Requirements 4. "I want to start programming" 5. Downloading |
To provide tools for running QuickBASIC programs in Linux and other non-MS-DOS -environments.
Several ideas are, what this should become.
Pros:Cons:
- Portable
- No standalone programs
Pros:Cons:
- Should be fast
- Restricted to a certain architecture
Pros:Cons:
- Should become fast
- Multi-architecture
- Most certainly unmaintainable
- Requires a C++ compiler
Pros:Cons:
- Should be elegant and maintainable
- Multi-architecture
- Ruby isn't yet very well-spread
- Certainly not so fast
ON n GOTO
/GOSUB
READ
/DATA
/RESTORE
INKEY$
TIMER
functionINTEGER
must still be 16-bit signed integer etc)PLAY
/ON PLAY
DEF FN
PRINT
, STR$
) compatibility (spaces!)OPEN
: Both syntaxesNEXT
with comma separated list of variablesIF
: Both syntaxes plus implicit GOTO
in THEN
and ELSE
support.PRINT
abbreviated as ?
supportDEF SEG &HB800
/PEEK
/POKE
support for direct video access in text modeIN
/OUT
support to ports &H388 - &H389 for AdLib supportSCREEN
12/13, PSET
and other drawing stuffERR
codes like "String formula too complex" etcKEY ON
/KEY OFF
(dunno about ON KEY
)FIELD
and other obscure file features (some of which were new in QB 7.0)COMMON
, CHAIN
DIM area(1048576) AS INTEGER
,
it's fine!VARPTR$
and SADD()
will have to be adjusted a bit though.
/dev
directory. For example, if you wanted to record and play with your soundcard,
you could do OPEN "/dev/dsp" FOR BINARY AS #1
,
and that's fine. You read there (record), you write there (play).Ti#=TIMER:WHILE TIMER<Ti#+1:WEND
style loops to USLEEP 1000000
, we could support things
like USLEEP
and FORK
. Just maybe.If you want to start programming with BASIC, go and see DarkBasic.
Generated from
progdesc.php (last updated: Mon, 23 Oct 2006 02:47:01 +0300)
with docmaker.php (last updated: Sun, 12 Jun 2005 06:08:02 +0300)
at Wed, 25 Oct 2006 15:02:55 +0300