|
I've successfully completed and verified every project in Chapters 1 through 10 and all of 11 except for the Pong program. (The other 5 programs, Seven, ConvertToBin, Square, Average, and ComplexArrays all work as intended with my code writer). Pong loads fine in the VM emulator and the the bat, ball, the line at the bottom, and the word "Score: 0" appears at the bottom left, but after running for about one second with the bat and the ball both moving on screen to the right for a bit, the program stops, the bat disappears from the screen (the ball still shows but is frozen) and a error message pops up "Program Halted: Illegal Rectangle Coordinates" At the bottom left of the screen, it now read "Score: 0ERR9"
I thought if I got the other 5 programs to work, the Pong program should work too no? Cause once you get through Average successfully, I would think one's code generator is now verified complete and working. I guess not haha. Any help in how to debug this would be appreciated! The generated VM code is so long, I just don't know where to start.
|