Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!uc!shamash!mpe From: mpe@shamash.cdc.com (2375) Newsgroups: comp.lang.pascal Subject: Re: 256 colour mode in TP5.0 Message-ID: <18812@shamash.cdc.com> Date: 12 Mar 90 16:58:24 GMT References: <25F744E5.8753@maccs.dcss.mcmaster.ca> Reply-To: mpe@shamash.UUCP (Mike Ebsen 482-2375) Organization: Control Data Corp., Arden Hills, MN Lines: 9 The problem of capturing images using turbo pascal is that there is no way to read the palette registers back from the display controller card. Within the run-time environment, an array of previous values is used by the BGI graphics manager to shadow the palette contents. Long before you invoke your getimage program, a TSR that captures the int 10 interupt commands which update the CRT control, must monitor all int 10's for potential palette updates. Also, each shell opened by the user, loads it's own version of the command.com and *.bgi file base and therefore creates a yet another set of palette array registers. Good luck.