[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mapping DEL to BS in BASIC
- Subject: Re: Mapping DEL to BS in BASIC
- From: ntt@cleese.apana.org.au (Jonathan Pratt)
- Date: 1995/06/27
- Newsgroups: comp.sys.apple2
- Organization: cleese.apana.org.au Public Access UNIX +61-8-3736006
- References: <Pine.SUN.3.91.950624130732.5812C-100000@owens>
Relatively simple (?) procedure, but requires a machine language program
to redefine the key. Back in the daze of DOS 3.3 we used to filter all
control characters this way to 'crack' programs with embedded control
characters in their names. Basically you need to patch the KSW
vector ($38&39) through a routine to check if the character is the hex
code for del and replace it with the hex code for bs, then jump to the
original output routine (usually cout...). Shouldn't be more than about a
dozen lines...
cheers
ntt@cleese