Jump to content
IGNORED

Turbo-BASIC XL - Expanded Documentation


MrFish

Recommended Posts

Hi!

4 hours ago, Savetz said:

Has anyone come up with a definitive list of abbreviations for TBXL-specific commands? I spent some time testing today. I think this is all of them.

 

From my parser: https://github.com/dmsc/tbxl-parser/blob/master/peg/statements.txt

 

Second column is full statement, third column is the minimal abbreviation, the list is sorted by token number.

 

Here, the same list sorted alphabetically:

#              #
%GET           %G.
%PUT           %.
*B             *B
*F             *.
*L             *L
--             --
-MOVE          -.
?              ?
BGET           BG.
BLOAD          BL.
BPUT           BP.
BRUN           BR.
BYE            B.
CIRCLE         CI.
CLOAD          CLOA.
CLOSE          CL.
CLR            CLR
CLS            CLS
COLOR          C.
COM            COM
CONT           CON.
CSAVE          CS.
DATA           D.
DEG            DE.
DEL            DEL
DELETE         DEL.
DIM            DI.
DIR            DIR
DO             DO
DOS            DO.
DPOKE          DP.
DRAWTO         DR.
DSOUND         DS.
DUMP           DU.
ELSE           EL.
END            END
ENDIF          END.
ENDPROC        ENDP.
ENTER          E.
EXEC           EXE.
EXIT           EX.
FCOLOR         FC.
FILLTO         FI.
FOR            F.
GET            GE.
GO TO          G.
GO#            GO#
GOSUB          GOS.
GOTO           G.
GRAPHICS       GR.
IF             IF
INPUT          I.
LET            LE.
LIST           L.
LOAD           LO.
LOCATE         LOC.
LOCK           LOCK
LOOP           LOO.
LPRINT         LP.
MOVE           M.
NEW            NEW
NEXT           N.
NOTE           NO.
ON             ON
OPEN           O.
PAINT          PAI.
PAUSE          PA.
PLOT           PL.
POINT          P.
POKE           POK.
POP            POP
POSITION       POS.
PRINT          PR.
PROC           PRO.
PUT            PU.
RAD            RA.
READ           REA.
REM            .
RENAME         REN.
RENUM          RENU.
REPEAT         REP.
RESTORE        RES.
RETURN         RET.
RUN            RU.
SAVE           S.
SETCOLOR       SE.
SOUND          SO.
STATUS         ST.
STOP           STO.
TEXT           TE.
TIME$=         TI.
TRACE          TRAC.
TRAP           T.
UNLOCK         UNL.
UNTIL          U.
WEND           WE.
WHILE          W.
XIO            X.

 

Missing from your list were at least "*F", "#", "TIME$=".

 

Have Fun!

 

  • Like 2
  • Thanks 1
Link to comment
Share on other sites

Hi!

23 minutes ago, luckybuck said:

Thanks dmsc, yes, TIME$ is very important. Will add it. Thank you! ?

 

Did count 99... OMG... That's a lot...

Indeed, and of those, 45 are unique to TurboBasic XL:

#	#
%GET	%G.
%PUT	%.
*B	*B
*F	*.
*L	*L
--	--
-MOVE	-.
BGET	BG.
BLOAD	BL.
BPUT	BP.
BRUN	BR.
CIRCLE	CI.
CLS	CLS
DEL	DEL
DELETE	DEL.
DIR	DIR
DO	DO
DPOKE	DP.
DSOUND	DS.
DUMP	DU.
ELSE	EL.
ENDIF	END.
ENDPROC	ENDP.
EXEC	EXE.
EXIT	EX.
FCOLOR	FC.
FILLTO	FI.
GO#	GO#
LOCK	LOCK
LOOP	LOO.
MOVE	M.
PAINT	PAI.
PAUSE	PA.
PROC	PRO.
RENAME	REN.
RENUM	RENU.
REPEAT	REP.
TEXT	TE.
TIME$=	TI.
TRACE	TRAC.
UNLOCK	UNL.
UNTIL	U.
WEND	WE.
WHILE	W.

 

Have Fun!

 

  • Like 1
Link to comment
Share on other sites

  • 7 months later...

OK, this time I found an error in the Fetzer language definitions portion (the Quick Reference portion is from a Polish site, not Fetzer).

 

He mistakenly has the DSOUND command described as such:

 

DSOUND     FORMAT:  DSOUND n,f,d,v 
                    DSOUND

 

This command pairs channels for increased frequency range. n=channels (0-3). f=frequency range (0-255). d=distortion (0-15) 10 and 14 produce pure tones. v=volume (0-15). 0 is silent 15 is the loudest. DSOUND turns all sound OFF. 

 

It's been corrected (and amended) thus:

 

This command pairs channels for increased frequency range and resolution. n=channels (0 or 1). f=frequency range (0-65535). d=distortion (0-15) 10 and 14 produce pure tones. v=volume (0-15). 0 is silent 15 is the loudest. DSOUND turns all sound OFF.

 

Turbo-BASIC XL - Expanded Documentation.pdf

 

Edited by MrFish
  • Like 4
  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...