Index: trunk/scconfig/plugins.h =================================================================== --- trunk/scconfig/plugins.h (revision 9035) +++ trunk/scconfig/plugins.h (revision 9036) @@ -52,6 +52,7 @@ plugin_def("io_tinycad", "TinyCAD schematics", sbuildin, 1) plugin_def("lib_alien", "alien format helper", sbuildin, 1) plugin_def("lib_ngrp", "non-graphical seet helper", sbuildin, 1) +plugin_def("lib_tedax", "low level tEDAx support", sbuildin, 1) plugin_header("\nGUI:\n") plugin_def("gui", "Graphical User Interface", sbuildin, 1) Index: trunk/src/plugins/lib_tedax/Makefile =================================================================== --- trunk/src/plugins/lib_tedax/Makefile (nonexistent) +++ trunk/src/plugins/lib_tedax/Makefile (revision 9036) @@ -0,0 +1,2 @@ +all: + cd ../../sch-rnd && make mod_lib_tedax Index: trunk/src/plugins/lib_tedax/Plug.tmpasm =================================================================== --- trunk/src/plugins/lib_tedax/Plug.tmpasm (nonexistent) +++ trunk/src/plugins/lib_tedax/Plug.tmpasm (revision 9036) @@ -0,0 +1,10 @@ +put /local/rnd/mod {lib_tedax} +put /local/rnd/mod/OBJS [@ + $(PLUGDIR)/lib_tedax/lib_tedax.o +@] + +switch /local/module/lib_tedax/controls + case {buildin} include /local/csch/tmpasm/buildin; end; + case {plugin} include /local/csch/tmpasm/plugin; end; + case {disable} include /local/csch/tmpasm/disable; end; +end Index: trunk/src/plugins/lib_tedax/lib_tedax.c =================================================================== --- trunk/src/plugins/lib_tedax/lib_tedax.c (nonexistent) +++ trunk/src/plugins/lib_tedax/lib_tedax.c (revision 9036) @@ -0,0 +1,53 @@ +/* + * COPYRIGHT + * + * cschem - modular/flexible schematics editor - netlist export helpers + * Copyright (C) 2023 Tibor 'Igor2' Palinkas + * + * (Supported by NLnet NGI0 Entrust in 2023) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Contact: + * Project page: http://repo.hu/projects/sch-rnd + * contact lead developer: http://www.repo.hu/projects/sch-rnd/contact.html + * mailing list: http://www.repo.hu/projects/sch-rnd/contact.html + */ + +/* low level tEDAx file format helpers */ + +#include + +#include +#include +#include + +#include "lib_tedax.h" + +/*** plugin ***/ + +int pplg_check_ver_lib_tedax(int ver_needed) { return 0; } + +void pplg_uninit_lib_tedax(void) +{ +} + +int pplg_init_lib_tedax(void) +{ + RND_API_CHK_VER; + + return 0; +} + Index: trunk/src/plugins/lib_tedax/lib_tedax.h =================================================================== Index: trunk/src/plugins/lib_tedax/lib_tedax.pup =================================================================== --- trunk/src/plugins/lib_tedax/lib_tedax.pup (nonexistent) +++ trunk/src/plugins/lib_tedax/lib_tedax.pup (revision 9036) @@ -0,0 +1,7 @@ +$class io +$short low level tEDAx support +$long Helper functions for implementing parsing and writing tEDAx files +$state works +$package (core) +default buildin +autoload 1 Index: trunk/src/plugins/plugins_ALL.tmpasm =================================================================== --- trunk/src/plugins/plugins_ALL.tmpasm (revision 9035) +++ trunk/src/plugins/plugins_ALL.tmpasm (revision 9036) @@ -24,6 +24,7 @@ include {../src/plugins/lib_ngrp/Plug.tmpasm} include {../src/plugins/lib_plot/Plug.tmpasm} include {../src/plugins/lib_target/Plug.tmpasm} +include {../src/plugins/lib_tedax/Plug.tmpasm} include {../src/plugins/place/Plug.tmpasm} include {../src/plugins/propedit/Plug.tmpasm} include {../src/plugins/query/Plug.tmpasm}