![]() |
![]() |
#1 |
Registered User
Join Date: Jan 2013
Location: Slovakia
Posts: 27
|
Assembler APP.PATH
Iam looking for something like APP.PATH in Visual Basic.
Is any way how to find "Program/App path" in Amiga assembler ? Thanks. |
![]() |
![]() |
#2 |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,642
|
depending on what you're trying to do, you can either use the automatic "PROGDIR:" assignment or read the "pr_HomeDir" field of your process (which you get by doing "FindTask(NULL)".
None of the above is assembler-specific, btw.. |
![]() |
![]() |
#3 |
Registered User
Join Date: Jan 2013
Location: Slovakia
Posts: 27
|
Simple steps:
1. Program starts from HDD. 2. Allocate some Chip mem. 3. Load GFX,Music,Any data from Home directory (HDD) to allocated memory. Months ago I found sample program on some forum (French, I think), but I dont know where and still looking for it. |
![]() |
![]() |
#4 |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,642
|
well, no need to look any further, just do what I described :-)
|
![]() |
![]() |
#5 |
Registered User
Join Date: Jan 2013
Location: Slovakia
Posts: 27
|
"PROGDIR:" sounds good but when I used it Iam requested to insert volume "PROGDIR"
![]() I dont know how to use findtask() and pr_HomeDir , but i found this: curdir.zip Just I want simpliest way. |
![]() |
![]() |
#6 |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,642
|
hmm.. are you using kickstart 1.2 or 1.3? my suggestions only work on 2.0+..
also, if you aren't able to figure out how to call FindTask(), I'm afraid you will never succeed implementing all that stuff above that you call "simple steps".. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Flight Path 737 | Bamiga2002 | Games images which need to be WHDified | 12 | 14 April 2013 21:53 |
2.2 default path changes | sun68 | support.WinUAE | 4 | 19 July 2010 21:31 |
Path command... | illy5603 | New to Emulation or Amiga scene | 16 | 29 September 2008 00:15 |
Auto path change? | Djay | request.UAE Wishlist | 7 | 23 April 2006 00:29 |
Golden Path | coach | support.Games | 3 | 16 December 2002 22:09 |
|
|