English Amiga Board


Go Back   English Amiga Board > Main > Amiga scene

 
 
Thread Tools
Old 10 June 2023, 10:39   #21
alain.treesong
Aghnar
 
Join Date: Jan 2019
Location: France
Posts: 153
Quote:
Originally Posted by saimo View Post
@alain.treesong

Nope, sorry :/ The purpose of this thread was precisely to verify whether the tool received enough interest to justify writing a proper version, writing the documentation, preparing a page and maintaing everything in the future (as I'm used to update all my stuff constantly, as you can see from the history of all my projects at https://retream.itch.io), and the answer has been that there is basically no interest.
But thanks for your interest!
Quite amusing...
alain.treesong is offline  
Old 10 June 2023, 12:39   #22
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,165
Quote:
Originally Posted by saimo View Post
I'd say it would be quite straightforward to translate from AMOS to C (and the executable produced by the C compiler would surely be much more efficient that the AMOS one).
The challenge then is more likely to be in whatever runtime you need to support it.
Karlos is offline  
Old 10 June 2023, 12:55   #23
saimo
Registered User
 
saimo's Avatar
 
Join Date: Aug 2010
Location: Italy
Posts: 787
Quote:
Originally Posted by Karlos View Post
The challenge then is more likely to be in whatever runtime you need to support it.
If you mean rewriting it in a better way, that would be a huge undertaking. Otherwise, it's "just" a matter of using the existing one (basically, letting amos.library do the job). Also, another particular thing to take care of is supporting the extensions.
Anyway, the transpiler would work at source level, so it would require the sources of the programs in first place and more work also to use it, while this little tool works at executable level, so it simply requires launching it from shell (of course, the cost of such simplicity and universality is the modest improvements it produces).
saimo is offline  
Old 10 June 2023, 13:09   #24
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,165
Quote:
Originally Posted by saimo View Post
If you mean rewriting it in a better way, that would be a huge undertaking. Otherwise, it's "just" a matter of using the existing one (basically, letting amos.library do the job). Also, another particular thing to take care of is supporting the extensions.
Anyway, the transpiler would work at source level, so it would require the sources of the programs in first place and more work also to use it, while this little tool works at executable level, so it simply requires launching it from shell (of course, the cost of such simplicity and universality is the modest improvements it produces).
For the avoidance of doubt, I am talking about the case when you have the AMOS source code and want to produce an optimised binary. I don't have much experience with AMOS, I ended up using Blitz as my go-to BASIC, before eventually just using C (and C++) for everything.
Karlos is offline  
Old 10 June 2023, 13:36   #25
saimo
Registered User
 
saimo's Avatar
 
Join Date: Aug 2010
Location: Italy
Posts: 787
Quote:
Originally Posted by Karlos View Post
For the avoidance of doubt, I am talking about the case when you have the AMOS source code and want to produce an optimised binary.
Sure, that was clear
saimo is offline  
Old 11 June 2023, 02:17   #26
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2006
Location: Poznan/Poland
Age: 47
Posts: 116
hi there!

What we really need is a new Amos Compiler, but i guess anyone can't do this.
Amos Compiler suxx badly.


So...
more usefull, would be to create detailed text document "How to optimising amos instructions" ofcourse if someone know how AMOS compiler works.


for example in 90% Amos games people using If instruction like this:

IF A=1 and B=5 and C=10 Then .....

but is so slow and should be used like this

IF A=1
IF B=5
IF C=10
...
Endif
Endif
Endif


What we need is knowledge, how to write instructions with variables to gain more speed...
Selur is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Wip] Amos Professional X : Bring AGA to Amos Pro! freddix Coders. AMOS 53 22 July 2023 09:53
Anyone fancy a free Gameboy Colour? Paul_s MarketPlace 17 16 May 2009 18:41
If Microshaft can have fancy qualifications for Windows... then why can't we? Paul_s Amiga scene 30 14 April 2008 08:19
Anyone fancy putting some ADF`s onto disk? :) Mike UK MarketPlace 4 22 January 2007 17:09
Fancy a NEW Amiga magazine? ronniet Amiga scene 2 18 April 2006 02:14

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 16:38.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07194 seconds with 14 queries