Welcome, Guest. Please login or register.

Author Topic: BASIC language for AmigaOS4.. AMOS/Blitz  (Read 16315 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Sidewinder

  • Full Member
  • ***
  • Join Date: Mar 2002
  • Posts: 241
    • Show only replies by Sidewinder
    • http://www.liquido2.com
Re: BASIC language for AmigaOS4.. AMOS/Blitz
« Reply #29 on: April 11, 2003, 11:02:48 PM »
@Atheist

Hey that's a great idea about the data blocks, I'll try to add it.  Mattathias doesn't have a limit to the line length either.  If you have any more ideas please let me know.
Sidewinder
 

Offline iamaboringperson

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 5744
    • Show only replies by iamaboringperson
Re: BASIC language for AmigaOS4.. AMOS/Blitz
« Reply #30 on: April 12, 2003, 02:51:08 AM »
Quote
C/C++ should have been replaced by something more modern many years ago (I'm NOT implying Basic).
there have been many other languages come and go - but none of them have been quite as popular as C/C++ because none of them are as flexible or generalized as C or C++

C and C++ can do just about anything

and its SO DAMN EASY TO PROGRAM IN! :-)
 

Offline Darth_X

  • Hero Member
  • *****
  • Join Date: Jan 2003
  • Posts: 791
    • Show only replies by Darth_X
Re: BASIC language for AmigaOS4.. AMOS/Blitz
« Reply #31 on: April 12, 2003, 04:32:17 AM »
Quote
contacted Francois Lionet about AMOS coming to AmigaOne, but he said it isn't economically feasable, for obvious reasons. Tragic.


Did he say anything about being offered a free pegasos? :-D

The biggest problem with AMOS Pro is that a lot of it would have to be re-written from scratch.
 

Offline Darth_X

  • Hero Member
  • *****
  • Join Date: Jan 2003
  • Posts: 791
    • Show only replies by Darth_X
Re: BASIC language for AmigaOS4.. AMOS/Blitz
« Reply #32 on: April 12, 2003, 04:34:02 AM »
Quote
C/C++ should have been replaced by something more modern many years ago (I'm NOT implying Basic).


JAVA?
 

Offline iamaboringperson

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 5744
    • Show only replies by iamaboringperson
Re: BASIC language for AmigaOS4.. AMOS/Blitz
« Reply #33 on: April 12, 2003, 04:35:33 AM »
Quote

Darth_X wrote:
Quote
C/C++ should have been replaced by something more modern many years ago (I'm NOT implying Basic).


JAVA?
no way! there are not many worse languages! java is better than basic though...
 

Offline Darth_X

  • Hero Member
  • *****
  • Join Date: Jan 2003
  • Posts: 791
    • Show only replies by Darth_X
Re: BASIC language for AmigaOS4.. AMOS/Blitz
« Reply #34 on: April 12, 2003, 04:35:43 AM »
Quote
and its SO DAMN EASY TO PROGRAM IN!  


Care to write some tutorials on how to code MorphOS apps for the beginners? :-D

 

Offline iamaboringperson

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 5744
    • Show only replies by iamaboringperson
Re: BASIC language for AmigaOS4.. AMOS/Blitz
« Reply #35 on: April 12, 2003, 04:40:39 AM »
@Darth_X
i would love to... ill just have to wait for my pegasos to arrive...
 

Offline Atheist

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 820
    • Show only replies by Atheist
Re: BASIC language for AmigaOS4.. AMOS/Blitz
« Reply #36 on: April 12, 2003, 07:25:05 AM »
Quote

Darth_X wrote:

Did he say anything about being offered a free pegasos? :-D

The biggest problem with AMOS Pro is that a lot of it would have to be re-written from scratch.


No, he didn't mention it.

Here's my e-mail to him, Mar. 13, 2003
---------------------
Hi Mr Lionet,
 
Two of the best pieces of sofware that were available for the Amiga were your programs "AMOS Professional" (I still use this), and "AMOS Professional Compiler". I see that they are available for free download at "Bact to the Roots". My problem is I can't get it across to my Amiga from the pc that I have.
.........
I have the ORIGINAL purchased from a store in 1993. I think it's 1.0.
 
Ever (will) consider doing an AmigaOne version?
 
You helped make Amiga RULE!
 
Vancouver, B.C.
Canada
---------------------

I got a reply from Francois, in about 1 1/2 days. He said too few copies would probably be sold on the AmigaOne platform for now.  :-(  :-(  :-(  :-(

AmigaOne! Compiled PPC AMOS on AmigaOne @ 800 MHz would FLY!!!
\\"Which would you buy? The Crappy A1200, 15 years out of date... or the Mobile Phone that I have?\\" -- bloodline
So I guess that A500, 600, 1000, 2000, CDTV, CD32, are pure garbage then? Thanks for posting here.
 

Offline Atheist

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 820
    • Show only replies by Atheist
Re: BASIC language for AmigaOS4.. AMOS/Blitz
« Reply #37 on: April 12, 2003, 07:52:49 AM »
Hello Sidewinder,

After I typed that, I realized, if it makes sense, it could be treated like

If

End If
------
Data

End Data
----------
Then, because of the restore command

Data Title

End Data

Restore Title

----------------
MAYBE even print commands could be treated that way? Does that make sense?

Print "Hello world"
"Here are the options you have"
"1. Start Game"
"2. Load Game"
"3. Quit"
End Print

And, if these could be "folded", like procedures in Amos Pro.

Another thing I'd like to say about DATA, is, when I was typing huge heaps of data, I always had to count it manually later, what a knightmare. I resorted to a repeat: read A$ : inc x : until a$="", to count the amount of items I had.

It would be cool if you had a semi-living editor where
Data Title (x,y)

Where "(x,y)" automatically is applied when you type in the word "Data". When it starts, it looks like this
Data TITLE (0,0)

As you type data in, if it's numerical, the first counter increases, when it's text, then the second counter increments. Sounds like a lot of overhead for the editor, but at 600MHz and 800MHz, it should be a piece of cake.

Also, if you type in FOR, REPEAT, WHILE, DO, it should be red, until you type in NEXT, UNTIL, WEND, LOOP. Then you KNOW, you didn't close the loop, until it's not red anymore.

What would also be clever is, clicking on a NEXT and the FOR, blinks, or on a WHILE, and the WEND starts blinking!

If these weren't explained clearly, I'll gladly try to describe it another way. Maybe all of these things have already been done?

I know some editors change the colours of all the keywords, AMOS Pro 1.0 doesn't, unfortunately.

AmigaOne! NEW (yet old) and IMPROVED!!
\\"Which would you buy? The Crappy A1200, 15 years out of date... or the Mobile Phone that I have?\\" -- bloodline
So I guess that A500, 600, 1000, 2000, CDTV, CD32, are pure garbage then? Thanks for posting here.
 

Offline Kronos

  • Resident blue troll
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4017
    • Show only replies by Kronos
    • http://www.SteamDraw.de
Re: BASIC language for AmigaOS4.. AMOS/Blitz
« Reply #38 on: April 12, 2003, 08:11:58 AM »
@Atheist

Formated output, seen in the source as "WYSIWYG" doesn't sound bad.

I don't think Sidewinter plans to write his own intregrated editor,
and if he does I would advice him th think again .....

Lots of works for something that would allways been vastly
inferior to existing editors.

Counting Data should be possible using an Arexx-script in GoldEd,
but I would think the best way to do it would be the way C does it
with predifined arrays. So writing Data() + and End Data at the
end of it should be enough for the compiler to figure the size out.

GoldED's C-mode also features bracket-coloring which makes it damn
easy to find missing one, should be possible to adapt this to Basic's
control word.
1. Make an announcment.
2. Wait a while.
3. Check if it can actually be done.
4. Wait for someone else to do it.
5. Start working on it while giving out hillarious progress-reports.
6. Deny that you have ever announced it
7. Blame someone else
 

Offline amigaoneproductions

  • Jr. Member
  • **
  • Join Date: Apr 2003
  • Posts: 51
    • Show only replies by amigaoneproductions
    • http://www.amigaoneproductions.co.uk
Re: BASIC language for AmigaOS4.. AMOS/Blitz
« Reply #39 on: April 12, 2003, 02:54:06 PM »
Hi folks,

Now I never thought I'd hear the name AMOS uttered again,  I got to know Amos very well (I had a bit of a head start as I was a Beta tester for AMOS something like 2 years before it's general release, met up with Francois on a couple of occasions to discuss bugs, which even to this day still exist )

AMOS was certainly excellent as a starting point to learn the BASIC language, but it did have it's limitations,  it was not exactly system friendly, i.e. the way it handled screens, i.e. it did everything it's own way, and was not much good for working with Intuition screens (It was POSSIBLE, but not exactly straghtforward)  so certainly a re-write would be needed,  if the guys doing a AMOS version for AOS do a good job,  perhaps this is a good possibility.

My next choice would be HiSoft Basic,  gives you lots of control when you need it, and would probably work "out of the box" on OS4, ( not tried that yet of course,  but I intend to)  as it uses standard intuition screens,  it is a complied language, but of course it's only going to compile to 68K  code so you are not going to get the maximum speed possible, but should run at a very respectable speed nontheless.
One of the advantages of Hisoft is that it's still available and cheap !,  I bought a copy from Hisoft a few weeks ago for about £10.

Also as someone suggested, we have PureBasic,  I think this looks quite promising, the developers are planning a PPC version, so your code will run at it's best speed, and it also has the advantage that you can port your BASIC programs between several different platforms with little alteration.  I've also registered a copy of Purebasic so I'll be giving that some testing as soon as the PPC version is ready.

Non of the BASIC languages I have seen so far give the ease of MS Visual Basic, i.e. draw a button on screen, click it and all you have to do is write the code for what to do when you click the button,  none of
IF MOUSE KEY=1 AND XMOUSE >= xstart AND XMOUSE <= xend AND  YMOUSE >=ystart AND YMOUSE <= yend THEN [do something]
sort of code
And what a pain it is if you want to move the button around afterwards
BUT this classic way of programming gives you much more power to customise what your after.

SO in brief,  I think it all boils down to exaclty what you need out of a BASIC language,  but I think it comes down to HiSOFT of PureBasic as they are availavle NOW and you can start learning the basic BASIC language until something better comes along.

Regards

Paul Townsend
Amigaone Productions
Stay safe on the Internet
http://www.fraudwatchers.org
 

Offline SlimJim

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 752
    • Show only replies by SlimJim
Re: BASIC language for AmigaOS4.. AMOS/Blitz
« Reply #40 on: April 12, 2003, 02:57:30 PM »
Now, take a look at this:
 
NOMAD article on Amiga Flame

Very promising.
.
SlimJim
 

Offline pentrite

  • Newbie
  • *
  • Join Date: Jul 2002
  • Posts: 31
    • Show only replies by pentrite
Re: BASIC language for AmigaOS4.. AMOS/Blitz
« Reply #41 on: April 12, 2003, 06:26:48 PM »
I will give python a try, just doenloaded it (for windows) .
Read this.
When I make a wish, I wish that everyone else\\\'s wishes don\\\'t come true!
 

Offline Atheist

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 820
    • Show only replies by Atheist
Re: BASIC language for AmigaOS4.. AMOS/Blitz
« Reply #42 on: April 14, 2003, 01:37:02 AM »
Hello amigaoneproductions,

AMOS Professional has a compiler, which I searched the whole internet to try to buy. It's not availabe. ln fact,  found one place, that sold it 1 week before I got there. I know it's available on back2theroots for free, but there's no manual.

You commented about HiSoft Basic, but didn't say anything about a compiled AMOS Pro prg.

AmigaOne! AMOS Pro Rules!!!
\\"Which would you buy? The Crappy A1200, 15 years out of date... or the Mobile Phone that I have?\\" -- bloodline
So I guess that A500, 600, 1000, 2000, CDTV, CD32, are pure garbage then? Thanks for posting here.
 

Offline Ants

  • Newbie
  • *
  • Join Date: Apr 2003
  • Posts: 24
    • Show only replies by Ants
    • http://ants.name
Re: BASIC language for AmigaOS4.. AMOS/Blitz
« Reply #43 on: April 15, 2003, 01:21:58 AM »
Quote
Perhaps if someone sent him a complete system with a SDK for free (no strings attached of course), then maybe he would start porting it because he feels like he owe it to someone or something!


  I did mention this to him (the PB author) as a possibilty, but got no reply, which knowing him means no (at this time).

  Anton Reinauer
 
      Phoenix Developers Consortium
- Ants
 

Offline iamaboringperson

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 5744
    • Show only replies by iamaboringperson
Re: BASIC language for AmigaOS4.. AMOS/Blitz
« Reply #44 from previous page: April 15, 2003, 01:32:23 AM »
why is everyone so worried about basic anyway?

could another real programmer please explain the benefits?


what i want to know is will storm C be available for OS 4 - and what other compilers will exist that i may use for os4/amigaone?