Jump to content
IGNORED

List of ECS BASIC Commands?


Recommended Posts

Could someone be so kind as to point me in the direction of a list of BASIC commands for the ECS. I haven't done any BASIC programming since 1997 in high school, and I know the ECS BASIC commands are a little different. I tried googling and surprisingly did not find anything resembling a simple list of commands. I also looked through the sticky resource thread at the top of this board, and wasn't able to find a list of commands there either. Thank you in advance!

Link to comment
Share on other sites

17 minutes ago, DZ-Jay said:

Here's the owner's manual for the ECS:

https://archive.org/details/Intellivision_Computer_Module_Owners_Guide_1983_Mattel_US

 

Just curious ... any reason why you want to program in ECS BASIC instead of trying your hand at IntyBASIC?

 

     -dZ.

Thank you. Didn't realize the commands were in there!

 

I want to try it just like someone would have back in the day. Plus, it sounds like there's a setup factor with Inty Basic. 

 

Is it essentially a better version of ECS BASIC?

Link to comment
Share on other sites

12 minutes ago, Intelligentleman said:

Thank you. Didn't realize the commands were in there!

 

I want to try it just like someone would have back in the day. Plus, it sounds like there's a setup factor with Inty Basic. 


 

Well, if you use the SDK, it will install itself for you.

 

12 minutes ago, Intelligentleman said:

Is it essentially a better version of ECS BASIC?

Not quite.  It's a full blown programming language for Intellivision game development.  I would compare it more to the C=64 BASIC or DOS' QBASIC, except that it compiles into assembly code.

 

You make your program in your PC, test it in an emulator, and then can run it on the console using a flash cart.

  • Like 1
Link to comment
Share on other sites

ECS BASIC and IntyBASIC are two completely different animals. The first is a slow, very limited interpreted BASIC that runs natively on the Intellivision with ECS. You might be able to make some very simple programs using it, and IIRC it will borrow graphic symbols from whichever other game cartridge you have inserted.

 

IntyBASIC is a modern, cross-compiling language that uses the general BASIC syntax. It generates very advanced programs, to the point that they hold commercial qualities. There may be a little bit of setup to install the compiler, possibly the SDK, a text editor of your choice and ideally the jzintv emulator but once you've done it, the sky's the limit. Simply put there is no point even comparing the two packages with eachother.

 

But yes, if you want to play like it is 1982, ECS BASIC is your choice even if your creations will be highly limited.

  • Like 2
Link to comment
Share on other sites

6 minutes ago, carlsson said:

ECS BASIC and IntyBASIC are two completely different animals. The first is a slow, very limited interpreted BASIC that runs natively on the Intellivision with ECS. You might be able to make some very simple programs using it, and IIRC it will borrow graphic symbols from whichever other game cartridge you have inserted.

 

IntyBASIC is a modern, cross-compiling language that uses the general BASIC syntax. It generates very advanced programs, to the point that they hold commercial qualities. There may be a little bit of setup to install the compiler, possibly the SDK, a text editor of your choice and ideally the jzintv emulator but once you've done it, the sky's the limit. Simply put there is no point even comparing the two packages with eachother.

 

But yes, if you want to play like it is 1982, ECS BASIC is your choice even if your creations will be highly limited.

Thanks for that context. At this point, I don't have any ambitions to build anything that would be of interest to anyone other than myself. ECS BASIC will give me plenty to play with. Something else I'm interested in doing is composing music using ECS BASIC and then manipulating it - somehow - with the ECS.

  • Like 1
Link to comment
Share on other sites

33 minutes ago, Intelligentleman said:

Thanks for that context. At this point, I don't have any ambitions to build anything that would be of interest to anyone other than myself. ECS BASIC will give me plenty to play with. Something else I'm interested in doing is composing music using ECS BASIC and then manipulating it - somehow - with the ECS.

I played a lot with ECS back in the 80s-90s.  I have four of my best programs posted in another thread.  Now that jzIntv supports virtual ECS tapes, it's relatively easy to launch them.

  • Like 1
Link to comment
Share on other sites

One more question... I noticed last night while I was messing around with the ECS, that the system stopped taking anymore inputs from my keyboard. Is that because I used up all the memory? I wasn't even doing anything... It was something like:

10 INPU "What is your name"; NAM$

20 IF NAM$ = Intelligentleman THEN PRIN "Nice to meet you, Intelligentleman." ELSE PRIN "Stranger Danger!"

Edited by Intelligentleman
Link to comment
Share on other sites

12 minutes ago, DZ-Jay said:

I believe you only have "IF ... <STATEMENT>".

 

The closest you get to multiple branches is "IF ... GOTO".

 

    -dZ.

 

 

Thanks. That's what I'm seeing too. Is there a mathematical notation for "does not equal?" I don't see it on the ECS keyboard, but wondering if there's another way to express it.

Link to comment
Share on other sites

4 minutes ago, Intelligentleman said:

Thanks. That's what I'm seeing too. Is there a mathematical notation for "does not equal?" I don't see it on the ECS keyboard, but wondering if there's another way to express it.

IF A <> B ...

Edited by DZ-Jay
Link to comment
Share on other sites

3 minutes ago, Intelligentleman said:

ahh, there it is. i thought i typed that in once time, but maybe i typo'd it. easy to do on this keyboard! thank you.

Hmmm ... now that I review the manual, it doesn't seem to mention it.  It could be that you have to do two IFs ...

Link to comment
Share on other sites

3 minutes ago, Intelligentleman said:

Can you explain that? I don't see it in the manual either, and I thought maybe it was an "advanced" command reserved for the home computing guide book. lol.

I don't have an ECS at hand to test, but I suppose you compare to equal, and branch over of so.  Like this:

 

10 IF (A=0) GOTO 30
20 REM Not equal here ...
30 REM Continue here.

As long as you are playing with the ECS, here are some sample games made in the past by others:

http://spatula-city.org/~intvlib/inty/ecsbasic.html

 

Enjoy!

Link to comment
Share on other sites

10 minutes ago, DZ-Jay said:

I don't have an ECS at hand to test, but I suppose you compare to equal, and branch over of so.  Like this:

 


10 IF (A=0) GOTO 30
20 REM Not equal here ...
30 REM Continue here.

As long as you are playing with the ECS, here are some sample games made in the past by others:

http://spatula-city.org/~intvlib/inty/ecsbasic.html

 

Enjoy!

Thanks friend. That's a little beyond my understanding, but just knowing there's a workaround is exciting.

Link to comment
Share on other sites

18 minutes ago, Intelligentleman said:

I would like to have some way of telling the computer to do something else if the input does not equal BRITT

7EF054AC-F718-4E5E-89A9-CEE67E9F28EB.jpeg

That's what I tried to describe earlier:  You put a GOTO on equals, like you have it, and put what you want it to do in between the IF and the line where the GOTO goes.

 

However, it doesn't seem to be possible to input a string with INPU.  You need GET for that.  Then, I do not know if you can compare strings with IF, only numeric values.

 

If so, you will have to compare each character individually, which makes it cumbersome.

 

Perhaps someone with more familiarity with ECS BASIC can chime in.  Unfortunately, it's been several years since I last tried, and I recall being frustrated at the very contrived limitations.

 

  • Like 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...