Author Topic: [help] Mouse in axe  (Read 16344 times)

0 Members and 4 Guests are viewing this topic.

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
[help] Mouse in axe
« on: February 04, 2011, 04:25:48 pm »
Is there anyway you can use a usb mouse in axe?
This would be done through usbdrv8x.
Would I have to make the game in basic and have alot of subprograms from axe to do this?
Sorry for not being clear.

I really want to make this game now...
http://www.eiswuxe.de/games/rocket-ninja-cyborg/
And it looks likeit would take less than an hour to make. (depending on how the mouse would have to be done.)
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: [help] Mouse in axe
« Reply #1 on: February 04, 2011, 04:31:03 pm »
You could essentially make the U_calls like b_calls from Axe with hex.

Look at http://brandonw.net/svn/calcstuff/blue8x/trunk/usb8x.inc at the very bottom at U_Call and U_call_init.

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: [help] Mouse in axe
« Reply #2 on: February 04, 2011, 04:37:07 pm »
Sorry, but I don't know assembly.

All the tutorals i have seen require 32 bit computers or older
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [help] Mouse in axe
« Reply #3 on: February 04, 2011, 11:53:03 pm »
Doesn't Spasm work under 64 bits? I think ZDS works in it too. However I do not know if there are any quick tutorial on how to use them.

You could ask Kerm on Cemetech, tho, if there are ways to get DCS mouse routine in an Axe program. I guess that would require DCS to be installed to run your program, though.
« Last Edit: February 04, 2011, 11:53:59 pm by DJ Omnimaga »

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: [help] Mouse in axe
« Reply #4 on: February 05, 2011, 09:44:37 am »
I think i an just going to make a basic program.  call asm (axe) programs in it.  and also call Usbdrv8x in it.
That way dealing with x and y values will be easy.
after that, I will compile the asm subprograms and the basic program together with basic builder.
then if i want to do a different game. the GAME (basic part) will be done, so that would save time and space.
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

souvik1997

  • Guest
Re: [help] Mouse in axe
« Reply #5 on: February 05, 2011, 10:20:38 am »
You could look at the source for BrandonW's entry to Cemetech Contest #7, Jerry, which is a shell expansion for Doors CS to use USB mice. :)
http://brandonw.net/calcstuff/jerry.zip

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [help] Mouse in axe
« Reply #6 on: February 05, 2011, 02:10:28 pm »
That could maybe work too, although I don't think he does ASM.

What is Usbdrvr? I think I heard about it before but I don't remember what it was and if it worked in ASM or BASIC.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: [help] Mouse in axe
« Reply #7 on: February 05, 2011, 02:12:15 pm »
What is Usbdrvr? I think I heard about it before but I don't remember what it was and if it worked in ASM or BASIC.

I think that's usb8x, not sure though: http://tibasicdev.wikidot.com/openlib




Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: [help] Mouse in axe
« Reply #8 on: February 05, 2011, 02:13:40 pm »
it is usb8x 's  full name.


It is a library and can be called through
OpenLib(USBDRV8X)
{(command number)
ExecLib

Edit: Ninja'd
« Last Edit: February 05, 2011, 02:14:25 pm by Happybobjr »
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: [help] Mouse in axe
« Reply #9 on: February 05, 2011, 02:13:59 pm »
What is Usbdrvr? I think I heard about it before but I don't remember what it was and if it worked in ASM or BASIC.
I think that's USB8x. It's named USBDRV8X in the calc app list.

EDIT: ninja'd again D:
« Last Edit: February 05, 2011, 02:14:26 pm by JosJuice »

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: [help] Mouse in axe
« Reply #10 on: February 05, 2011, 02:15:51 pm »
wow 3 ninjas are here.
:P

I am just starting now.
I am going to code my mouse movements differently from the sample code though.  So i am going to do a small piece of code to see if it will be fast enough.
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [help] Mouse in axe
« Reply #11 on: February 05, 2011, 02:18:01 pm »
Ok thanks for clarifying :D

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: [help] Mouse in axe
« Reply #12 on: February 06, 2011, 12:10:28 am »
Ok thanks for clarifying :D

Thrice, and glad I got the first one in :D

Anyway, back to the first question: There are always ways to do things in ASM, right? Is usb8x only for BASIC?




Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [help] Mouse in axe
« Reply #13 on: February 06, 2011, 12:49:35 am »
Nah, USB is mainly for ASM, I believe. I don't know about BASIC, though.

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: [help] Mouse in axe
« Reply #14 on: February 06, 2011, 03:07:32 am »
USB8x is mainly for asm, but it also supports TI-BASIC (using the OpenLib/ExecLib commands).