List:St8ic wrote: Thanks for the suggestion, Dennis, but I think I'll stick to this way . Candy's code compiles, but hangs the OS.::)me wrote:Note, this code is based on such a list of assumptions that you CAN NOT trust it to work. Read it over at least 5 times with the packet definition by hand.
Maybe because Candy's code apparently has alot of assumptions that aren't true. What are some of them?
- bits 7-2 of x movement are in bits 7-2 of cl
- bits 7-2 of y movement are in bits 7-2 of dl
- bits 1-0 of x movement (LSbits, not MSbits) are in 7-6 of bl
- bits 1-0 of y movement (again LSbits) are in 5-4 of bl
- the four pointers are good and constant
- I didn't make any errors
- The rest of your code works
If all of these assumptions hold it works (obviously, if neither made a mistake ::))
If it's not this, then without more code I cannot offer any more detailed help.