Board.KolibriOS.org

Official KolibriOS board
It is currently Wed Sep 18, 2019 11:41 pm

All times are UTC+03:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu Mar 20, 2014 10:04 am 
Offline
KSoC/GSoC Student

Joined: Mon Mar 10, 2014 10:03 pm
Posts: 2
Hi Guys.
I a beginner maybe you can say .
im new here and need help with the button
specifically when we create a button we do it like
Code:
mcall 8,<>,<>,id,color

right
now let me say if the id is 1
Code:
mcall 8,<>,<>,1,color
inc edx
mcall 8<>,<>, ,
inc edx
mcall 8,<>,<>, ,

and use mcall 17 to id it
then
Code:
cmp ah,1 
je func
cmp ah,2
je func2
cmp ah,3
je func3


is this how it is?


Top
   
PostPosted: Thu Mar 20, 2014 10:56 am 
Offline

Joined: Mon Sep 24, 2007 11:11 am
Posts: 2814
Well, http://websvn.kolibrios.org/filedetails ... xample.asm
Something like you said.
Btw, there are [ code ] tag.


Top
   
PostPosted: Thu Mar 20, 2014 12:02 pm 
Offline
KSoC/GSoC Student

Joined: Mon Mar 10, 2014 10:03 pm
Posts: 2
this is nice... buttons i can create but identifying a created button?
for eg:
Code:
mcall 8,<>,<>,5,color

will be identified by
Code:
mcall 17
cmp ah,5
je some_func


Top
   
PostPosted: Thu Mar 20, 2014 12:46 pm 
Offline

Joined: Sun Oct 30, 2011 6:43 pm
Posts: 1499
All you need is just read descriptions of SysFn8 http://websvn.kolibrios.org/filedetails ... t#line-293 and SysFn17 http://websvn.kolibrios.org/filedetails ... t#line-663


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited