> On Mon, 19 Jan 2015 19:43:31 +0100 (CET) > Brian PEARCE <brian.pea...@wanadoo.fr> wrote: > >> Hello, >> In order to facilitate use of SDCC on my Amstrad CPC emulator I modified >> the putchar routine in z80.lib using Microsoft's debug.exe. Can I share >> information on how to modify z80.lib with other Amstrad hobbyists or >> would this infringe the FOSS licences described in the COPYING.TXT and >> COPYING3.TXT files accompanying the SDCC package? >> Best regards, >> Brian > > Well its not my software but since nobody else has replied a generic > answer > > #include <i_am_not_a_lawyer.h> > > The FOSS licenses talk about modifications in the preferred form, so if > you were to distribute binary patched code as opposed to just rebuilding > it with the correct source change then it might be a problem (as well as > being very odd given you have the source code!) > > If you are just distributing instructions along the lines of "get sdcc, > load z80lib, go to byte 3215 and set it to 0x4E" then for small changes I > doubt you are doing anything that would even count as distributing sdcc. > > > Of course the more interesting question is this > - If its an emulator why won't it run the code unmodified > - If it needs a change why not submit the source level change to the SDCC > project and/or make that available too > > Likewise you could even distribute a z80.lib and modified sources > yourself. > > Alan
Hi, IMO, a description of how to modify is not a distribution of binary or source code. But should you decide to distribute a modified library (or object) then you must also distribute the modified source. Btw. Are you aware that you don't need to modify z80.lib to use a different putchar? Just compile and link your modified object and sdld will not search for it in the lib. Maarten ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user