enzerinkp@topaz.ucq.edu.au (Hello, hello. What's going on here then?) (05/12/91)
I have been using the TVEDIT demo to make a vary basic editor for use with a compiler. I was using the editor to modify a source file when I noticed that it wouldn't let me type any digit between 3 and 6! A bit of a strange one and I'm not even sure whether it has been this way all along. Anyone else had this problem? I've had a quick look through the code and it has a routine which converts a scan code into an ascii code. It's when it does its lookup into the scan table that it sh-ts itself. Any ideas? Regards Peter -- "Hello, Hello. What's going on here then?" ^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v Peter Enzerink 3rd year Student, Bachelor Applied Science (Computing) University of Central Queensland Internet: ENZERINKP@TOPAZ.UCQ.EDU.AU Rockhampton 4702 or ENZERINP@JASPER.UCQ.EDU.AU Australia
mariusk@Lise.Unit.NO (Marius Kjeldahl) (05/12/91)
I've seen somebody posted an answer to this question before, but I'll post a brief explanation anyway. There is a bug i a routine called ScanKeyMap or something like that (I think it is in EDITOR.PAS or something..). Search for the routine. Once you've found it replace the OR BL, BL after the LODS instruction with OR DL,DL and you should be ok.. Marius