Omega-TI Posted May 31, 2018 Share Posted May 31, 2018 Is there any usable and downloadble 'stock code' for mice anywhere openly available for TI developers? Something that could easily be updated or is already currently up-to-date for contemporary hardware? I know Stuart figured out how to get pointer coordinates working in his Internet browser that enabled point and click selections with a joystick or trackball. It seems these could be adapted to work with the TIPI mouse as well. I don't know the history of the mouse interface for TI-Artist with TIPI. Was it something done by ElectricLab like the MOUSEDEMO? I see some amazing stuff starting to coalesce and it's got me wondering. At any rate if the code was out in the open, not having to re-invent the wheel could be a motivator for a whole new class of programs. Quote Link to comment Share on other sites More sharing options...
+9640News Posted May 31, 2018 Share Posted May 31, 2018 Bruce Hellstrom wrote I believe both serial and bus mouse drivers for MDOS for the Geneve. If you have one of my MESS HD images, check out the directory BRUCE the source code is there. That should at least get you somewhere. There are two sets of source files in that directory. There is MOUSE22A-S and MOUSE22B-S for the Geneve bus mouse. There are also three files for the serial mouse MOUSS22A-S, MOUSS22B-S, and MOUS22C-S. It is likely Bruce's Mouse Driver Package was uploaded as an ARK or disk image somewhere Not sure what is entailed with a USB mouse interfaced with the TIPI to know if the serial or bus mouse code would accelerate any design efforts. I've attached a DSK image I think contains all the files in question plus some extras not knowing if they are needed. If you need something more or are missing a file, let me know Beery Hellstrom.dsk 2 Quote Link to comment Share on other sites More sharing options...
+jedimatt42 Posted June 4, 2018 Share Posted June 4, 2018 TI Artist Plus comes with a Mechatronics mouse driver. This is what I adapted to create the TIPI driver. That TIPI source code is available in github for both the ti artist driver (assembly) and the mouse demo (gcc) The source code for the Mechatronics XB mouse driver is bundled with something... somewhere... Or I have the object code.. can't remember... Anyway, I plan to eventually write a work-alike TIPI driver, so anything loading MOUSE/O can just load mine, and that XB code should work. --- The question I would have is: what other applications for the 4A supports a mouse? (Mechatronics or Serial) -M@ Quote Link to comment Share on other sites More sharing options...
+InsaneMultitasker Posted June 4, 2018 Share Posted June 4, 2018 There aren't many programs with mouse integration. Personally, I never pursued a mouse because sprites are not available in the 9918 Text mode or v9938 Text 2 mode. I didn't care for a character-based pointer so I pursued key-based menus and highlighting instead. I thought I read somewhere that the F18A text modes allow for sprites, which might make for some interesting possibilities. 1 Quote Link to comment Share on other sites More sharing options...
+jedimatt42 Posted June 4, 2018 Share Posted June 4, 2018 The F18A does, and you can do text in bitmap mode as well, and still use sprites. So there are options for the 9918... I remember character based pointers back in the MS-DOS days... that was always less than desirable. -M@ Quote Link to comment Share on other sites More sharing options...
+mizapf Posted June 4, 2018 Share Posted June 4, 2018 I used a mouse in my Fractals program in Text2 mode - as a yellow block cursor. It worked sufficiently well. 1 Quote Link to comment Share on other sites More sharing options...
atrax27407 Posted June 4, 2018 Share Posted June 4, 2018 (edited) I'm currently using (and have for sometime) used an RS232 mouse routine that runs from XB. Edited June 4, 2018 by atrax27407 1 Quote Link to comment Share on other sites More sharing options...
+jedimatt42 Posted June 5, 2018 Share Posted June 5, 2018 I'm currently using (and have for sometime) used an RS232 mouse routine that runs from XB. Can you point me at that (ooh, sorry about the pun...) I'd like to see that programming interface and compare it to the XB mechatronics interface... -M@ Quote Link to comment Share on other sites More sharing options...
atrax27407 Posted June 5, 2018 Share Posted June 5, 2018 Here it is: MOUSE.dsk 3 Quote Link to comment Share on other sites More sharing options...
+mizapf Posted June 5, 2018 Share Posted June 5, 2018 I used a mouse in my Fractals program in Text2 mode - as a yellow block cursor. It worked sufficiently well. Just to get an idea. 6 Quote Link to comment Share on other sites More sharing options...
+jedimatt42 Posted June 5, 2018 Share Posted June 5, 2018 Here it is: Cool, so the programming interface appears to be: CALL LINK("MOSON") -- Enables mouse control via vdp interrupt service routine to move sprite #1 CALL LINK("MOSOFF") -- Disables vdp interrupt service routine. CALL LINK("MOSBUT", B1, B2, B3) -- load state of 3 mouse buttons into variables B1, B2, and B3, 1 == pressed, 0 == not pressed Location of mouse pointer is found using CALL POSITION for sprite #1 This is considerably different than the Mechatronics XB programming interface. Simpler it would appear. http://ftp.whtech.com/datasheets%20and%20manuals/Hardware/Mechatronic/Mechatronic%20Mouse.pdf -M@ 1 Quote Link to comment Share on other sites More sharing options...
+mizapf Posted June 5, 2018 Share Posted June 5, 2018 Mechatronics goes through the joystick port, so that's a different challenge. Quote Link to comment Share on other sites More sharing options...
+InsaneMultitasker Posted June 5, 2018 Share Posted June 5, 2018 I used a mouse in my Fractals program in Text2 mode - as a yellow block cursor. It worked sufficiently well. I can't believe I never came across / run your program before. Nicely done! Looks like you used the blink table for your cursor display? Quote Link to comment Share on other sites More sharing options...
+mizapf Posted June 5, 2018 Share Posted June 5, 2018 I think I'll upload a disk image here. I seem to remember I already did that some time ago, but I only found my backport for the TI/EVPC. Yes, this is all done with the blink table. I admit I don't know too many details anymore - just have a look at that year ... my goodness. Note that this is a native MDOS application. fractals20.dsk 5 Quote Link to comment Share on other sites More sharing options...
+Schmitzi Posted June 22, 2018 Share Posted June 22, 2018 here my "Mouse-Related" list: thanks for any info on that TI-99-4A-HW-HID-MOUSE-v1.01.pdf 1 Quote Link to comment Share on other sites More sharing options...
Omega-TI Posted June 22, 2018 Author Share Posted June 22, 2018 here my "Mouse-Related" list: thanks for any info on that TI-99-4A-HW-HID-MOUSE-v1.01.pdf There is a mouse driver for the TIPI/RPi that works with TI-Artist. 1 Quote Link to comment Share on other sites More sharing options...
matthew180 Posted June 23, 2018 Share Posted June 23, 2018 There aren't many programs with mouse integration. Personally, I never pursued a mouse because sprites are not available in the 9918 Text mode or v9938 Text 2 mode. I didn't care for a character-based pointer so I pursued key-based menus and highlighting instead. I thought I read somewhere that the F18A text modes allow for sprites, which might make for some interesting possibilities. Once you unlock the F18A, sprites are available in all modes. Initially I had the sprites always available, i.e. even when the F18A was locked, but I soon realized that legacy software using T40 or T80 would not have code to disable the sprites because it was not something that had to be done on the original VDPs. So I had to put the functionality behind the F18A lock. You could also use the bitmap layer for the cursor, which gives you the ability to change the size from 1x1 pixel to 256x192 pixels (if you really want to use that much memory). The BML also provides 4-colors per pixel. Sprites can also provide up to 8-colors. There is a demo that Rasmus wrote for the F18A that demonstrates the T80 mode with color tile attributes and a sprite-based mouse pointer controlled by joystick (IIRC). 2 Quote Link to comment Share on other sites More sharing options...
RXB Posted June 23, 2018 Share Posted June 23, 2018 That sounds great and would like to see a demo of that or the source. Quote Link to comment Share on other sites More sharing options...
Asmusr Posted June 23, 2018 Share Posted June 23, 2018 This is the demo that Matthew mentioned. Many of you will have seen this before. From the disk run E/A#3 WIMP. Or use the bin file in js99er.net. It would be interesting to change this to use the TIPI mouse driver, but I don't have a TIPI yet. wimp.a99 WIMP8.bin POSATTR.dsk 4 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.