![]() |
![]() |
#61 |
Lemon. / Core Design
Join Date: Mar 2016
Location: Tier 5
Posts: 1,219
|
|
![]() |
![]() |
#62 |
Registered User
Join Date: May 2013
Location: Grimstad / Norway
Posts: 877
|
I grew up with C= 64 basic and knew no other version of it. You soon floated into hardware handling and understanding 6510 architecture by necessity, but in retrospect I find it peculiar that the "native" number format was floating point and not integer, and that there was not a clear distinction in when, where and how to use those different formats.
But I did hate magazine listings with all those print codes that gave you a headache. That one was all on C= though. |
![]() |
![]() |
#63 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,953
|
|
![]() |
![]() |
#64 |
Registered User
Join Date: Mar 2019
Location: Melbourne, Australia
Posts: 472
|
|
![]() |
![]() |
#65 |
Registered User
Join Date: Jul 2014
Location: Finland
Posts: 1,205
|
C# or rather the specific set offered by Unity is super common for mobile *games*.
For apps however you are right with native applications, for new code bases it then quickly bisects in either Kotlin on Android or Swift on iOS. |
![]() |
![]() |
#66 | |
Registered User
Join Date: Mar 2018
Location: Hastings, New Zealand
Posts: 2,856
|
Quote:
A500: 5.2 seconds ZX Spectrum: 22 seconds (4.3 times slower) The classic empty for/next benchmark showed an even greater difference. Code:
(Amiga BASIC) FOR I% = 1 TO 10000 NEXT I% (Sinclair BASIC) 10 FOR I = 1 TO 10000 20 NEXT I Amiga BASIC: 2 seconds Sinclair BASIC: 41 seconds (20.5 times slower) But perhaps you are talking about the editor, not the interpreter? In Amiga BASIC you have to type key words in full, whereas Sinclair BASIC types them out when you press their hotkeys. On the Spectrum's rubber keyboard this may be faster than typing full words. Only problem is you have know which key(s) to press. The +2 provides no hints on the key caps, so it took me ages to type in that 9 line benchmark (didn't use 128K BASIC because it's known to be slower). Amiga BASIC has automatic keyword capitalization and auto indent, as well as structured format which makes lines numbers redundant. Scrolling is at least as fast as on the Spectrum and you can instantly put the cursor anywhere with the mouse. Using labels (when needed) instead of line numbers, indenting, white-space and structured programming makes the code much easier to read and organize. This is what BASIC should be, not pages of dense spaghetti code with peculiar lines numbers and REMarks everywhere to tell you what it does! And yet, despite Amiga BASIC's objective superiority to Sinclair BASIC, you perceived it as 'slow, even compared to the Spectrum'. There are a few things I can think of that might give that impression:- 1. A stock WB1.x A500 is quite slow at rendering windows and text. Amiga BASIC uses 'simple refresh' windows to keep the memory footprint down, so it has to refresh the listing window after any part of it has been obscured. 2. The error requester can only be acknowledged with the mouse. Beginners tend to make make many errors which require cancelling that damn requester! 3. When you scroll it doesn't flush the keyboard buffer, so if you were holding the cursor key down it keeps going until the buffer is cleared out. 4. No file requester (not surprising for an application released in 1986 - the OS didn't have one and the custom file requesters supplied with some other programs were often quite dire). These are minor annoyances, but could be frustrating to a new user who was fluent in BASIC on some other machine and had gotten used to its peculiarities. It didn't worry me though. Line-numbered BASICs were always a pain, and the machines they ran on were so slow! The real problem with Amiga BASIC is that it isn't 32 bit pure and so can't run at full speed on 32 bit CPUs, which is a shame. The answer to that is Hisoft BASIC, which is almost 100% compatible and produces complied code that runs much faster. |
|
![]() |
![]() |
#67 |
Registered User
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,175
|
Indeed, the editor was most of the pain - alongside actually trying to actually do anything with it. I picked up AMOS and Blitz a couple of years later and they flew by comparison.
As for the token keys on a speccy... I still know them all even now ![]() My own implementation of Sinclair BASIC doesn't use them however, though I did the right thing and kept the line numbers. |
![]() |
![]() |
#68 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,886
|
Basic was never my thing but I remember Blitz being OK
|
![]() |
![]() |
#69 |
Registered User
Join Date: May 2023
Location: essex
Posts: 633
|
Commodore V2 BASIC is really just an introduction to machine code, you have to know all the registers and how to use them to do anything beyond silent PETSCII graphic adventures me and my friend wrote
![]() On top of that you need to learn binary maths to draw your sprites too! |
![]() |
![]() |
#70 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,953
|
|
![]() |
![]() |
#71 | |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,886
|
Quote:
I liked Blitz though. Features I liked were that it compiles down to binaries, plays nicely with the OS, supports structures (or records as it calls them) and some nice builtin types like fixed point numbers and stuff. Horses for courses though. Whatever you find fun and are most productive with. |
|
![]() |
![]() |
#72 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,886
|
Did anyone use HiSoft Basic?
I remember it being advertised as the more premium one |
![]() |
![]() |
#73 | |
Registered User
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,175
|
Quote:
And personal stuff too - dungeon master style 3D view on a Hack-like dungeon crawler, lightsynth, various demos and suchlike. Blitz was even better, so much faster. |
|
![]() |
![]() |
#74 | ||
old bearded fool
Join Date: Jan 2010
Location: Bangkok
Age: 57
Posts: 809
|
Quote:
http://cd.textfiles.com/amigama/amig...rres/hsb2.html Besides being compiled Basic (as opposed to interpreter) with IDE and debugger (it's MonAM), especially like these features... Quote:
|
||
![]() |
![]() |
#75 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,415
|
I never used it myself, but it never really stood out as having anything significant that Blitz didn't have. Linking to external ASM/C functions does sound handy I guess, it's never something I missed with Blitz, which can use inline ASM and can access standard OS libraries. I must give it a whirl at some point though when I have the time - it's always been at the back of my mind, as was said, as the premium BASIC product of the time.
|
![]() |
![]() |
#76 |
Amigan
![]() Join Date: Feb 2012
Location: London
Posts: 1,324
|
I quite liked AmigaBasic at the time. It gave you access to most of the OS. Windows, Screens, BOBs, sprites etc
AmigaBasic had a FD convertor so you could call ASL library requesters (and I did). |
![]() |
![]() |
#77 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,415
|
Yep, though asl.library was only a thing from Kickstart 2 on. Blitz worked around this by providing its own custom fallback requester if you called the ASL requester on a 1.x machine.
|
![]() |
![]() |
#78 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,886
|
Ruminating on the original question the OP posed, are we talking about aspiring programmers in general or people aspiring to write programs specifically for the Amiga?
Other than BASIC, what other languages that are suitable for people just getting to grips with the concepts are there for thr Amiga? I remember there was Pascal, too. I personally think that BASIC dialects do so much by keywords that it can leave you unprepared for moving on to more sophisticated programming paradigms. This doesn't matter if you just want to write simple things but it depends on how far your aspirations go. |
![]() |
![]() |
#79 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,886
|
It seems that these days, Python is the go to language for learning to program on modern systems.
|
![]() |
![]() |
#80 |
Registered User
Join Date: Sep 2022
Location: Switzerland
Posts: 122
|
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Trying to find variant of this song | Flow Res. Kenny | Amiga scene | 1 | 11 August 2023 21:58 |
A1200 case, desktop variant? | Malakie | Amiga scene | 6 | 11 December 2021 18:12 |
Preferred Falcon variant | eXeler0 | Retrogaming General Discussion | 19 | 20 November 2020 00:40 |
How to specify the game variant used in Arcade Mode? | ketschak | support.FS-UAE | 2 | 07 March 2014 14:31 |
|
|