![]() |
![]() |
#1 |
Zone Friend
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
|
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 |
![]() |
![]() |
#2 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,941
|
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. |
![]() |
![]() |
#3 |
move.w #$4489,$dff07e
Join Date: Sep 2005
Location: Norfolk, UK
Age: 42
Posts: 2,351
|
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. |
![]() |
![]() |
#4 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,941
|
You can?
![]() ![]() |
![]() |
![]() |
#5 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,839
|
|
![]() |
![]() |
#6 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,941
|
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
![]() |
![]() |
![]() |
#7 |
move.w #$4489,$dff07e
Join Date: Sep 2005
Location: Norfolk, UK
Age: 42
Posts: 2,351
|
|
![]() |
![]() |
#8 | |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,839
|
Quote:
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 12:37. |
|
![]() |
![]() |
#9 |
Zone Friend
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
|
Cheers Thorman.
the last AmigaDOS scripte i coded was S:startup-sequence :/ |
![]() |
![]() |
#10 |
Registered User
Join Date: Apr 2008
Location: UK
Age: 50
Posts: 181
|
You could try looking at a recent version of the AmigaDOS manual - should be floating around somewhere!
PM |
![]() |
![]() |
#11 |
Zone Friend
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
|
Managed to get the docs from LSD Docs disk
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
AmigaDOS scripting resources | Photon | Coders. System | 26 | 19 March 2018 14:51 |
UAE Scripting Layer | FrodeSolheim | support.FS-UAE | 15 | 26 January 2014 15:56 |
Scripting Gamebase to autorun another emu. | NewDeli | Coders. General | 5 | 07 April 2009 16:38 |
C= 64 BASIC as a Scripting Language | Charlie | Retrogaming General Discussion | 2 | 17 November 2008 14:23 |
|
|