![]() |
![]() |
#1 |
Zone Friend
Join Date: Apr 2006
Location: Gothenburg/Sweden
Age: 48
Posts: 344
|
Proper startupcode in asm?
Is there such a thing as a 100% proper startupcode that makes your programs work both from shell/Workbench?
![]() I've seen a few during the years and the current one I'm using is working the best. However, it locks asm-one when I run the code so I can only use it when I'm compiling exe's. Are there better ways of doing this? I've attached the startupcode I'm using (don't know where I got it, it was along time ago).. |
![]() |
![]() |
#2 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
|
![]() |
![]() |
#3 |
Zone Friend
Join Date: Apr 2006
Location: Gothenburg/Sweden
Age: 48
Posts: 344
|
Just tried with 1.49RC2 but still same issue.
|
![]() |
![]() |
#4 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
Tried it with ASM-One 1.48 and ASM-Pro 1.16d, no problems. Only tried it with my very own "RunWB" code though but I don't think yours will be much different. Will check later.
Edit: checked your code and as expected it is not much different to mine. I checked my ASM-One/Pro settings now, I have the "Parameters" checkbox ticked, I guess this is what did the trick. Try if that helps. ![]() |
![]() |
![]() |
#5 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,573
|
Quote:
|
|
![]() |
![]() |
#6 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
I don't call Permit in my own WB startup for that reason, and it's exactly what Commodore state in their docs.
|
![]() |
![]() |
#7 | |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,027
|
Quote:
I think I posted proper startup code here: http://eab.abime.net/showpost.php?p=664723&postcount=18 |
|
![]() |
![]() |
#8 |
Zone Friend
Join Date: Apr 2006
Location: Gothenburg/Sweden
Age: 48
Posts: 344
|
My "Parameters" was already checked.
![]() |
![]() |
![]() |
#9 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,027
|
When you run a program from Asm-one, it probably runs in the context (process) of Asm-one. This means you need to run Asm-one from the shell, because if you run it from Workbench, your program checks whether the process was created by Workbench and then Wait()s for a message which never appears (the message has already been received by Asm-one).
|
![]() |
![]() |
#10 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,658
|
If that's the problem, how come Stingray could run it?
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
What is the proper configuration for The Bard's Tale? | Lotus Gramarye | support.WinUAE | 4 | 27 April 2012 15:18 |
Proper HD and WinUAE | Macca | support.WinUAE | 54 | 14 August 2007 07:43 |
cdtv proper configuration | truestep | New to Emulation or Amiga scene | 5 | 19 July 2007 15:54 |
KICK OFF 2 v1.4e - A proper crack | manicx | Games images which need to be WHDified | 0 | 07 December 2002 15:52 |
Proper crack of One step beyond | Drake1009 | request.Old Rare Games | 6 | 04 March 2002 14:27 |
|
|