tsoding / pinpog

Ping-Pong-like game in Assembly that works without OS
MIT License
571 stars 36 forks source link

Decrease the size of the ball collision checks #67

Closed edorfaus closed 5 years ago

edorfaus commented 5 years ago

This saves 6 bytes by reordering the Y checks to save a jmp (2 bytes), and using AX for intermediate storage (4 bytes).

rexim commented 5 years ago

@edorfaus looks good! Thank you for the contribution!