WZab's animated logo

COD file converter for MPASM and GPSIM

GPSIM is a very nice PIC microcontroller simulator working under Linux, additionally GPASM is very nice PIC Assembler working under Linux.
Unfortunately sometimes I have to use the DOS based PIC assembler MPASM freely available from Microchip.
Why? Just because GPASM still can not handle my macros used for automatic bank switching. Fortunately MPASM works perfectly under LINUX+DOSEMU+ FreeDOS. There is only one problem: the COD files produced by MPASM can not be used with GPSIM, because they contain DOS filenames. To solve that problem, I've written a small utility "codmpasm", which converts the MPASM generated COD files for use with GPSIM.
There is however one serious limitation: all sorce files must be located in current directory, and must be in lowercase
The command syntax is very simple: $codmpasm cod_file_name.cod
The sources are available there, however to compile them you need the "cod.h" file which is included in GPSIM sources.
Wojciech Zabolotny
Last modified: Tue Jul 31 23:06:27 CEST 2001