home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!munnari.oz.au!uniwa!DIALix!shogun
- From: shogun@DIALix.oz.au (Matthew Fitzgerald)
- Subject: Reading RAW key codes!
- Organization: DIALix Services, Perth, Western Australia
- Date: Sun, 22 Nov 92 03:26:35 GMT
- Message-ID: <1992Nov22.032635.21717@DIALix.oz.au>
- Keywords: Stop the god damn handshaking!
- Lines: 21
-
- Hi,
-
- I have a problem, I am testing for a key from the keyboard (I am hardware
- coding by th way!) the following way:
-
- loop:
- move.b $bfec01,d0
- not.b d0
- ror.b #1,d0
- cmp.b #$45,d0 ;ESC pressed??
- bne loop ;no, loop back
-
- The above works fine, except I get everything I type echoed back to the CLI
- when I quit out of my program, I read something about SP handshaking and the
- pulse high/low thingy, but no actual register coding of this, if anyone knows
- how to fix this (perhaps it is just an interrupt thingy, I may have to set
- a few bits - but who knows??)
-
- Regards,
- Matt (Onodi of Epsilon)
-
-