Page 127 of 166

Re: Raven. A homemade Atari-like computer

Posted: 22 Nov 2025 18:18
by Mikerochip
PhilC wrote: 22 Nov 2025 17:49 @Mikerochip Agranlund has swapped the pic normally used in the Eiffel for a Chinese stm32 copy and made the software compatible with the Eiffel app but has also added USB, bus mouse etc, so I suspect a sampling rate change or whatever is required will be quite easy to do.
(Yes! I'm just ordering the PCB now! (This second. Signed into JLCPCB as I type!) I think I've got the rest of the bits to build two) :)

I think though, everyone's mouse is going to be different, so, whatever changes are made, probably need to be easily made, per user.

Re: Raven. A homemade Atari-like computer

Posted: 23 Nov 2025 08:42
by Atarian Computing
I use a Logitech Ergo S trackball with the DPI button turned on mostly.

Re: Raven. A homemade Atari-like computer

Posted: 23 Nov 2025 21:48
by agranlund
@LarryL ,

Not sure if this will help in your case but you could try turning down the usb-mouse scaler in case it's the TOS side which is freaking out by the large numbers/quick movements.

There is no fancy, or even non-fancy, program to configure CKBD specific features yet but you can do so from the Raven monitor.
Enter it by pressing the NMI button if you have a serial connection.
Alternatively, by running c:\raven\mon.tos in which case you don't need a serial connection.

The scalar is an 8.8 fixed point number where the decimal lives in register $14 and the whole in register $15
(The default is 1.0 which is the same as register $14=0 and register $15=1)

for example; if you want to set usb mouse scale to 2.0x you would run the following in the monitor:

Code: Select all

kbd set $14 0
kbd set $15 2
For 0.5x scale

Code: Select all

kbd set $14 128
kbd set $15 0
0.25x scale

Code: Select all

kbd set $14 64
kbd set $15 0

and if you want to save the settings so that they persist:

Code: Select all

kbd save

Another long-shot would be to see if your mouse behaves better in "boot mode" rather than full usb report mode.

Code: Select all

kbd set $21 0
kbd save
(you may need to power cycle for boot/report mode changes to take effect, I can't remember)

If that didn't make any difference, then I would put it back to 1 again. Not all usb mice support "boot mode".
(same as above but write a 1 instead of 0 into register $21)

Re: Raven. A homemade Atari-like computer

Posted: 23 Nov 2025 22:14
by agranlund
Oh, and speaking of ckbd.

You can change the ckbd communication speed. The default is 7812 like standard IKBD/Eiffel but CKBD can go higher and I've been running mine at 125000 since, well forever now, and I think maybe I should just make that default.

from the monitor:

Code: Select all

cfg ikbd_baud 4
reset
0 is the default for 7812 and each increment effectively doubles the rate.

Re: Raven. A homemade Atari-like computer

Posted: 24 Nov 2025 06:00
by LarryL
Thinks a lot, @agranlund
Traveling this week, but I will check this out during next weekend
Cheers
Michael

Re: Raven. A homemade Atari-like computer

Posted: 24 Nov 2025 08:35
by agranlund
some of the interesting ckbd registers:
$10,$11 ps2 mouse scale
$12,$13 ps2 mouse wheel scale
$14,$15 usb mouse scale
$16,$17 usb mouse wheel scale
$18,$19 joyport mouse scale
$22 joyport mouse type (0=atari, 1=amiga)

Re: Raven. A homemade Atari-like computer

Posted: 24 Nov 2025 08:44
by PhilC
Thanks for all that @agranlund I'll give it a go too as hopefully it'll let me use the matching mouse to the keyboard and will free up a USB socket then.

Re: Raven. A homemade Atari-like computer

Posted: 24 Nov 2025 16:44
by Mikerochip
I stuck little lables on the shield pcb, if anyone wants or likes it?
Criticisms welcome :P

I should really make a version where the screw holes are used to hold the pcb in place...
2025-11-24 16_40_19-JLCPCB PCBA Viewer — Mozilla Firefox.png

Re: Raven. A homemade Atari-like computer

Posted: 24 Nov 2025 17:01
by PhilC
Looks good to me

Re: Raven. A homemade Atari-like computer

Posted: 24 Nov 2025 17:42
by luciodra
Mikerochip wrote: 24 Nov 2025 16:44 I stuck little lables on the shield pcb, if anyone wants or likes it?
Criticisms welcome :P

I should really make a version where the screw holes are used to hold the pcb in place...
But do you also have the 3D printable backdrop?