English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. Blitz Basic

 
 
Thread Tools
Old 05 November 2019, 14:05   #1
smartroad
Registered User

 
Join Date: Mar 2018
Location: UK
Posts: 2
AmiBlitz command reference?

Hi all,


I've been wanting to get into programming the Amiga for some time, but until recently not had any real idea on what to do. I now have an idea for a game and have tentatively decided on AmiBlitz. One thing, is there a command/instruction reference for it?


I do some Python and program the Arduino's version of C so something like that would really help me get started!
smartroad is offline  
Old 05 November 2019, 14:21   #2
Daedalus
Registered User

Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 4,283
99.9% of the original Blitz Basic 2 commands are also available in AmiBlitz, along with the original Blitz 3rd party libraries of additional commands, so any Blitz 2 reference will do the job for AmiBlitz 3 as well. The original Blitz 2 manual was quite good as a reference, though it didn't really cater so well for the fundamental concepts involved. There's an AmigaGuide version of the manual included with AmiBlitz which you can access from the help menu in the AB3 editor. You can also access a HTML version of the AmigaGuide version here. Additionally, there's some good examples and (hopefully) better explanations of some of the ideas available in the Blitz section of AmigaCoding.com.

In addition, pressing Help while the cursor is on a keyword will show you the syntax for the command in the screen's title bar, and pressing Shift+Help on a keyword will open that command's page from the AmigaGuide manual.
Daedalus is online now  
Old 05 November 2019, 19:29   #3
BippyM
Global Moderator

BippyM's Avatar
 
Join Date: Nov 2001
Location: Nottingham, UK
Age: 44
Posts: 8,821
You can dump all the commands from the blitz libraries using deflibman or similar I think.. I know there are just under 1000 commands in the acidlibs file, nevermind the deflibs and all the custom libs.

I am *slowly* working on a PC tool that is being designed to accomodate, process and work with libraries etc.. It is very early stages atm, but I have more time now to make a go of it!
BippyM is offline  
Old 06 November 2019, 02:11   #4
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 3,927
If you want to do a game, you probably want to steer clear of Amiblitz, since it requires an FPU for its executables.
idrougge is offline  
Old 07 November 2019, 01:14   #5
Nightshft
Registered User

Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Age: 44
Posts: 179
Quote:
Originally Posted by idrougge View Post
If you want to do a game, you probably want to steer clear of Amiblitz, since it requires an FPU for its executables.
I'm using AB2 because I prefer the editor (and AB3 doesnt run on my setup). When it becomes a final version I load the code in BB2.1 and compile it there. Until now it worked everytime, the exe doesnt need an fpu and to my surprise also becomes much much smaller (last time 10 vs 50kb(!)).

One of the better references (although in german, sorry) is here.
Nightshft is offline  
Old 07 November 2019, 10:47   #6
MickGyver
Registered User

MickGyver's Avatar
 
Join Date: Oct 2008
Location: Finland
Posts: 460
Quote:
Originally Posted by idrougge View Post
If you want to do a game, you probably want to steer clear of Amiblitz, since it requires an FPU for its executables.
Quote:
Originally Posted by Nightshft View Post
I'm using AB2 because I prefer the editor (and AB3 doesnt run on my setup). When it becomes a final version I load the code in BB2.1 and compile it there. Until now it worked everytime, the exe doesnt need an fpu and to my surprise also becomes much much smaller (last time 10 vs 50kb(!)).

One of the better references (although in german, sorry) is here.
Good news in regards to this issue. Somebody (on the BB2/Amiblitz group on Facebook) that has done work on Amiblitz is working on removing the FPU requirements from Amiblitz 3 and compiled executables it creates.
MickGyver is offline  
Old 07 November 2019, 22:03   #7
Nightshft
Registered User

Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Age: 44
Posts: 179
Quote:
Originally Posted by MickGyver View Post
Good news in regards to this issue. Somebody (on the BB2/Amiblitz group on Facebook) that has done work on Amiblitz is working on removing the FPU requirements from Amiblitz 3 and compiled executables it creates.
Now that would be really cool! Although I still dont know how easy or hard it is to get AB3 running. Guess you need OS3.9 or WB3.1 and BetterWB.
Nightshft is offline  
Old 07 November 2019, 22:10   #8
MickGyver
Registered User

MickGyver's Avatar
 
Join Date: Oct 2008
Location: Finland
Posts: 460
Quote:
Originally Posted by Nightshft View Post
Now that would be really cool! Although I still dont know how easy or hard it is to get AB3 running. Guess you need OS3.9 or WB3.1 and BetterWB.
That's still much better than the fpu requirement. More importantly is the possibility to create executables for non-fpu machines without any hassle, let's hope he finishes it.
MickGyver is offline  
Old 07 November 2019, 23:44   #9
Daedalus
Registered User

Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 4,283
Other than the FPU thing (which will hopefully be removed soon!), Amiblitz 3 requires OS 3.0, a 68020 and some fast RAM. Very little software actually requires things like BetterWB, though they often require a component like reqtools.library which can be easily installed separately, without a heap of other stuff. It does prefer a larger screenmode though, even though it doesn't require it.
Daedalus is online now  
Old 08 November 2019, 01:55   #10
ExiE
Registered User

 
Join Date: Apr 2016
Location: T/C
Posts: 127
Quote:
Originally Posted by Daedalus View Post
Other than the FPU thing (which will hopefully be removed soon!), Amiblitz 3 requires OS 3.0, a 68020 and some fast RAM.
Is it really true or just merely wishful thinking?

Last answer I read from tomsmart1 was
Quote:
Von meiner Seite gibt es im Moment keine Motivation an einer Weiterentwicklung.
Und nochmal für alle für NonFPU benutzt BlitzBasic II!
ExiE is offline  
Old 08 November 2019, 09:22   #11
MickGyver
Registered User

MickGyver's Avatar
 
Join Date: Oct 2008
Location: Finland
Posts: 460
Quote:
Originally Posted by ExiE View Post
Is it really true or just merely wishful thinking?
The one who is working on it recently got back into Amiblitz. He is apparently a former developer of Amiblitz. He was now sad to see the FPU requirements etc. so he wanted to fix this. This is the latest post from him in the Facebook group:
Quote:
Project: AmiBlitz3 FPU-less

There is progress!

Compiler & IDE start now without FPU, but there are some problems left. Work on it continues.

Last edited by MickGyver; 09 November 2019 at 08:12.
MickGyver is offline  
Old 08 November 2019, 20:18   #12
tolkien
AmigaMan

tolkien's Avatar
 
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 543
oh man! this is a ver good new! I dont use facebook but will look at here if you can do some info update. Thanks!
tolkien is offline  
Old 09 November 2019, 01:36   #13
ExiE
Registered User

 
Join Date: Apr 2016
Location: T/C
Posts: 127
Great news. Thanks for info.
ExiE is offline  
Old 11 November 2019, 09:04   #14
MickGyver
Registered User

MickGyver's Avatar
 
Join Date: Oct 2008
Location: Finland
Posts: 460
Quote:
Originally Posted by BippyM View Post
You can dump all the commands from the blitz libraries using deflibman or similar I think.. I know there are just under 1000 commands in the acidlibs file, nevermind the deflibs and all the custom libs.

I am *slowly* working on a PC tool that is being designed to accomodate, process and work with libraries etc.. It is very early stages atm, but I have more time now to make a go of it!
Can't figure out how to do this in deflibman. The "viewlibs" command line tool can list commands for all "external" libraries. Does somebody know a tool that can list all commands (with parameters) in acidlibs?

EDIT: Just found the right tool for the job it seems. It's called "Blitz Stripper" and can be downloaded here: http://www.david-mcminn.co.uk/blitz-...rchives/tools/

It outputs a text file with commands for deflibs or acidlibs in this format:
Code:
      Blitz Stripper v1.01 Output.
    Coded by D!ck (Dick@emarkt.com)
    -------------------------------
LoadAnim                    Anim#,Filename$[,Palette#]
InitAnim                    Anim#[,BitMap#]
NextFrame                   Anim#
Frames                      (Anim#)
CreateRexxMsg               MsgPtr=CreateRexxMsg(ReplyPort,Exten,Host)
DeleteRexxMsg               rexxmsg.l
FillRexxMsg                 rexxmsg,&FillStruct
ClearRexxMsg                rexxmsg
CreateArgString             ArgString=CreateArgString(String)
DeleteArgString             argstring
SendRexxCommand             rexxmsg,CommandString,ActionCodes
ReplyRexxMsg                rexxmsg,Result1,Result2,ResultString
GetRexxResult               Result=GetRexxResult(rexxmsg,ResultNum)
GetRexxCommand              String=GetRexxCommand(rexxmsg,ARGNum)
GetResultString             String=GetResultString(rexxmsg)
RexxEvent                   rexxmsg=RexxEvent(PortAddress)
IsRexxMsg                   Boolean=IsRexxMsg(rexxmsg)
RexxError                   ErrorString=RexxError(ErrorCode)
DiskPlay                    Filename$,Channelmask[,Vol1[,Vol2...]]
DiskBuffer                  Bufferlen
LoadSound                   Sound#,Filename$
Sound                       Sound#,Channelmask[,Vol1[,Vol2...]]
Volume                      Channelmask,Vol1[,Vol2...]
...

Last edited by MickGyver; 11 November 2019 at 10:03.
MickGyver 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
Amiblitz 3 Retrofan Amiga scene 2 15 December 2016 23:55
AmiBlitz 3 AF2013 Coders. Blitz Basic 13 26 September 2013 01:27
Protracker Command Reference as a printable PDF d0pefish support.Apps 5 20 March 2013 14:25
AmiBlitz 3 slk486 support.Apps 2 16 May 2010 22:26
Amiblitz ML in english ??? mrodfr News 1 13 January 2006 20:30

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 01:41.


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