Greeting all, I have an embedded system that I have to maintain now which had it's last changes put in over ten years ago. I am not a programmer by any means but I need to solve a simple problem: The bootup string has to be put into the prom manually and I think the assembler can do it and save a lot of time. Here's the scoop as I inherited the thing.
The processor is an 8088. The prom is a 27C512. The assembler is a Borland TASM 2.0 Program code is written in six modules totaling about 0.5mb and is assembled by running a batch file in DOS. This creates an EXE file which is converted to a BIN by the DOS EXE2BIN utility. The resulting BIN file has to be blown into a prom and then read back out of the prom as a hex file. This, of course, provides the fill for the prom so the boot up string can be installed by editing the HEX file. The bytes at the boot location must be as follows:
fff0 = ea fff1 = 00 fff2 = 00 fff3 = 00 fff4 = f0
Damn! Surely this can't be the only way!! If I try to put the bootup code in the code at the location specified I get a out of segment error. I think this is because it is being put into an EXE instead of a BIN file and the headers etc run the code past the segment. That's my guess. I do have the documentation for this assembler and, if they thought anyone would ever write anything but PC code, you would never guess it so there is nothing for me there. Sorry people, only the ancient among us may have knowledge about this assembler now. Anyone? And, many Thanks!