Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Daniele on June 12, 2008, 02:24:27 AM

Title: Executing INTRO Assembled with ASM One V1.0
Post by: Daniele on June 12, 2008, 02:24:27 AM
Hello Amigans,

I tried to Assemble with ASM One V1.0 the source code
of an old intro from Agile that is DL 40 found here (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
Title: Re: Executing INTRO Assembled with ASM One V1.0
Post by: Piru on June 12, 2008, 02:36:23 AM
Saving it as binary should produce a working program (it has proper startup code etc).

Just don't ask me how to save it, last time I used SEKA&friends was something like close to 20 years ago :-)

BTW these aren't the best sources for learning as they're resourced + fixed versions of the original. Sometimes large cryptic code sequences might go unexplained and so on. If only possible you should find original sources, those often are the most readable and sometimes might have better comments. Unfortunately original and well commented sources are probably very very rare.
Title: Re: Executing INTRO Assembled with ASM One V1.0
Post by: Daniele on June 12, 2008, 02:48:43 AM
I hoped in your help, even if I used ASM One I got Devpac Manual and it says I need begin address and end address.
After assembled the source how can I see what is the begin address and the end one?

Please Help me!

Daniele
Title: Re: Executing INTRO Assembled with ASM One V1.0
Post by: Piru on June 12, 2008, 02:50:14 AM
Hmm checking that site more carefully it has somewhat dubious idea of copyright there:
Quote
About the pseudo "copyright" of these intros : Cracktro=>Crack : by definition, they was used on cracked commercials games = illegal activity. So, cracktros aren't legals no copyright can be used in this case.

IMO even if the intro was used in a cracktro and part of the cracked game doesn't invalidate the copyright of the original author. Cracktros actually were later often made by introcoder specialists, and these coders later on split off completely into producing (100% legal) scene productions.

Granted, I doubt any of the original authors mind much, and that is some great code collection indeed.
Title: Re: Executing INTRO Assembled with ASM One V1.0
Post by: Piru on June 12, 2008, 02:53:43 AM
Oops, I think I accidently checked DL 42. will check 40. [EDIT] Um actually, I can't see 40 there. You meant 42?
Title: Re: Executing INTRO Assembled with ASM One V1.0
Post by: Daniele on June 12, 2008, 03:02:13 AM
@Piru

it's DL 44 , agile.zip

please help me I am going nuts for a stupid thing!
Title: Re: Executing INTRO Assembled with ASM One V1.0
Post by: Piru on June 12, 2008, 03:03:09 AM
Ok, complied it (agile5.zip), builds out of the box with PhxAss (http://aminet.net/package/dev/asm/PhxAss).
Title: Re: Executing INTRO Assembled with ASM One V1.0
Post by: Piru on June 12, 2008, 03:04:22 AM
ARGH!

Hehe, ok finally I realized. That's the download count... So obviously we get different numbers all the time.

So which file is it? None of the Agile cracktros is called agile.zip.
Title: Re: Executing INTRO Assembled with ASM One V1.0
Post by: Piru on June 12, 2008, 03:14:51 AM
Well, all 3 build with phxass easily. Agile1.zip's agile.s requires adding comment (;) to 3 lines, that's it.
Code: [Select]
> cd agile6
> [url=http://aminet.net/package/dev/asm/PhxAss]phxass[/url] exe agile6.s
> agile6
Title: Re: Executing INTRO Assembled with ASM One V1.0
Post by: Daniele on June 12, 2008, 09:19:07 AM
is there a way to save the file in executable way using ASM One pro and without using phxass?

Let me know

Thanks

Daniele
Title: Re: Executing INTRO Assembled with ASM One V1.0
Post by: Colani1200 on June 12, 2008, 09:42:29 AM
Just a stupid idea: Is the executable bit of the file set when savin as binary?
Title: Re: Executing INTRO Assembled with ASM One V1.0
Post by: Daniele on June 12, 2008, 10:30:57 AM
Quote
Just a stupid idea: Is the executable bit of the file set when savin as binary?


No, all normal

Anyway I have readed on a short manual that to save it I need BEGIN address and END address.

How can I do to realize what are BEGIN and END address from the ASM one?

Many Thanks

Daniele
Title: Re: Executing INTRO Assembled with ASM One V1.0
Post by: skurk on June 12, 2008, 11:01:42 AM
assemble (a) first, then write object (wo)

If the demo is poorly coded, try crunching it and forcing all code+data to chipmem.

[Edit: Oh, and why AsmOne 1.0?  1.48 is on Aminet. Personally, I prefer AsmPro (http://aminet.net/package/dev/asm/AsmPro)]
Title: Re: Executing INTRO Assembled with ASM One V1.0 SOLVED
Post by: Daniele on June 12, 2008, 02:05:19 PM
SOLVED

I solved thanks to a german friend. Well I hade to use

ASM One V1.20 because the other version did not want to work. For example V1.02 did not want to creat executable objects and drove me nuts.Then I tried the latest version of ASM from the Flame Arrows site but I had finish or reboot. So I used V1.20 and all went fine.And I had to
tick the "Ucase = Lcase" into the Assembler menu to make it work!

I'm quite happy!

 :-D