Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 243

Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 246

Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 243

Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 246
Changes - CPCWiki

Changes

Kempston Mouse

18 bytes added, 12:33, 8 December 2012
Here is the algorithm in pseudo-code:
// initMouse initializes variables and centers the mouse pointer on screen
function initMouse() {
maxX = 639;
maxY = 399;
// refreshMouse has to be called before you redraw the mouse pointer (ideally every frame)
function refreshMouse() {
// get raw mouse values
rawX = inp(&FBEE);
13,173
edits