Propeller Demo.spin woof woof screen
skylight
Posts: 1,915
Using the quickstart and Human Interface Board(HIB) combo with optical two button and scrollwheel/button ps2 mouse and ps2 keyboard.
I've got the Woof Woof Meow screen up but moving the mouse shows no pointer although the optical led underneath is lit and the keyboard does nothing apart from lighting up the three leds for caps &num lock etc when I do a keypress.
Firstly with the mouse.spin code:
'Source register/constant cannot exceed $1FF'
How do I change the pin assignment to be compatible with the HIB? I believed that the HIB and Prop Demo Board were identical pin wise apart from a small difference (microphone changed for IR on pins 8&9).
Or am I looking at the wrong piece of code?
Ok I understand now it wasn't meant to drive a mouse or keyboard it's a demonstration of tiles(vgatest2), the mouse only works with the tv demo which i'm still waiting on a cable for (at the moment only using vga)
I've got the Woof Woof Meow screen up but moving the mouse shows no pointer although the optical led underneath is lit and the keyboard does nothing apart from lighting up the three leds for caps &num lock etc when I do a keypress.
Firstly with the mouse.spin code:
'*************************************** '* Assembly language PS/2 mouse driver * '*************************************** org ' ' ' Entry ' entry mov x,par 'load input parameters: add x,#5*4 '_dpin/_cpin <---- I tried changing here the 5 and 4 to 25 and 24 also tried 24 and 25 but still error rdlong _dpin,x add x,#4 rdlong _cpin,xI tried changing the dpin/cpin 5 and 4 to the pins 24 and 25 as on the HIB but when compiling and it gets to the mouse part I get an error
'Source register/constant cannot exceed $1FF'
How do I change the pin assignment to be compatible with the HIB? I believed that the HIB and Prop Demo Board were identical pin wise apart from a small difference (microphone changed for IR on pins 8&9).
Or am I looking at the wrong piece of code?
Ok I understand now it wasn't meant to drive a mouse or keyboard it's a demonstration of tiles(vgatest2), the mouse only works with the tv demo which i'm still waiting on a cable for (at the moment only using vga)
Comments
I'll take a look and see if I can make the changes.
Edit: I hadn't seen your edit. I had your post open in my browser for a while before trying to figure out what the mouse object was doing. There are objects with some problems when used with high pin numbers since the pin masks are hard coded into the code. If the pin mask for a pin is larger than $1FF, the compiler complains.
"ADC.spin" is one of the object that doesn't work with high pin numbers.