gnupic@linuxhacker.org
gnupic@linuxhacker.org
On Tue, Sep 09, 2003 at 08:45:39PM -0300, Antonio Augusto Todo Bom Neto wrote:
> How to support a new device on GPSIM?
> Can I copy some file and edit or is necessary much more work?
If possible, you should find a supported device that are as similar to
the one you want and inherit from that. (Not that I have ever done it
myself).
> In my application I compiled as 18c252 just for test. But is relocatable
> and use 13 asm files and 26 include files.
> I tried to use GPSIM is first it looks well, I can run step by step
> etc...
> But if I ask for open Source window this msg appears:
>
> gpsim> gpsim: gui_src_asm.c:1173: add_page: Assertion `id<20 && id >=0'
> failed.
> Aborted (core dumped)
At least in the cvs version, there is a SBAW_NRFILES define that is set
to 20 in a .h file. Increase it to 100, or something, and recompile.
That should be changed in cvs too, ideally made dynamic. But I don't
have time to do that :\
/ Ralf
gnupic@linuxhacker.org