05 November 2002, 13:44 | #1 |
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? |
05 November 2002, 14:06 | #2 |
Registered User
Join Date: Aug 2001
Location: Germany
Age: 51
Posts: 3,704
|
Be sure that the prog is maked as EXECUTABLE in WB Information !
|
05 November 2002, 16:41 | #3 |
Posts: n/a
|
Yes, it is. It tries to execute, but fails...
|
06 November 2002, 12:43 | #4 |
Zone Friend
|
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... |
06 November 2002, 21:18 | #5 |
Dazed and Confused
Join Date: Dec 2001
Location: portsmouth/uk
Posts: 242
|
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! |
07 November 2002, 18:10 | #6 |
Posts: n/a
|
Thanks.
I'll try it and let you know. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AG Launch 7c not working in MultiBoot. | spannernick | Amiga scene | 1 | 18 June 2012 12:50 |
how to launch games with no icon ? | phaistos | project.Killergorilla's WHD packs | 10 | 03 December 2009 18:22 |
How do you launch your retro games? | plankton | Retrogaming General Discussion | 3 | 25 November 2009 13:25 |
Program Launch | zeke1312 | New to Emulation or Amiga scene | 12 | 13 January 2008 06:27 |
On WinUAE launch | Unregistered | support.WinUAE | 3 | 06 August 2004 16:23 |
|
|