Omnimaga

Calculator Community => TI Calculators => ASM => Topic started by: tpt1234567890 on November 01, 2013, 06:05:48 pm

Title: Hooks Help
Post by: tpt1234567890 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)
Title: Re: Hooks Help
Post by: Geekboy1011 on November 01, 2013, 06:07:29 pm
What do you mean by multi letter variables? and also define button mapping
Title: Re: Hooks Help
Post by: tpt1234567890 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...)
Title: Re: Hooks Help
Post by: Geekboy1011 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
Title: Re: Hooks Help
Post by: tpt1234567890 on November 01, 2013, 06:16:07 pm
What is direct input?
Title: Re: Hooks Help
Post by: Streetwalrus 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.
Title: Re: Hooks Help
Post by: Geekboy1011 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
Title: Re: Hooks Help
Post by: tpt1234567890 on November 03, 2013, 10:24:03 am
OK. Thanks!