Kenneth Brody
7/29/2011 3:03:00 PM
On 7/29/2011 12:38 AM, buck wrote:
[..]
> Everyone seems to want to know what this code does. There are 10
> objects that get linked into a TSR executable.
TSRs are no longer applicable in a Windows environment. They were an old
MS-DOS method of doing things such as "background task" or perhaps providing
an API w/o using a device driver.
> As concisely as I can
> describe it, it provides an interface into ISAM low level functions
> (add, delete, read, update, etc), "blasts" templates to the monitor,
> keeps track of how many users, allows only one instance per user,
> beeps the speaker...
I think your bigger problem is making this beast something that's meaningful
in Windows. (Assuming that you aren't simply asking how to maintain this
under MS-DOS, that is.)
[...]
>> 'static char v[]={-20,-124,-180,-93,-88,-73,-27,-146,9,-38,-179 ...'
>
> I've examined the object code to see what values are present there but
> haven't found this array yet.
Since the compiler is still working, why not make a test program with this
(untested) code?
=====
#include <stdio.h>
static char v[] = {-20,-124,-180,...};
int main()
{
int i;
for (i=0 ; i < sizeof(v) ; i++)
printf("%02x ",(unsigned char)v[i]);
printf("\n");
return(0);
}
=====
(Yes, I know "int main(void)" is "better", but we're talking about a
pre-ANSI compiler here.)
> It seems that the concensus is that this project is fesable, but not
> by me. I need more time to think about it, but will take all advice
> strongly into consideration.
I think you need to define what you want this program to do, once you've
updated it for Windows. (Again, assuming that that's your goal.)
--
Kenneth Brody