English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. AMOS

 
 
Thread Tools
Old 29 July 2020, 12:14   #1
Brick Nash
Prototron
 
Brick Nash's Avatar
 
Join Date: Mar 2015
Location: Glasgow, Scotland
Posts: 411
Compiling problems

I'm at that stage where I'm looking into compiling my game for proper testing, but I'm having a hell of a time getting anything to work.

I created a W.B executable which the compiler manual says can just be run, but it does nothing when I click on it. I then tried creating a CLI file and put it in a blank .adf image file, but I can't make a startup sequence as every time I try to type "ed" into the command line to get to the editor I get:

"Recoverable Alert. Push Left mouse button to continue.
Error: 0003 8007 Task: 00C2E D60"

I also tried the way in the manual with the Boot Disk Maker but I just keep getting failed return codes.

Sorry, I know absolutely nothing about Workbench or how it operates so all of this is a complete mystery to me, and the copy of the manual I have is just a text transcript which has no visual references, so I'm finding it hard to digest and understand.
Brick Nash is offline  
Old 29 July 2020, 14:05   #2
Dan
Registered User
 
Dan's Avatar
 
Join Date: Nov 2004
Location: Germany
Posts: 629
Which emulation are you using or are able to start ?

AmosForWindows ? WB 3.1 ? Kick 1.3 ?

Do you have a runable directoryopus or other filemanager ?
Dan is offline  
Old 29 July 2020, 16:49   #3
Brick Nash
Prototron
 
Brick Nash's Avatar
 
Join Date: Mar 2015
Location: Glasgow, Scotland
Posts: 411
Quote:
Originally Posted by Dan View Post
Which emulation are you using or are able to start ?

AmosForWindows ? WB 3.1 ? Kick 1.3 ?

Do you have a runable directoryopus or other filemanager ?
I'm using Amos for Windows to compile the file, then I'm using WinUAE in a virtual HDD which boots into Workbench, which I think is using KS 2.04.

I don't know if I have any of that other stuff.
Brick Nash is offline  
Old 29 July 2020, 16:57   #4
roondar
Registered User
 
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,408
The 0003 in the alert error message denotes the problem lies with the OpenLibrary function. This makes me suspect the version of ed you're using may not be compatible with the Workbench and/or Kickstart version you're using.

How did you install Workbench onto the virtual HDD?
What version of Workbench did you install?

Last edited by roondar; 29 July 2020 at 17:11.
roondar is online now  
Old 29 July 2020, 19:27   #5
Brick Nash
Prototron
 
Brick Nash's Avatar
 
Join Date: Mar 2015
Location: Glasgow, Scotland
Posts: 411
Quote:
Originally Posted by roondar View Post
The 0003 in the alert error message denotes the problem lies with the OpenLibrary function. This makes me suspect the version of ed you're using may not be compatible with the Workbench and/or Kickstart version you're using.

How did you install Workbench onto the virtual HDD?
What version of Workbench did you install?
Oh god! It was a few years ago and I had help with it, so I can't remember much.

In the About Section it was Kickstart: 27.175, and Workbench: 40.42
Brick Nash is offline  
Old 29 July 2020, 21:39   #6
Havie
Registered User
 
Havie's Avatar
 
Join Date: Mar 2012
Location: UK
Posts: 1,893
I assume you have installed the Compiler for Amos Pro as I think the compiler was updated when Amos pro was released?
Havie is offline  
Old 29 July 2020, 21:54   #7
Dan
Registered User
 
Dan's Avatar
 
Join Date: Nov 2004
Location: Germany
Posts: 629
Amos for Windows comes with preinstalled compiler.
Dan is offline  
Old 29 July 2020, 22:21   #8
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
Quote:
Originally Posted by Brick Nash View Post
Oh god! It was a few years ago and I had help with it, so I can't remember much.



In the About Section it was Kickstart: 27.175, and Workbench: 40.42
The Kickstart and Workbench versions don't match. Workbench 40.42 would be Workbench 3.1 while Kickstart 27.175 is abysmally ancient, maybe Kickstart 1.3 or even 1.2. I'd try updating to a newer Kickstart if I were you.
Samurai_Crow is offline  
Old 29 July 2020, 22:38   #9
Dan
Registered User
 
Dan's Avatar
 
Join Date: Nov 2004
Location: Germany
Posts: 629
There is a nice freeware text editor on aminet, called Redit2

In my tests it runs under kickstart 1.3 as well as 2.04 (and should run on higher kicks)

P.S. the description on aminet is in german language, but the program itself runs in english.
Dan is offline  
Old 29 July 2020, 23:14   #10
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,985
Quote:
Originally Posted by Samurai_Crow View Post
Kickstart 27.175 is abysmally ancient
I am sure he meant 37.175 which is Kick 2.04 for A500.
thomas is offline  
Old 30 July 2020, 02:23   #11
Dan
Registered User
 
Dan's Avatar
 
Join Date: Nov 2004
Location: Germany
Posts: 629
@Brick Nash, do not try to compile to the ADF with AmosForWindows.

I'v just spent last 4~5 hours playing with this. (ok, i have to say that the chosen game had to be modified, to be compiled right, which took me a lot of time to find out ... )
Compile the program to the HardDrive, then switch to a Kickstart/Workbench 1.3+, mount the folder as a harddrive in winuae, then copy the compiled files to the disk.

With the Aros replacement rom, the compiled executable will have some errors on the disk, at least so was it here.
Dan is offline  
Old 30 July 2020, 10:05   #12
roondar
Registered User
 
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,408
Quote:
Originally Posted by Brick Nash View Post
Oh god! It was a few years ago and I had help with it, so I can't remember much.

In the About Section it was Kickstart: 27.175, and Workbench: 40.42
Like Thomas said, you probably meant Kickstart 37.175.
Kickstart revision 37.175 is version 2.04 or 2.05. Workbench revision 40.42 is version 3.1.

Now, I'm not entirely sure if Workbench 3.1 is compatible with Kickstart 2.04. It could be, but it could also be the source of your problems. Generally it's best to have the Workbench and Kickstart versions match or if that isn't possible, use a newer Kickstart than you have Workbench. I'd recommend you create a new virtual HDD and install a single full version and use a matching Kickstart (Kickstart 3.1/Workbench 3.1 for instance), then try it again.

Not fun, but at least thanks to you using an emulator it is fairly straightforward and you can just keep the old environment if you need it for something. Sadly, I don't know anything about Amos for Windows so can't help you there.
roondar is online now  
Old 30 July 2020, 11:18   #13
Brick Nash
Prototron
 
Brick Nash's Avatar
 
Join Date: Mar 2015
Location: Glasgow, Scotland
Posts: 411
Thanks for all the replies folks. Yes sorry, it's 37.175. I must have typed it in wrong.

I don't mind setting up a new environment if that's what it takes. In fact, I remember now that I had set up the old one using a YouTube tutorial, but I must have made some mistakes.

The Compiler came pre-installed in Amos for Windows, but that program is proving to be more hassle than it's worth as there seems to be lots of errors and glitches which don't occur in a "real" version of Amos, so I think I'll put my project on ice and focus on getting a proper environment set up.

As always, thanks for the great advice. I know I'm a pain with all my questions, but I really do appreciate everything.
Brick Nash is offline  
Old 04 August 2020, 10:42   #14
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Quote:
Originally Posted by Brick Nash View Post
Oh god! It was a few years ago and I had help with it, so I can't remember much.

In the About Section it was Kickstart: 27.175, and Workbench: 40.42
Quote:
Originally Posted by Samurai_Crow View Post
The Kickstart and Workbench versions don't match. Workbench 40.42 would be Workbench 3.1 while Kickstart 27.175 is abysmally ancient, maybe Kickstart 1.3 or even 1.2. I'd try updating to a newer Kickstart if I were you.
If that was the .HDF I did for you a few years back then from memory it's a "ClassicWB Lite 3.1" install with "AMOS Professional 2.00" installed; as you requested.

You should use an AGA config.

Last edited by DamienD; 04 August 2020 at 10:47.
DamienD is offline  
Old 04 August 2020, 12:22   #15
Brick Nash
Prototron
 
Brick Nash's Avatar
 
Join Date: Mar 2015
Location: Glasgow, Scotland
Posts: 411
Quote:
Originally Posted by DamienD View Post
If that was the .HDF I did for you a few years back then from memory it's a "ClassicWB Lite 3.1" install with "AMOS Professional 2.00" installed; as you requested.

You should use an AGA config.
Was that you? Sorry mate, my memory is horrendous. It's coming back to me now, so thank you.
Brick Nash is offline  
Old 04 August 2020, 12:59   #16
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Quote:
Originally Posted by Brick Nash View Post
Was that you? Sorry mate, my memory is horrendous. It's coming back to me now, so thank you.
Yeah

Just checked, I still have the file dated 02/04/2017:

DamienD 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
Compiling Dopus5. Thorham Coders. C/C++ 0 29 September 2013 04:40
Compiling WinUAE 2.1.0 rotacak support.WinUAE 8 06 May 2010 17:09
Compiling BlizKick Toni Wilen Coders. General 2 26 December 2007 17:06
Compiling 1.3.4 rotacak support.WinUAE 70 22 January 2007 08:13
Compiling WinUAE 1.3.2 rotacak support.WinUAE 1 06 October 2006 20:34

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 14:39.

Top

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