Hi,
I have just finished my magicball8 progam.
Stop have a look and try it :grin:
Have fun
I am most willing to hear comments and complains
Optimsation of code is also welcomed ;)
I have just finished my magicball8 progam.
Stop have a look and try it :grin:
Have fun
I am most willing to hear comments and complains
Optimsation of code is also welcomed ;)
Funny program. :)
myrandom proc uses edx ecx seed:DWORD
;testing
mov eax,seed
; mov edx,eax
;not needed
; mov ecx,seed
mov ecx,eax
not ecx
; shl eax,16
; shr edx,16
; add eax,edx
rol eax,16
; add eax,ecx
; add ecx,eax
; xchg eax,ecx
lea eax,[eax + ecx*2]
ret
myrandom endp
Thanks anyway,
I was just testing out a random generator until i found one on the board. :grin: I did not use the proc at all.
I was just testing out a random generator until i found one on the board. :grin: I did not use the proc at all.
Optimsation of code is also welcomed ;)
i'm not kidding
i played around a minute or two and then i felt bored and asked it "are you gay?"
and it crashed... funny program :)
i played around a minute or two and then i felt bored and asked it "are you gay?"
and it crashed... funny program :)
hmm.. must be the program do not like your question :grin:
seriously.. i do not know why it would crash. I thought i fixed the crashing part due to the program running out of the range... hmm.. maybe something is wrong.. but i have no idea.
seriously.. i do not know why it would crash. I thought i fixed the crashing part due to the program running out of the range... hmm.. maybe something is wrong.. but i have no idea.
After some ( ;) ) "null-questions" (clicking ask question, ask. No question typed), it crashed. :(
Memory leak?
Memory leak?
hmmm...that means time to add some anti crash code in the file.
I will work on the code and post it again.
I will work on the code and post it again.
Roticv,
I typed the same question of Mob,and I got the incredible reply!!!
Affirmative.
:confused: :confused: :confused:
Roticv,please forgive me but i am really confused,this reply ???, How it can happen? (Not kidding,really)
Regards,
Vortex
I typed the same question of Mob,and I got the incredible reply!!!
Affirmative.
:confused: :confused: :confused:
Roticv,please forgive me but i am really confused,this reply ???, How it can happen? (Not kidding,really)
Regards,
Vortex
Look at these it did not crash :grin: Don't worry I am trying my best to fix the bug. Give me some time ;)
Hi all,
I did some change in the coding and now it seem to not crash at all. (I tried entering null ansers for the past 10min). However if it still crash, could you guys do me a favour by informing about it?
Thanks in advance
Victor Loh
I did some change in the coding and now it seem to not crash at all. (I tried entering null ansers for the past 10min). However if it still crash, could you guys do me a favour by informing about it?
Thanks in advance
Victor Loh
roticv
Just a little note:
invoke CloseHandle,hfile
invoke PostQuitMessage,0
@continue:
I think should be:
invoke CloseHandle,hfile
invoke PostQuitMessage,0
ret
@continue:
Just a little note:
invoke CloseHandle,hfile
invoke PostQuitMessage,0
@continue:
I think should be:
invoke CloseHandle,hfile
invoke PostQuitMessage,0
ret
@continue:
Yeah.. you are right. I do need to put ret there. Thanks
Ok... Maybe Roticv is trying to develop a kind of Artificial Intelligence... :)
Regards,
Vortex
Regards,
Vortex