![]() |
![]() |
#1 |
Registered User
Join Date: May 2022
Location: Canada
Posts: 140
|
Hint about icon preventing program from working
Hi Amiga hardware and os experts,
I would like to have guidance or hints regarding an issue I'm seeing with my game: When I launch it thru CLI, it works. When I launch it thru workbench, with "Show All Files", it works. But when I added a .icon file, of type Tool, with default stack 4096, it crashes. It displays a blank screen, and nothing happens. I'm attempting to start looking into initialization code to pinpoint the issue, but would you have "usual suspects" regarding what could make a program fail to load because Workbench launched it as a Tool? |
![]() |
![]() |
#2 | |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,475
|
Quote:
|
|
![]() |
![]() |
#3 |
Registered User
Join Date: Jun 2016
Location: europe
Posts: 1,064
|
1. Do you handle WB specific startup (get startup message, forbid/reply at the end)?
2. Only have startup/cleanup code active (comment out a call to main or something similar), and see if that works. If it does, startup code is probably ok. 3. Add "tst.w $1234.w" somewhere at start of your program (or anywhere where you want to start debugging), then in winuae debugger add a breakpoint "w 1 1234 2 r", start your program and go through with debugger. |
![]() |
![]() |
#4 |
Registered User
Join Date: May 2022
Location: Canada
Posts: 140
|
You are definitely right. I switched to doing a dummy script and setting IconX has its default tool: it works. Much simpler than trying to make it WB-friendly.
I am using IconX from wb 1.3 however; because when I tried the version found in wb 2.04, it didn't work on 1.3 |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Running program from icon = current dir is changed | 8bitbubsy | Coders. Asm / Hardware | 11 | 25 January 2023 17:01 |
Workbench: dragging files onto the program icon | AMIGASYSTEM | support.Apps | 0 | 30 September 2020 09:57 |
Change icon drop thingy program | VresiBerba | support.Apps | 11 | 28 October 2018 11:07 |
problem launching my program using an icon | Sparticle | Coders. C/C++ | 4 | 10 July 2015 15:05 |
Icon Update program - what do you use? | Bloodwych | support.Apps | 9 | 22 September 2007 22:54 |
|
|