Jump to content
IGNORED

First Basic


Wally1

Recommended Posts

I've never used that, but I used HiSoft Pro BASIC pretty extensively back in the day.  I seem to remember they're related.

 

I used it because it was Microsoft QBASIC compatible.  Trying to get any Atari VDI stuff working gave me migraines and I never got the hang of WERCS (I may be remembering the name wrong) which was their resource construction kit.  But that was just for fun, my main thing was writing programs that could work on Atari and the PC.  My Atari programs looked just as ugly as a standard text-based MS-DOS programs, though... but they worked great.

Link to comment
Share on other sites

3 hours ago, Wally1 said:

Are ST Basic and First Basic the same thing?

 

No, they're not.  ST Basic was the original Basic language designed for the ST but it had a number of flaws (not to mention bugs) and Atari started shipping First Basic with the ST when they realised how crap their Basic was.

 

One of the main failings of Basic on the ST/Amiga is that it's not included in ROM and therefore takes up a lot more RAM space and runs more slowly which is why assembly is a lot more useful for ST/Amiga programming. 

Link to comment
Share on other sites

On 12/24/2019 at 11:52 PM, English Invader said:

 

One of the main failings of Basic on the ST/Amiga is that it's not included in ROM and therefore takes up a lot more RAM space and runs more slowly which is why assembly is a lot more useful for ST/Amiga programming. 

That is completely incorrect though. Actually if it were in ROM it would run slower because ram is quite a bit faster than rom. 

Assembly is the preferred way to program 8, 16 and early 32-bit systems because it will be much much faster than basic, c, Pascal etc. Using anything else is basically a trade off between time, speed and what is acceptable performance.

Link to comment
Share on other sites

In case of Atari ST executing some SW from ROM or RAM is with same speed. There is 500 nS cycle time for memory access when CPU runs at 8 MHz.  That's enough for accessing RAM even together with accessing it from video circuit, because RAM cycle time self is 250 nS .

And second claim of Christos is not correct too. C was preferred in case of 16 bit Atari ST, PCs with 80286, and so on ... TOS is done 80% in C. Most of Atari ST SW is coded in C, some even in Basic, and about 50% of games is done in C too. For instance most famous Dungeon Master.  And here need to say that not all C compilers are same, some produced significantly faster code.  Surely ASM is what can produce fastest code, but price is time. Faster code = slower programming. And what matters in business is time - making it ready faster ?

The real trade is doing it in C, with speed crucial parts in inline ASM.  That's possible with most C compilers, even with GFA Basic.

 

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