Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!seismo!mcvax!philmds!nlgvax!harry From: harry@nlgvax.UUCP (Harry Schreurs) Newsgroups: net.micro.apple Subject: Re: Help with AE 80-column card? Message-ID: <52@nlgvax.UUCP> Date: Fri, 11-Jul-86 04:39:48 EDT Article-I.D.: nlgvax.52 Posted: Fri Jul 11 04:39:48 1986 Date-Received: Sat, 12-Jul-86 04:25:10 EDT References: <3769@decwrl.DEC.COM> Reply-To: harry@nlgvax.UUCP (Harry Schreurs) Organization: Philips Research Laboratories, Geldrop Lines: 77 In article <3769@decwrl.DEC.COM> binder@lando.dec.com writes: >I just bought an Applied Engineering Viewmaster-80 card for my ][+ and I'm >having trouble using it with CP/M. > >My machine is homebuilt, not an official Apple, and it has a full keyboard. >The AE card traps out ^A to switch its case lock, and it traps out ^K to >generate a left bracket. I want to disable the ^A and ^K trapping, so that I >can use the Turbo Pascal editor with its default key bindings. WordStar does >the disable just fine, but I believe that's because WordStar has its own >keyboard driver to allow typeahead. There's no documentation in the AE manual >telling how the traps can be disabled, if indeed they can be without writing a >keyboard driver. Because the card is Videx compatible, I'm wondering if >there's info in the Videx manuals that describes what I need. Can anyone out >there help me? > >Thanks, >Dick Binder (The Stainless Steel Rat) > I once had the same problem. In the VIDEX VIDEOTERM manual I found the source of the software contained in the VIDEOTERM. The problem you have may be caused by the following code: * * GET CHARACTER FROM KEYBOARD * C844: 20 D1 C8 RDKEY JSR CSRMOV .............. ..... ... ...... .............. ..... ... ...... C852: 20 5C C8 JSR KEYSTAT .............. ..... ... ...... .............. ..... ... ...... C85B: 60 RTS ----------------------------------------------------------------------------- C85C: C9 8B KEYSTAT CMP #$8B ; CHECK FOR CONTROL K C85E: D0 02 BNE NOTK ; SKIP IF NOT C860: A9 DB LDA #$DB ; SUBSTITUTE [ C862: C9 81 NOTK CMP #$81 ; CHECK FOR CONTROL A C864: D0 0A BNE NTSHFT ; SKIP IF NOT ----------------------------------------------------------------------------- .............. ..... ... ...... .............. ..... ... ...... C870: 48 NTSHFT PHA ; SAVE CHARACTER .............. ..... ... ...... .............. ..... ... ...... C8A0: 60 RTS Change the code in the address range C85C-C864 to: C85C: EA KEYSTAT NOP C85D: EA NOP C85E: EA NOP C85F: EA NOP C860: EA NOP C861: EA NOP C862: EA NOP C863: EA NOP C864: EA BMI NTSHFT The effect of these statements is that no translation of characters is done by the software on the VIDEX VIDEOTERM. The software on your board may differ but somewhere this translation is done. So look for code in the PROM of your board where this translation is done. Hope this is enough help for you to solve your problem. -------------------------------------------------------- Harry Schreurs UUCP: ...{seismo,mcvax,prlb2}!philmds!nlgvax!harry May the cold be with you!