English Amiga Board    


Go Back   English Amiga Board > » Coders > Coders. General

Reply
 
Thread Tools
Old 05 November 2002, 13:44   #1
Iron Butterfly
 
Posts: n/a
WB Launch probs

I have written a little prog in asm that just displays a gfx. I used the HowtoCode7 startup code. The gfx file was just incbin'd into the prog. It worked when I clicked the icon Devpac created.

I changed it to load the gfx from disk and now the icon launch fails. It just flashes and nothing happens, but it works from the Shell and also from Devpac->RUN.

Does anyone know why this might be?
  Reply With Quote
Old 05 November 2002, 14:06   #2
RetroMan
Registered User
 
RetroMan's Avatar
 
Join Date: Aug 2001
Location: Germany
Age: 40
Posts: 3,704
Be sure that the prog is maked as EXECUTABLE in WB Information !
__________________
--~~= RetroMan =~~--
-= AmigA =- -= ForeveR =-
RetroMan is offline   Reply With Quote
Old 05 November 2002, 16:41   #3
Iron Butterfly
 
Posts: n/a
Yes, it is. It tries to execute, but fails...
  Reply With Quote
Old 06 November 2002, 12:43   #4
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 39
Posts: 5,858
Send a message via ICQ to andreas Send a message via AIM to andreas
I don't know if you're trying this out on a real Amiga or on an emulator (?)
If it happens on the real Amiga, your program has a bug.
If it happens on the emulator, it could be an emulation problem...
andreas is offline   Reply With Quote
Old 06 November 2002, 21:18   #5
Jherek Carnelia
Dazed and Confused
 
Jherek Carnelia's Avatar
 
Join Date: Dec 2001
Location: portsmouth/uk
Posts: 225
I had a similar problem. I cured it by making the filename the complete filepath , alternatively you could make an assign (before you run) to the directory the files are in and use the assign in the filename, i.e - dc.b "myassign:myfile",0.

As an aside I tried to make calls to DOS Lock(), CurrentDir() & UnLock() thinking that this might do it, however I couldn't get the program to run at all!

(I still think that the DOS calls are the answer (probably I'm completely wrong) but I'm buggered if I know how to do it!
Jherek Carnelia is offline   Reply With Quote
Old 07 November 2002, 18:10   #6
Iron Butterfly
 
Posts: n/a
Thanks.
I'll try it and let you know.
  Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Launch config menu by one click? andreas request.UAE Wishlist 3 08 February 2005 02:25
On WinUAE launch Unregistered support.WinUAE 3 06 August 2004 16:23
Launch Windows Programs from within WinUAE? mdwh2 support.WinUAE 4 18 July 2003 17:02
Probs with Goblins 3 Duke support.Games 4 10 March 2002 23:29
cant launch amiga roms o amiga emu's, HELP ostry New to Emulation or Amiga scene 10 11 February 2002 12:55


All times are GMT +2. The time now is 15:15.

-->

Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Page generated in 0.14457 seconds with 9 queries