It's my first ever joystick game, so I don't know why the joystick might not work. A couple of times, I started my program and the joystick seemed not to work, but a "Run/stop-restore" and a re-run seemed to fix it. Any suggestions?
This endeavor reminded me of a time before my first Vic 20 where I had "Borrowed" my sister's Lite Brite (she was no longer playing with it), and used the green pegs to simulate the start-up screen of the Commodore PET. I then set it in behind an old typewriter we had, and pretended it was my computer.
Lite Brite: One for the kids
Moderator: Moderators
- Mike
- Herr VC
- Posts: 4816
- Joined: Wed Dec 01, 2004 1:57 pm
- Location: Munich, Germany
- Occupation: electrical engineer
A better way to read the joystick is:
This way, only the relevant bits are checked. Floppy access alters bit 0 (value 1), so comparing with the complete register value fails.
You might also take a look at:
http://sleepingelephant.com/ipw-web/bul ... 02&start=4
Greetings,
Michael
Code: Select all
S=PEEK(37151):POKE37154,127:T=PEEK(37152):POKE37154,255
IF(128ANDT)=0THENright
IF(4ANDS)=0THENup
IF(8ANDS)=0THENdown
IF(16ANDS)=0THENleft
IF(32ANDS)=0THENfire
You might also take a look at:
http://sleepingelephant.com/ipw-web/bul ... 02&start=4
Greetings,
Michael
-
- Vic 20 Devotee
- Posts: 247
- Joined: Sat Jun 30, 2007 5:48 am
Re: Lite Brite: One for the kids
is this game still available somewhere ?
DL-Link is dead, also not in GB20...
EDIT..
O.K. - found it here :
btw. joystick still not working , right ?
DL-Link is dead, also not in GB20...
EDIT..
O.K. - found it here :
btw. joystick still not working , right ?