+Gemintronic Posted March 18, 2014 Share Posted March 18, 2014 Thomas Jentzsch posted this code in the Arkanoid 2600 topic: Most people skip because reading the paddle takes away precious kernel time (minimum 8 out of just 76 cycles ). So when you add paddle support, the game will have to look less impressive. And most people will not know why and probably blame the developer. Here is the minimum code. You have to make sure that the *address* of e.g. paddle1 is an 1 byte opcode, e.g. $ea (nop) or $d8 (cld). MAC READ_PADDLE_1 lda INPT0 ; 3 bmi .save+1 ; 2/3.savesty paddle1 ; 3/2 ENDM bBs own readpaddle support sacrifices pfcolors and pfheights which is a needed feature in my paddle game. I'm wondering if this bit of code can allow me to use paddle 1 and still retain the features I need. What kind of setup is needed to actually use this code snippet in bB? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.