From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Subject: Re: Remote control of Dosemu Date: Fri, 18 Jul 2008 23:24:24 +0100 Message-ID: <48811818.1050401@liverpool.ac.uk> References: <20080718011954.dc5e47b5.john@jcoppens.com> <48801E06.9080700@pobox.com> <20080718135339.75dfae5c.john@jcoppens.com> <4880D133.60204@pobox.com> <20080718183545.f97c49ce.john@jcoppens.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080718183545.f97c49ce.john@jcoppens.com> Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: John Coppens Cc: "Alain M." , dosEmu-list Hi John, I had this problem when running Norton Ghost, it asked a question at startup that needed the sequence before proceeding with the command line options. The available DosEmu options didn't work, so I wrote a kernel module that simulated key presses. This was for a 2.4 kernel and a hack, I'm no kernel hacker. In my case Ghost was running in a console on the front display. To get an idea of Ghosts progress, I found the memory at 0xA0000 showed a cross-section of the 4 colour screen. It looked like it was interlaced, though I couldn't figure out how. For my purposes it was enough to save the screen. It is possible the text version is also available in a constant memory location. The details of the kernel module and screen grab are here, in section 5: http://www.csc.liv.ac.uk/~greg/ghost4linux/index.html Richard John Coppens wrote: > On Fri, 18 Jul 2008 14:21:55 -0300 > "Alain M." wrote: > >> BUT, you did not say if your application is command line, TUI or >> graphic... > > Hella Alain. > > The program is TUI - direct video access, so, I don't know if any dumb > mode would be possible. From a few disassembly intents, I suspect it was > written in Turbo Pascal o C. > > I have no need to do ssh. The program must be run every hour, a number > of commands typed in, and a value, shown on the screen, must be captured. > > I've also tried to write a TSR at some point, and with some success, and > maybe I should continue on that path, as I can then probably look > directly at the memory where the result appears. > > But, if possible, I'd rather find a more elegant way... > > Thanks, > John > -- > To unsubscribe from this list: send the line "unsubscribe linux-msdos" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html