Author Topic: Hooks Help  (Read 4198 times)

0 Members and 1 Guest are viewing this topic.

Offline tpt1234567890

  • LV3 Member (Next: 100)
  • ***
  • Posts: 45
  • Rating: +0/-0
    • View Profile
Hooks Help
« on: November 01, 2013, 06:05:48 pm »
Hey guys, I was just wondering on how to use hooks to have multi-letter variables. Also, is it possible to button-map my calculator? (TI-84)

Offline Geekboy1011

  • The Oneironaut
  • Donator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: Hooks Help
« Reply #1 on: November 01, 2013, 06:07:29 pm »
What do you mean by multi letter variables? and also define button mapping

Offline tpt1234567890

  • LV3 Member (Next: 100)
  • ***
  • Posts: 45
  • Rating: +0/-0
    • View Profile
Re: Hooks Help
« Reply #2 on: November 01, 2013, 06:08:49 pm »
like storing a certain value (5) into the variable HSCORE, and button mapping - when you press the button 1 for instance, an X shows instead of 1 (I know I could make a really complicated getkey thingy, but wondering if there was an easier way...)

Offline Geekboy1011

  • The Oneironaut
  • Donator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: Hooks Help
« Reply #3 on: November 01, 2013, 06:11:13 pm »
Even with keyhooks it will still be a complicated getkey thing,. have you looked into what we call direct input?

as for variables like that if its basic the closest thing to that is a list. IF its assembly look up saferam areas and you can define variables in those areas as you see fit

Offline tpt1234567890

  • LV3 Member (Next: 100)
  • ***
  • Posts: 45
  • Rating: +0/-0
    • View Profile
Re: Hooks Help
« Reply #4 on: November 01, 2013, 06:16:07 pm »
What is direct input?

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Hooks Help
« Reply #5 on: November 01, 2013, 06:29:58 pm »
Wait you want to change the key mappings of the OS ? There are several hooks for this.

Offline Geekboy1011

  • The Oneironaut
  • Donator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: Hooks Help
« Reply #6 on: November 01, 2013, 06:36:16 pm »
i suggest you take a look at asm in 28 days if you have not already and also take a look at http://wikiti.brandonw.com they are both great assembly resources

Offline tpt1234567890

  • LV3 Member (Next: 100)
  • ***
  • Posts: 45
  • Rating: +0/-0
    • View Profile
Re: Hooks Help
« Reply #7 on: November 03, 2013, 10:24:03 am »
OK. Thanks!