Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site rabbit.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!alice!rabbit!sdh From: sdh@rabbit.UUCP (Yah Right ) Newsgroups: net.micro.apple Subject: Re: Dvorak Keyboard for Apple //e Message-ID: <2804@rabbit.UUCP> Date: Thu, 17-May-84 17:49:25 EDT Article-I.D.: rabbit.2804 Posted: Thu May 17 17:49:25 1984 Date-Received: Fri, 18-May-84 07:04:18 EDT References: <265@decwrl.UUCP> Organization: AT&T Bell Laboratories, Murray Hill Lines: 33 There is a simple way to get your keyboard configured anyway you want. All Apple II series machines handle character output in the following way: There is a routine in ROM called COUT (CHaracter OUTput). Upon entry to this routine an ASCII value is expected in the A register (accumulator). The routine does a jump to a routine pointed to by locations $36 and $37. If one changes the bytes at these locations to go to a user routine, it is simple to intercept the character to be printed and change it to something else. A simple way to do this is with the following program: TAX LDA TBL,X JMP $FDF0 That's it. The actual ASCII value is transferred to the X register and then used as an index to pull the character that you want to see printed in its place, then goes to a routine to print a character to the screen ($FDF0-called COUT1 I think). An exchange can be done for all keys although problems crop up where the shift key is concerned for Apple II and Apple II+ machines. If there is sufficient interest, I will be more than happy to implement the above program in a more user friendly environment. "Sorry, Indy" Steve Hawley !rabbit!sdh