English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 02 December 2019, 21:46   #1
oRBIT
Zone Friend
 
Join Date: Apr 2006
Location: Gothenburg/Sweden
Age: 44
Posts: 262
Using MiniStartup from StingRay

I've been experimenting a bit with the startupcode provided online by StingRay (v2.26) but I can't get it to work properly if the exe I created is started from an icon. I get a crash.
All I've added to the code at the moment is:
Begin: bsr start
lmb: btst #6,$bfe001
bne.b lmb
bsr restore
rts
And it works fine within Asm-One and from a shell-window but not from an Icon. Anything I've missed? Thanks in advance.
My Amiga-environment (in WinUAE) is running AmigaOS 3.1.4..
oRBIT is offline  
Old 02 December 2019, 22:17   #2
Antiriad_UK
Registered User

 
Join Date: Mar 2019
Location: Birmingham, UK
Posts: 142
Running from icon needs some extra stuff. Have a look at section 18 in this
https://plantmonster.net/koodailut/a...HowToCode7.pdf
Antiriad_UK is offline  
Old 02 December 2019, 22:20   #3
oRBIT
Zone Friend
 
Join Date: Apr 2006
Location: Gothenburg/Sweden
Age: 44
Posts: 262
Oh ok, I thought his startupcode should take care of that, but ok.. Thanks.
oRBIT is offline  
Old 02 December 2019, 22:28   #4
alkis
Registered User

 
Join Date: Dec 2010
Location: Athens/Greece
Age: 48
Posts: 498
I think if you include this
https://github.com/optixx/amiga-cros.../iconstartup.i
in ministartup.s you should be fine.
alkis is offline  
Old Yesterday, 20:17   #5
StingRay
move.l #$c0ff33,throat

StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,240
Quote:
Originally Posted by oRBIT View Post
Oh ok, I thought his startupcode should take care of that, but ok.. Thanks.

It's called MiniStartup for a reason. Usually running code from WB is not necessary for most demos hence I didn't include it.
StingRay is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stingray!! wXR project.WHDLoad 1 14 September 2015 10:31
Dear StingRay... wXR project.WHDLoad 6 19 October 2013 22:41
stingray being busy extralife request.Demos 30 08 January 2013 17:44

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


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


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.07676 seconds with 15 queries