![]() |
![]() |
#1 |
Registered User
![]() Join Date: Nov 2010
Location: Invercargill, New Zealand
Posts: 176
|
Workbench Version command and startup-sequence
I have written a game in AmigaBASIC and have compiled it and it likes to crash when quitting on kickstart 1.1, 1.2 and 1.3 when the disk has been booted. When the game is started from workbench with kickstart 1.1, 1.2 or 1.3 it quits fine.
Can I use the Version command from the workbench disk in the startup-sequence to check if the kickstart version is equal to or higher than kickstart 2 ? If it is run the game, otherwise it will have a message that says you need to run the game from workbench. I looked in the Amiga Enhancer Software manual for syntax for the version command but it wasn't entirely helpful. |
![]() |
![]() |
#2 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,265
|
Could be that it needs more stack space. If you show the program's icon information in Workbench, what does it say under stack space? What happens if you start the Amiga Shell under WB 1.3 and run the game from there, and what happens if you run "stack 8192" before?
Does it run fine from CLI/Shell under Kick 2.0? Beginning with Kick 2.0, a program run from the CLI/Shell is given 8K stack space, but prior to that it was only 4K. EDIT: There's also WBRun which lets you run program as if it was started from the Workbench. Last edited by Leffmann; 27 June 2011 at 13:59. |
![]() |
![]() |
#3 |
Boo
![]() Join Date: Jun 2006
Location: 5150
Posts: 4,786
|
If that doesnt work http://eab.abime.net/showpost.php?p=713984&postcount=3
|
![]() |
![]() |
#4 | |
Registered User
![]() Join Date: Nov 2010
Location: Invercargill, New Zealand
Posts: 176
|
Quote:
According to Workbench 1.3 with Kickstart 2.0 the stack of the new version of the game is 6000 and something, strange the old version that worked had a stack of 5000 and something. @ Boo Boo I saw that thread but since the disk was supposed to be bootable without any other software it couldn't check for a graphics library version, I don't know what to replace the 'graphics.library' with to find Kickstart, 'kickstart', 'kickstart.rom', 'kick', 'kick.rom','kickstart.device', 'kick.device' didn't work. It program already worked fine running from the icon in workbench using kickstart 1.1, 1.2 and 1.3. But I don't need to worry about it now as it is working with 'stack 8192' added to the startup-sequence. Last edited by Ze Emulatron; 27 June 2011 at 16:29. |
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ed s:startup-sequence | Astrofra | Member Introductions | 2 | 24 February 2013 22:09 |
startup-sequence | mai | support.Other | 10 | 01 June 2010 21:39 |
Startup-Sequence | blade002 | support.Apps | 8 | 04 April 2008 19:06 |
startup-sequence locked | glwxxx | support.WinUAE | 10 | 18 July 2006 18:25 |
Need help with startup-sequence | lopos2000 | support.Apps | 5 | 01 August 2005 11:54 |
|
|