This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's z80 & ez80 Assembly subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. Z80 & 68k Assembly => z80 & ez80 Assembly
Author Message
Jeffrey


Member


Joined: 12 Jun 2003
Posts: 212

Posted: 12 Sep 2003 05:10:38 pm    Post subject:

These are the coolest things in the world...

BUT WHERE CAN I FIND MORE RAWKEYHOOK CODES???


ld hl,keyhook ;Load HL with pointer to routine
in a,(6) ;Get the current ROM page in A
bcall($4F66) ;Call RawKeyHook
bjump(_JForceCmdNoChar) ;Return to TI-OS
keyhook: ;The actual routine
add a,e ;This is required for it to work
cp $03Fh ;Is the key 2nd+Mem?
ret nz ;Exit if not
xor a ;If so, set zero flag so it doesn't work
ret ;Exit
Back to top
sgm


Calc Guru


Joined: 04 Sep 2003
Posts: 1265

Posted: 12 Sep 2003 06:35:49 pm    Post subject:

http://www.detachedsolutions.com/forum/vie...?t=982&start=45
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    »
» View previous topic :: View next topic  
Page 1 of 1 » All times are UTC - 5 Hours

 

Advertisement