Most everything on archive launches into mame,

but I tried a couple of other browser emulators on archive, dosbox (with Airlift Rescue and qbasic (qbasic gorillas and trying "print stick(0)" ) the gamepad doesn't work.

However, Vice works (commodore 64), you just have to configure the joystick by:

pressing button 2 to get the menu (also acts as a back button),
go to Machine Settings / Joystick Device 1 --> set to Joystick,
then go to Joystick mapping and set the Up/Down/Left/Right/Fire for your joystick and then it should work.

[Linked Image from i.imgur.com]
[Linked Image from i.imgur.com]
[Linked Image from i.imgur.com]