English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 08 August 2008, 10:25   #1
redblade
Zone Friend

redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 34
Posts: 1,187
AmigaDOS 1.3 Scripting Language

Hi goes.

Does any one have any information on creating .bat like scripts for AmigaDos 1.3. I see there are a few articles on Amiga World year 88.

I don't have my book that came with my A500, it's in New Zealand at my parents house.

If possible only AmigaDOS 1.3.

TIA
redblade is offline  
Old 08 August 2008, 10:35   #2
TCD
Registered User

TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 40
Posts: 24,012
Hi redblade,

just create a textfile with the commands you want to use in there and use 'execute <name of textfile>' to run it. Here's a little example of a shell script : http://99-bottles-of-beer.net/langua...script-28.html It should work with 1.3.
TCD is offline  
Old 08 August 2008, 12:21   #3
musashi5150
move.w #$4489,$dff07e
musashi5150's Avatar
 
Join Date: Sep 2005
Location: Norfolk, UK
Age: 37
Posts: 2,297
When your script is finished and you are happy with it you can:

protect <name of textfile> +s

Then you can just type the name and don't have to type execute each time.
musashi5150 is offline  
Old 08 August 2008, 12:42   #4
TCD
Registered User

TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 40
Posts: 24,012
You can? Thank you very, very much for the info musashi5150
TCD is offline  
Old 08 August 2008, 13:00   #5
Thorham
Computer Nerd

Thorham's Avatar
 
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 42
Posts: 3,085
Quote:
Originally Posted by TheCyberDruid View Post
You can? Thank you very, very much for the info musashi5150
Yes, and even better: Programs like cygnused remember the files protection bits, so that when you load a script file with +s it will save the file with the same bit set.
Thorham is offline  
Old 08 August 2008, 13:04   #6
TCD
Registered User

TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 40
Posts: 24,012
It's interesting that the Amiga OS had a specific bit to tell that a file is a script. Now I'm going to edit some file attributes
TCD is offline  
Old 08 August 2008, 13:25   #7
musashi5150
move.w #$4489,$dff07e
musashi5150's Avatar
 
Join Date: Sep 2005
Location: Norfolk, UK
Age: 37
Posts: 2,297
Quote:
Originally Posted by TheCyberDruid View Post
You can? Thank you very, very much for the info musashi5150
You're welcome TCD - now go get more people to visit EAB Town
musashi5150 is offline  
Old 08 August 2008, 13:31   #8
Thorham
Computer Nerd

Thorham's Avatar
 
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 42
Posts: 3,085
Quote:
Originally Posted by redblade View Post
Hi goes.

Does any one have any information on creating .bat like scripts for AmigaDos 1.3. I see there are a few articles on Amiga World year 88.

I don't have my book that came with my A500, it's in New Zealand at my parents house.

If possible only AmigaDOS 1.3.

TIA
Heres an aminet link to a guide that seems very good and extensive: AmigaDos for Beginners

This is not limited to 1.3, but most of it should aply to 1.3 as well. Note that this is in AmigaGuide format.

Heres a guide in text format: adosguide

Last edited by Thorham; 08 August 2008 at 13:37.
Thorham is offline  
Old 11 August 2008, 04:55   #9
redblade
Zone Friend

redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 34
Posts: 1,187
Cheers Thorman.

the last AmigaDOS scripte i coded was S:startup-sequence :/
redblade is offline  
Old 12 August 2008, 02:31   #10
alphonsus
Registered User
alphonsus's Avatar
 
Join Date: Apr 2008
Location: UK
Age: 45
Posts: 181
You could try looking at a recent version of the AmigaDOS manual - should be floating around somewhere!


PM
alphonsus is offline  
Old 16 August 2008, 13:58   #11
redblade
Zone Friend

redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 34
Posts: 1,187
Managed to get the docs from LSD Docs disk
redblade 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
AmigaDOS scripting resources Photon Coders. System 26 19 March 2018 15:51
UAE Scripting Layer FrodeSolheim support.FS-UAE 15 26 January 2014 16:56
Scripting Gamebase to autorun another emu. NewDeli Coders. General 5 07 April 2009 17:38
C= 64 BASIC as a Scripting Language Charlie Retrogaming General Discussion 2 17 November 2008 15:23

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 03:31.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.07349 seconds with 13 queries