14 Sep 95 01:29, Carles Mateo escrib¡a a Jose Mejuto:
Hola Carles!
>> CM> I want to do a SHELL in a window just like :
>> CM> *********************************
>> CM> | |
>> CM> | ================ |<-+-- SCREEN
>> CM> | | SHELL WINDOW | |
>> CM> | ================ |
>> CM> | |
>> CM> *********************************
>> CM> I want to SHELL to another program without overwriting my
>> CM> screen.
>> Ummmh! big trouble! If the 'shelled' program writes
[...]
>> the INT 29h 'DOS fast putchar' that is undocumented,
>> and don't works in the same way in all DOS.
CM> Well, program uses standard DOS services.
CM> My prog shells to ARJ, RAR, ZIP, LZH, PKLITE and other
CM> compressors/decompressors.
This requires a ASM programming, you must intercept INT &H10, and redirect
all calls to your INT &H10 handler, and perform a window adjust. To avoid
direct screen writes, like RAR, you can change active video page, this must
work in all video cards except MDA, but ... Anybody has an MDA ? :-)
>> If you are going to use the routine in a machine with
>> an VGA or EGA you can use a simple VGA trick, that
>> skips the problem with direct screen writes. The
>> effect is something like this:
CM> This is a nice trick, but I want this program to run in all video
CM> cards including Hercules.
This technique may bring you a problem, the memory that you left for the
compressor execution... You can't use an SWAP routine, this is probably more
inportant that the fancy window ;-)
CM> PD: See you in PROBAS_E..
I hope that ;-)
Saludotes,
,,, JOS (2:348/102)
`0-0' jmejuto@encomix.com
/-(_)-\ mejuto@sfdzuma.usc.es
--- FD2.12+ & GoldED 2.50+ & FE145+
---------------
* Origin: -=EDI=BBS=- 19k2 //ZyXEL// Santiago //+34-81-502110 (2:348/102)
|