how to call a function with only the

Just starting out? Need help? Post your questions and find answers here.
sazuker
New User
New User
Posts: 9
Joined: Thu Jun 05, 2008 6:48 pm

how to call a function with only the

Post by sazuker »

how to call a function with only the address of it?

lets say my function address

FunctionAddress.l = $00000001

How can I call this?
Chaos
User
User
Posts: 12
Joined: Mon May 05, 2008 7:52 am
Location: france

Post by Chaos »

Code: Select all

callfunctionfast(*ptr, param1, param2 ...)
or

Code: Select all

!PUSH param1
..
..
..
!CALL *tr
(with the corect syntax of course :) )
User avatar
hallodri
Enthusiast
Enthusiast
Posts: 208
Joined: Tue Nov 08, 2005 7:59 am
Location: Germany
Contact:

Post by hallodri »

Code: Select all

prototyp func(a)

afunc.func = address 

afunc(0)

sazuker
New User
New User
Posts: 9
Joined: Thu Jun 05, 2008 6:48 pm

Post by sazuker »

thank you very much
Post Reply