Extended Basic

TI-99/4A software problems, questions, etc.

Extended Basic

Postby smartgenes » May 9th, 2011, 4:44 pm

Can anyone tell me what the error is in this line:

13 DISPLAY ERASE ALL :: CALL SCREEN(4):: @=0 :: FOR [email protected] TO 14 :: CALL COLOR(_,13,1):: NEXT _ :: CALL LOAD(-31878,0):: CALL LINK("NWCHAR"):: CALL TITLE

It returns a syntax error.
Would much appreciate it! :-)
smartgenes
 
Posts: 1
Joined: May 9th, 2011, 4:34 pm

Re: Extended Basic

Postby Ben Yates » May 14th, 2011, 7:55 am

I don't see one, unless you did not load the NWCHAR assembly language program via a CALL INIT and a CALL LOAD("DSK1.xxx") (xxx is the filename).

If you don't do a CALL INIT, any CALL LOAD or LINK will return a syntax error.
"DISPLAY ERASE ALL" looks right, but I wonder why not use CALL CLEAR here?

Ben
Ben Yates
 
Posts: 35
Joined: January 25th, 2011, 4:11 am

Re: Extended Basic

Postby Ben Yates » July 13th, 2011, 6:29 pm

It is Extended BASIC, but it calls an assembly routine (the CALL LINK).
My question was whether the person loaded the assembly routine first. Usually you would see a CALL INIT followed by a CALL LOAD("device.filename") in the program, or you would execute it in command mode before running the program.
Ben Yates
 
Posts: 35
Joined: January 25th, 2011, 4:11 am


Return to Software

Who is online

Users browsing this forum: No registered users and 1 guest