flat assembler
Message board for the users of flat assembler.

Index > Main > function pointer

Author
Thread Post new topic Reply to topic
redasmm



Joined: 14 Oct 2005
Posts: 4
redasmm
i want to make an spc700 player in fasm using snesapu.dll,ihave converted all the code but i have a problem converting
function pointer to fasm.
delphi:waveOutOpen(@Wav.handle, WAVE_MAPPER , @Wav.fmt, >>>Cardinal(@XXX)<<<, 0, CALLBACK_FUNCTION or WAVE_ALLOWSYNC);
vb :waveOutOpen(handle,-1, Fmt,>>>AddressOf XXX<<<,0,WAVE_ALLOWSYNC or CALLBACK_FUNCTION)
Cardinal(@XXX) or AddressOf XXX in fasm ?

thx Razz
Post 14 Oct 2005, 16:35
View user's profile Send private message Reply with quote
cod3b453



Joined: 25 Aug 2004
Posts: 619
cod3b453
Neither, just put XXX.
Post 15 Oct 2005, 10:56
View user's profile Send private message Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2140
Location: Estonia
Madis731
In FASM, you can't get any easier than that Smile

*Madis731 is going to Google on "spc700 player"...

P.S. Anyone care to explain what Cardinal means in C terms? I know its something to do with religion Very Happy but...
Post 18 Oct 2005, 07:50
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
tom tobias



Joined: 09 Sep 2003
Posts: 1320
Location: usa
tom tobias
Madis731 wrote:
...
P.S. Anyone care to explain what Cardinal means in C terms? I know its something to do with religion Very Happy but...

cardinal: SIXTY FOUR successive implementations of first version of FASM
ordinal: FIRST version of fasm to encode 64 bit cpu instructions
nominal: fasm 1.64
http://www.castlebury.net/songbirdsv.htm
cardinal: show quantity
ordinal: show rank
nominal: identification
Smile
Post 18 Oct 2005, 09:34
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.