Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!caesar.cs.montana.edu!ogccse!orstcs!nyssa.CS.ORST.EDU!bleckmd From: bleckmd@nyssa.CS.ORST.EDU (David Bleckmann) Newsgroups: comp.terminals Subject: TVI 925 protected mode emulation Summary: How do you do it? Message-ID: <13991@orstcs.CS.ORST.EDU> Date: 27 Nov 89 21:20:38 GMT Sender: usenet@orstcs.CS.ORST.EDU Reply-To: bleckmd@nyssa.CS.ORST.EDU.UUCP (David Bleckmann) Distribution: na Organization: Oregon State University - CS - Corvallis Oregon Lines: 37 I have the task of writing a termianal emulator for the TeleVidio 925 on an ibm pc which will interface with other software. I have already written an emulator which handels most TVI 925 commands, except for its "Protected Mode" settings. The host I now have to inerface with uses this TVI 925 feature. As far as I can tell from the TVI docs, "Protected Mode" is a mode where each character on the screen is either protected or isn't, and when "Protected Mode" is switced on, any protected character is not overwritten. If while the terminal is writing chars to the screen, it comes to a protected char, it will skip over that and any following protected chars trying to find of field that is not protected, and then writes to it. If "Protected Mode" is off, this searching/skipping does not happen. I would like to obtain an algorithm to do this that requires the least ammount of memmory, as I am going to emulate up to 8 lines at once. If someone has written such code and is willing to share it, or knows of source code of a comm package that does the job, I would be very happy to hear about it. Fell free to mail me at the address below, unless you feel it would be worthwhile to post. I will summerize responses if people call for it. Thanks for all your time. <------- ____ &&& / \ __ _____, `-- | o \' ` &&/ `| | o },-' \____( )__/ David Bleckmann ,' \' \ UUCP: {tektronix,hp-pcd}!orstcs /~~~~~~|. | .}~~~\ !jacobs.cs.orst.edu!bleckmd ,-----( . | .}--. Internet/CSNet: bleckmd@jacobs.cs.orst.edu | . /\___/ US Mail: 861 SW Adams #3 `----^,\ \ Corvallis, OR 97333 \_ | ACK! Brought to you by Super Global Mega Corp .com