12 June 2008, 03:26 | #1 |
Registered User
|
How to execute an intro with ASM ONE
Hello Amigans,
I tried to Assemble with ASM One V1.0 the source code of an old intro from Agile that is DL 40 http://cyberpingui.free.fr/rsources.htm I readed the intro.s into ASM One, then Assembled and all went fine. Then I tried if it worked with the command 'G' and it worked very fine. The problem is I can save it as: 1) Source 2) Binary 3) Object I tried to save both in Binary and Object but the intro cannot be executed. What is the way to save it in .exe and to make it executable by CLI? Thanks in advance Daniele |
12 June 2008, 09:45 | #2 |
Posts: n/a
|
To save it on df0: as "intro", write in AsmOne:
"WO DF0:intro" |
12 June 2008, 10:10 | #3 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
You can also press your right mouse button and select Write->Object from the Project menu.
|
12 June 2008, 10:18 | #4 |
Registered User
|
|
12 June 2008, 10:21 | #5 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,941
|
Hi dannypet,
you need to use the linker. I'm at work right now so I can't test it. There should be a option for the linker in the menu. This way the file will be executable. |
12 June 2008, 10:36 | #6 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
You don't need a linker here, ASM-One will do that automagically when it creates the executable.
What happens exactly when you type "wo df0:intro"? |
12 June 2008, 11:01 | #7 | |
Registered User
|
Quote:
WO then FILENAME: I put Df0:intro or dh0:intro but when I go by CLI typing intro it says that cannot be executed! What can I do? Help me please! Daniele |
|
12 June 2008, 11:09 | #8 | |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
Quote:
Also, did you assemble again before trying to write the executable? Executing the intro with j and then trying to write the executable will NOT work! so do this: - assemble the source - save the executable with "wo" or select the option from the projects menu Hope that helps. |
|
12 June 2008, 11:11 | #9 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,567
|
|
12 June 2008, 11:12 | #10 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
|
12 June 2008, 11:20 | #11 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,567
|
|
12 June 2008, 11:22 | #12 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
|
12 June 2008, 11:26 | #13 | |
Registered User
|
Quote:
what should I do to understand what is the begin address? Many thanks Daniele |
|
12 June 2008, 11:44 | #14 | |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
Quote:
foolproof approach: - assemble - type ONLY wo. you should get a filerequester then where you can select where to save the executable. try this and tell me what happens. |
|
12 June 2008, 11:51 | #15 | |
Registered User
|
Quote:
I readed the source, then assembled without executing with G. Then I made WO, entered DH0:intro , but when I type intro into CLI it says cannot execute the file... What can I do? Thanks for helping me Hope we can to solve this problem Daniele |
|
12 June 2008, 12:00 | #16 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
Hmm, I'm slowly running out of ideas.
enter the editor (press Escape), type: Code:
moveq #0,d0 rts then try to start this file from cli. do you get the same error? |
12 June 2008, 12:08 | #17 | |
Registered User
|
Quote:
I edit : moveq #0,d0 rts but when I assemble I have Illegal operator moveq #0,d0 what to do? |
|
12 June 2008, 12:14 | #18 |
Joy Division
Join Date: Nov 2006
Location: East Yorkshire
Age: 60
Posts: 243
|
Is this an issue with alpha / numeric recognition?
|
12 June 2008, 12:15 | #19 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
make sure that there is at least 1 space (just press TAB and everything is fine) before the commands. Also, just in case it wasn't clear, these should be the ONLY 2 lines in the whole source, i.e. don't add these lines to the intro source.
|
12 June 2008, 12:19 | #20 | |
Registered User
|
Quote:
Done, and saved dh0:test but from CLI says this file is not executable WHY? |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Execute file without using execute | VoltureX | support.Apps | 3 | 01 December 2011 09:59 |
I can't execute installer | paulo_becas | support.Apps | 5 | 01 March 2010 10:02 |
Unable to get 'Nu' PD Game to Execute! | Heavy Stylus | support.Games | 4 | 27 April 2009 22:15 |
Execute a script | frikilokooo | project.ClassicWB | 6 | 20 November 2007 11:36 |
|
|