-->
Hooks Help
-->
-->
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
-->
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
ASM
»
Hooks Help
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Hooks Help (Read 4414 times)
0 Members and 1 Guest are viewing this topic.
tpt1234567890
LV3
Member (Next: 100)
Posts: 45
Rating: +0/-0
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)
Logged
Geekboy1011
The Oneironaut
Owner
LV11
Super Veteran (Next: 3000)
Posts: 2031
Rating: +119/-2
Dream that Awakening dream
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
Logged
tpt1234567890
LV3
Member (Next: 100)
Posts: 45
Rating: +0/-0
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...)
Logged
Geekboy1011
The Oneironaut
Owner
LV11
Super Veteran (Next: 3000)
Posts: 2031
Rating: +119/-2
Dream that Awakening dream
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
Logged
tpt1234567890
LV3
Member (Next: 100)
Posts: 45
Rating: +0/-0
Re: Hooks Help
«
Reply #4 on:
November 01, 2013, 06:16:07 pm »
What is direct input?
Logged
Streetwalrus
LV12
Extreme Poster (Next: 5000)
Posts: 3821
Rating: +80/-8
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.
Logged
Geekboy1011
The Oneironaut
Owner
LV11
Super Veteran (Next: 3000)
Posts: 2031
Rating: +119/-2
Dream that Awakening dream
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
Logged
tpt1234567890
LV3
Member (Next: 100)
Posts: 45
Rating: +0/-0
Re: Hooks Help
«
Reply #7 on:
November 03, 2013, 10:24:03 am »
OK. Thanks!
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
ASM
»
Hooks Help
\n\t\t\t\t\t\t\t\t\t
<' + '/div>\n\t\t\t\t\t\t\t\t\t
%body%<' + '/textarea>
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
Max characters: 20000; characters remaining:
...<' + '/span><' + '/span>
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t<' + '/div>\n\t\t\t\t\t\t\t\t<' + '/div>', sTemplateSubjectEdit: '
', sTemplateBodyNormal: '%body%', sTemplateSubjectNormal: '
%subject%<' + '/a>', sTemplateTopSubject: 'Topic: %subject% (Read 4414 times)', sErrorBorderStyle: '1px solid red' }); aJumpTo[aJumpTo.length] = new JumpTo({ sContainerId: "display_jump_to", sJumpToTemplate: "
Jump to:<" + "/label> %dropdown_list%", iCurBoardId: 85, iCurBoardChildLevel: 1, sCurBoardName: "ASM", sBoardChildLevelIndicator: "==", sBoardPrefix: "=> ", sCatSeparator: "-----------------------------", sCatPrefix: "", sGoButtonLabel: "go" }); aIconLists[aIconLists.length] = new IconList({ sBackReference: "aIconLists[" + aIconLists.length + "]", sIconIdPrefix: "msg_icon_", sScriptUrl: smf_scripturl, bShowModify: true, iBoardId: 85, iTopicId: 19938, sSessionId: "f38593a3dec7ffbc2dc5392037bb7e0b", sSessionVar: "a734305d", sLabelIconList: "Message Icon", sBoxBackground: "transparent", sBoxBackgroundHover: "#ffffff", iBoxBorderWidthHover: 1, sBoxBorderColorHover: "#adadad" , sContainerBackground: "#ffffff", sContainerBorder: "1px solid #adadad", sItemBorder: "1px solid #ffffff", sItemBorderHover: "1px dotted gray", sItemBackground: "transparent", sItemBackgroundHover: "#e0e0f0" }); } function tick2() { if (typeof(document.forms.quickModForm) != "undefined") { calcCharLeft2(); setTimeout("tick2()", 1000); } else setTimeout("tick2()", 800); } function message_onkeyup() { if (typeof(document.forms.quickModForm) != "undefined" && typeof(document.forms.quickModForm.message) != "undefined") { document.forms.quickModForm.message.onkeyup = function onkeyup(event) { storeCaret(this); calcCharLeft2(); }; } else setTimeout("message_onkeyup()", 800); } message_onkeyup(); function calcCharLeft2() { var maxLength = 20000; var oldEditor = "", currentEditor = document.forms.quickModForm.message.value; if (!document.getElementById("editorLeft2")) return; if (oldEditor != currentEditor) { oldEditor = currentEditor; if (currentEditor.replace(/\r/, "").length > maxLength) document.forms.quickModForm.message.value = currentEditor.replace(/\r/, "").substring(0, maxLength); currentEditor = document.forms.quickModForm.message.value.replace(/\r/, ""); } setInnerHTML(document.getElementById("editorLeft2"), maxLength - currentEditor.length); } // ]]>-->