Skip to main content
Home Forums 68kMLA 68k ASM - Little Question — #1
Post #1 by rafthe030
Source Forum68kMLA
Category68k
Post DateFri, 13 Mar 2015 - 00:13
Original URLhttps://68kmla.org/bb/threads/68k-asm-little-question.1504/
Post
Hi. I am posting here because of the fact that i actually have no idea of other places on the internet to post this. Altough it should be easy for others to answer, I have no idea about how to do what I want to.

So, my question is about event filter functions like this one which is for modaldialog in pascal:

function MyFilter (TheDialog:DialogPtr;var MyEvent:EventRecord;var ItemHit;integer):boolean;

How do i declare it in ASM? I searched the whole lot of documentation i gathered to try to make myself an idea, still i can't.

I am not really used to the toolbox yet, so any help/examples would help.

Thanks!

(By the way, if I need to be more precise, juste tell me!)

mp.ls