tsoding / pinpog

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

Modified timer to increase FPS from 18.2 to 60 #73

Closed ghost closed 3 years ago

ghost commented 3 years ago

Khello Tsoding,

I applied the knowledge of osdev.org's Programmable Interval Timer article to allow for smooth 60 FPS rendering instead of the default 18.2 FPS. The BALL_VELOCITY and BAR_VELOCITY constants then needed to be adjusted to about a third of their original values to give the same experience with a tripled frame rate.