On real hardware, reading the joypad gets all fuxored up. Ive followed the examples, so is this a bug?
You should have no problems when using 3 button joypads, except getting garbage values for bits 8 and up (these are the buttons for X, Y, Z, Mode). Using joypads with 6 buttons can be problematic for the BasiEgaXorz coder. 6 button joypads need to be “reset”, and the only way to do this is to not keep polling the joypad without a delay. To fix this, either insert a SLEEP command to act as a delay (SLEEP 1 will do) after checking the joypad, use loops that act as a delay, or restrict reading the joypad to only in verticle blank.