home *** CD-ROM | disk | FTP | other *** search
- \;===================================================================
- \;=================== Broacast Msg handler ========================
- \____________________________________________________________________
- \.WT_BroacastMsg_Handler% ; this is up to you, it can look like:
- \
- \ bic 9,1,#&ff ; get message chunk
- \
- \ teq 9,#FNid("<chunkname>_0")
- \ beq decode_this_chunk
- \
- \ ; teq 9,#FNid("<chunkname>_0")
- \ ; beq decode_that_chunk
- \
- \ ;...
- \
- \ movs 15,14
- \____________________________________________________________________
- \.decode_this_chunk
- \ cmp 11,#<max_message_number_for_this_chunk>+1
- \ addcc 15,15,11,lsl#2
- \ movs 15,14
- \
- \ b first_message
- \ b second_message
- \ b third_message