Page 3 of 3

Re: File Formats

Posted: Tue Jun 10, 2014 10:29 pm
by zephyr
tormod wrote:In the larger view of things, lwasm and other cross-compilers for 6809 have a much larger user base than some Dragon-specific tools have. So IMHO it is better to share resources as widely as possible, use general tools like lwasm that is being used and maintained by a larger group of people when possible, and have small Dragon tools that can be combined with these. And common CoCo/Dragon tools somewhere in between there again of course. You can always make your own alias/script/batch file that does lwasm -o X && bin2cas X (you quickly end up with a makefile though*). For us who have a searchable command line history it is less of an issue to have some long complex command lines.

*) Actually a good idea to have a Makefile with just general rules for .asm -> .bin and .bin to -> cas. So you can just type "make myprog.cas"
I would much rather have the option to "output to CAS file".

Re: File Formats

Posted: Tue Jul 08, 2014 9:40 pm
by sixxie
I've updated bin2cas.pl to add the --dzip and --dunzip options. --dzip pipes the binary through dzip before writing, and --dunzip does that and also adds an autorunning dunzipping loader. Requires the dzip binary to be in your PATH.

Only tested on Linux - it uses Perl's IPC::Open2, which might not be very portable.