debian/0000755000000000000000000000000011761367124007176 5ustar debian/z88dk-data.docs0000644000000000000000000000002511761123063011714 0ustar EXTENSIONS README.1stdebian/z88dk-doc.docs0000644000000000000000000000001011761123063011542 0ustar doc/*.* debian/patches/0000755000000000000000000000000011761367101010620 5ustar debian/patches/02_lib_cpc_crt0.asm.diff0000644000000000000000000001310011761123063015045 0ustar --- z88dk-1.8.ds1/lib/cpc_crt0.asm.orig 2008-10-16 15:39:21.000000000 +0200 +++ z88dk-1.8.ds1/lib/cpc_crt0.asm 2008-10-16 13:46:26.000000000 +0200 @@ -2,37 +2,48 @@ ; ; Stefano Bodrato 8/6/2000 ; -; $Id: cpc_crt0.asm,v 1.9 2007/07/21 21:27:23 dom Exp $ +; $Id: cpc_crt0.asm,v 1.13 2008/05/26 06:38:07 stefano Exp $ ; MODULE cpc_crt0 +;-------- +; Include zcc_opt.def to find out some info +;-------- INCLUDE "zcc_opt.def" +;-------- +; Some scope definitions +;-------- - XREF _main + XREF _main ;main() is always external to crt0 code + XDEF cleanup ;jp'd to by exit() + XDEF l_dcal ;jp(hl) + XDEF _vfprintf ;jp to the printf() core - XDEF cleanup - XDEF l_dcal - XDEF firmware - XDEF _vfprintf - - XDEF _std_seed - XDEF exitsp + XDEF exitsp ;atexit() variables XDEF exitcount - ;For stdin, stdout, stder + XDEF heaplast ;Near malloc heap variables + XDEF heapblocks + + XDEF __sgoioblk ;stdio info block + + XDEF base_graphics ;Graphical variables + XDEF coords ;Current xy position - XDEF __sgoioblk + XDEF snd_tick ;Sound variable -; Graphics stuff - XDEF base_graphics - XDEF coords + XDEF call_rom3 ;Interposer - ; Now, getting to the real stuff now! + XDEF firmware_bc ;Needed by the firmware interposer + +;-------- +; Set an origin for the application (-zorg=) default to $6000 +;-------- IF !myzorg defc myzorg = $6000 @@ -43,28 +54,33 @@ org myzorg +;-------- +; REAL CODE +;-------- + .start - di + ld hl,($39) ; Original Interrupt code + ld (oldint),hl + ld hl,newint ; Point to a null handler (increase stability) + ld ($39),hl + ld (start1+1),sp ld hl,-6530 add hl,sp ld sp,hl ld (exitsp),sp exx - ld (firmware_bc),bc - push af - pop hl - ld (firmware_af),hl + ld (firmware_bc),bc ; keep BC', otherwise crash exx IF !DEFINED_nostreams IF DEFINED_ANSIstdio ; Set up the std* stuff so we can be called again ld hl,__sgoioblk+2 - ld (hl),19 ;stdin + ld (hl),19 ;stdin ld hl,__sgoioblk+6 - ld (hl),21 ;stdout + ld (hl),21 ;stdout ld hl,__sgoioblk+10 - ld (hl),21 ;stderr + ld (hl),21 ;stderr ENDIF ENDIF @@ -76,6 +92,7 @@ ENDIF call _main + .cleanup ; ; Deallocate memory which has been allocated here! @@ -84,12 +101,17 @@ IF !DEFINED_nostreams IF DEFINED_ANSIstdio LIB closeall - call closeall + call closeall ENDIF ENDIF + exx + ld bc,(firmware_bc) ; restore BC' + exx + ld hl,(oldint) + ld ($39),hl + .start1 ld sp,0 - ei ret .l_dcal jp (hl) @@ -98,7 +120,7 @@ .__sgoioblk IF DEFINED_ANSIstdio - INCLUDE "#stdio_fp.asm" + INCLUDE "#stdio_fp.asm" ELSE defw -11,-12,-10 ENDIF @@ -109,54 +131,43 @@ ._vfprintf IF DEFINED_floatstdio - LIB vfprintf_fp - jp vfprintf_fp + LIB vfprintf_fp + jp vfprintf_fp ELSE - IF DEFINED_complexstdio - LIB vfprintf_comp - jp vfprintf_comp - ELSE - IF DEFINED_ministdio - LIB vfprintf_mini - jp vfprintf_mini - ENDIF - ENDIF -ENDIF - -; Function to call firmware function -; ix = firmware routine to call -; -.firmware - exx ; Use alternate registers - ex (sp),hl ; get return address - ld c,(hl) - inc hl - ld b,(hl) ; BC=BASIC address - inc hl - ex (sp),hl ; restore return address - push bc - ld bc,(firmware_bc) - ld hl,(firmware_af) - push hl - pop af - exx ; Back to the regular set - ret ; And call the firmware routine + IF DEFINED_complexstdio + LIB vfprintf_comp + jp vfprintf_comp + ELSE + IF DEFINED_ministdio + LIB vfprintf_mini + jp vfprintf_mini + ENDIF + ENDIF +ENDIF -._std_seed defw 0 ; Default seed +IF !DEFINED_HAVESEED + XDEF _std_seed ;Integer rand() seed +._std_seed defw 0 ; Seed for integer rand() routines +ENDIF + .exitsp defw 0 ; atexit .exitcount defb 0 .base_graphics - defw $C000 -.coords defw 0 + defw $C000 +.coords defw 0 .firmware_bc defw 0 -.firmware_af defw 0 + +.heaplast defw 0 ; Address of last block on heap +.heapblocks defw 0 ; Number of blocks defm "Small C+ CPC" defb 0 IF NEED_floatpack INCLUDE "#float.asm" +;.init_floatpack +; ret ;seed for random number generator - not used yet.. .fp_seed defb $80,$80,0,0,0,0 @@ -167,3 +178,10 @@ ENDIF + +.newint + ei + reti + +.oldint + defw 0 debian/patches/04_src1.8_64bitsupport.diff0000644000000000000000000005743211761123063015450 0ustar diff -Naur z88dk-1.8.ds1/src/copt/copt.c z88dk-1.8.ds1-64bit/src/copt/copt.c --- z88dk-1.8.ds1/src/copt/copt.c 2002-09-15 19:10:07.000000000 +0200 +++ z88dk-1.8.ds1-64bit/src/copt/copt.c 2010-04-22 13:17:56.000000000 +0200 @@ -507,12 +507,12 @@ /* check for activation rules */ if (o->o_new && strcmp(o->o_new->l_text, "%activate\n") == 0) { /* we have to prevent repeated activation of rules */ - char signature[160]; + char signature[240]; struct lnode *lnp; struct onode *nn, *last; int skip = 0; /* since we 'install()' strings, we can compare pointers */ - sprintf(signature, "%s%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x\n", + sprintf(signature, (sizeof(char*)>4)?"%s%016lx%016lx%016lx%016lx%016lx%016lx%016lx%016lx%016lx%016lx\n":"%s%08lx%08lx%08lx%08lx%08lx%08lx%08lx%08lx%08lx%08lx\n", activated, vars[0], vars[1], vars[2], vars[3], vars[4], vars[5], vars[6], vars[7], vars[8], vars[9]); diff -Naur z88dk-1.8.ds1/src/z80asm/config.h z88dk-1.8.ds1-64bit/src/z80asm/config.h --- z88dk-1.8.ds1/src/z80asm/config.h 2007-06-24 18:41:41.000000000 +0200 +++ z88dk-1.8.ds1-64bit/src/z80asm/config.h 2010-04-22 13:17:56.000000000 +0200 @@ -64,6 +64,12 @@ #define MAXCODESIZE 65536 #endif +#ifdef __linux__ +#include +#if __BYTE_ORDER == __BIG_ENDIAN +#define ENDIAN 1 +#endif +#else /* Some clever config-ing if we're using GNUC */ #ifdef __BIG_ENDIAN__ /* Sadly the compiler on OS-X falls over with the #if below... */ @@ -75,3 +81,4 @@ #endif #endif /* __GNUC__ */ #endif +#endif diff -Naur z88dk-1.8.ds1/src/z80asm/modlink.c z88dk-1.8.ds1-64bit/src/z80asm/modlink.c --- z88dk-1.8.ds1/src/z80asm/modlink.c 2002-11-05 12:45:56.000000000 +0100 +++ z88dk-1.8.ds1-64bit/src/z80asm/modlink.c 2010-04-22 13:17:56.000000000 +0200 @@ -106,11 +106,11 @@ int LinkLibModule (struct libfile *library, long curmodule, char *modname); int SearchLibfile (struct libfile *curlib, char *modname); char *ReadName (void); -long ReadLong (FILE * fileid); +int ReadLong (FILE * fileid); void redefinedmsg (void); void CreateLib (void); void SearchLibraries (char *modname); -void WriteLong (long fptr, FILE * fileid); +void WriteLong (int fptr, FILE * fileid); void LinkModules (void); void ModuleExpr (void); void CreateBinFile (void); @@ -160,7 +160,7 @@ ReadNames (long nextname, long endnames) { char scope, symtype; - long value; + int value; symbol *foundsymbol; do @@ -509,7 +509,7 @@ while (CURRENTMODULE != lastobjmodule->nextmodule); /* parse only object modules, not added library modules */ if (verbose == ON) - printf ("Code size of linked modules is %d bytes\n", CODESIZE); + printf ("Code size of linked modules is %lu bytes\n", (unsigned long) CODESIZE); if (ASMERROR == OFF) ModuleExpr (); /* Evaluate expressions in all modules */ @@ -531,7 +531,7 @@ int LinkModule (char *filename, long fptr_base) { - long fptr_namedecl, fptr_modname, fptr_modcode, fptr_libnmdecl; + int fptr_namedecl, fptr_modname, fptr_modcode, fptr_libnmdecl; size_t lowbyte, highbyte, size; int flag = 0; @@ -661,7 +661,7 @@ SearchLibfile (struct libfile *curlib, char *modname) { - long currentlibmodule, modulesize, fptr_mname; + int currentlibmodule, modulesize, fptr_mname; int flag; char *mname; @@ -755,8 +755,8 @@ void ModuleExpr (void) { - long fptr_namedecl, fptr_modname, fptr_exprdecl, fptr_libnmdecl; - long fptr_base; + int fptr_namedecl, fptr_modname, fptr_exprdecl, fptr_libnmdecl; + int fptr_base; struct linkedmod *curlink; if (verbose) @@ -837,7 +837,7 @@ *(reloctable + 3) = (unsigned short) sizeof_reloctable / 256U;/* total size of relocation table elements */ fwrite (reloctable, 1U, sizeof_reloctable + 4, binaryfile); /* write relocation table, inclusive 4 byte header */ - printf ("Relocation header is %d bytes.\n", sizeof_relocroutine + sizeof_reloctable + 4); + printf ("Relocation header is %lu bytes.\n", (unsigned long) (sizeof_relocroutine + sizeof_reloctable + 4)); fwrite (codearea, sizeof (char), CODESIZE, binaryfile); /* write code as one big chunk */ fclose (binaryfile); } @@ -880,9 +880,9 @@ void CreateLib (void) { - long Codesize; + int Codesize; FILE *objectfile = NULL; - long fptr; + int fptr; char *filebuffer, *fname; if (verbose) @@ -1035,13 +1035,13 @@ -long +int ReadLong (FILE * fileid) { #ifdef ENDIAN /* high byte, low byte order... */ int i; - unsigned long c, fptr = 0; + unsigned int c, fptr = 0; for (i = 1; i <= 3; i++) { @@ -1052,7 +1052,7 @@ return fptr; #else /* low byte, high byte order... */ - long fptr = 0; + int fptr = 0; /* long is *at least* 4 bytes long, and we have to write exactly 4 bytes */ fread (&fptr, 4, 1, fileid); @@ -1063,7 +1063,7 @@ void -WriteLong (long fptr, FILE * fileid) +WriteLong (int fptr, FILE * fileid) { #ifdef ENDIAN /* high byte, low byte order... */ int i; diff -Naur z88dk-1.8.ds1/src/z80asm/symbol.h z88dk-1.8.ds1-64bit/src/z80asm/symbol.h --- z88dk-1.8.ds1/src/z80asm/symbol.h 2003-10-11 17:41:04.000000000 +0200 +++ z88dk-1.8.ds1-64bit/src/z80asm/symbol.h 2010-04-22 13:17:56.000000000 +0200 @@ -113,7 +113,7 @@ struct libfile { struct libfile *nextlib; /* pointer to next library file in list */ char *libfilename; /* filename of library (incl. extension) */ - long nextobjfile; /* file pointer to next object file in library */ + int nextobjfile; /* file pointer to next object file in library */ }; struct linklist { struct linkedmod *firstlink; /* pointer to first linked object module */ diff -Naur z88dk-1.8.ds1/src/z80asm/z80asm.c z88dk-1.8.ds1-64bit/src/z80asm/z80asm.c --- z88dk-1.8.ds1/src/z80asm/z80asm.c 2007-07-22 00:43:35.000000000 +0200 +++ z88dk-1.8.ds1-64bit/src/z80asm/z80asm.c 2010-04-22 13:17:56.000000000 +0200 @@ -827,7 +827,7 @@ } if (*flagid == 'r') { - sscanf (flagid + 1, "%x", &EXPLICIT_ORIGIN); + sscanf (flagid + 1, "%lx", &EXPLICIT_ORIGIN); deforigin = ON; /* explicit origin has been defined */ return; } diff -Naur z88dk-1.8.ds1/src/z80asm/z80pass.c z88dk-1.8.ds1-64bit/src/z80asm/z80pass.c --- z88dk-1.8.ds1/src/z80asm/z80pass.c 2002-05-11 22:09:38.000000000 +0200 +++ z88dk-1.8.ds1-64bit/src/z80asm/z80pass.c 2010-04-22 13:17:56.000000000 +0200 @@ -853,9 +853,9 @@ fprintf (listfile, "%*.*s", 122 - strlen (_prog_name) - strlen (_version) - strlen (_copyright) - 3, strlen (date), date); #else fprintf (listfile, "%s", copyrightmsg); - fprintf (listfile, "%*.*s", (int) 122 - strlen (copyrightmsg), (int) strlen (date), date); + fprintf (listfile, "%*.*s", (int) (122 - strlen (copyrightmsg)), (int) strlen (date), date); #endif - fprintf (listfile, "Page %03d%*s'%s'\n\n\n", ++PAGENR, (int) 122 - 9 - 2 - strlen (lstfilename), "", lstfilename); + fprintf (listfile, "Page %03d%*s'%s'\n\n\n", ++PAGENR, (int) (122 - 9 - 2 - strlen (lstfilename)), "", lstfilename); } diff -Naur z88dk/src/sccz80/io.c z88dk-64bit/src/sccz80/io.c --- z88dk-1.8.ds1/src/sccz80.orig/io.c 2009-06-21 23:16:52.000000000 +0200 +++ z88dk-1.8.ds1/src/sccz80/io.c 2009-07-21 05:11:59.000000000 +0200 @@ -334,7 +334,7 @@ } -void outdec(long number) +void outdec(int number) { if ( number < 0 ) { number=-number; @@ -344,7 +344,7 @@ outd2(number); } -void outd2(long n) +void outd2(int n) { if ( n > 9 ) { outd2(n/10) ; diff -Naur z88dk-1.8.ds1/src/sccz80.orig/io.h z88dk-1.8.ds1/src/sccz80/io.h --- z88dk-1.8.ds1/src/sccz80.orig/io.h 2009-06-21 23:16:52.000000000 +0200 +++ z88dk-1.8.ds1/src/sccz80/io.h 2009-07-21 05:11:59.000000000 +0200 @@ -26,8 +26,8 @@ extern void ol(char *ptr); extern void ot(char *ptr); extern void blanks(void); -extern void outdec(long number); -extern void outd2(long n); +extern void outdec(int number); +extern void outd2(int n); extern void queuelabel(int); typedef struct { diff -Naur z88dk-1.8.ds1/src/sccz80.orig/ccdefs.h z88dk-1.8.ds1/src/sccz80/ccdefs.h --- z88dk-1.8.ds1/src/sccz80.orig/ccdefs.h 2000-07-04 17:33:30.000000000 +0200 +++ z88dk-1.8.ds1/src/sccz80/ccdefs.h 2010-04-22 11:49:20.000000000 +0200 @@ -12,6 +12,9 @@ */ +#include +#include + #include "define.h" #include "lvalue.h" diff -Naur z88dk-1.8.ds1/src/sccz80.orig/codegen.c z88dk-1.8.ds1/src/sccz80/codegen.c --- z88dk-1.8.ds1/src/sccz80.orig/codegen.c 2007-06-24 16:43:45.000000000 +0200 +++ z88dk-1.8.ds1/src/sccz80/codegen.c 2010-04-22 12:25:41.000000000 +0200 @@ -34,8 +34,6 @@ int donelibheader; -void constbc(long val); - /* Begin a comment line for the assembler */ void comment(void) @@ -1853,13 +1851,13 @@ * to have -1 entered correctly */ -void vlongconst(unsigned long val) +void vlongconst(uint32_t val) { vconst(val%65536); const2(val/65536); } -void vlongconst_noalt(unsigned long val) +void vlongconst_noalt(uint32_t val) { constbc(val%65536); ol("push\tbc"); @@ -1871,7 +1869,7 @@ /* * load constant into primary register */ -void vconst(long val) +void vconst(int32_t val) { if ( val < 0 ) val += 65536; @@ -1883,7 +1881,7 @@ /* * load constant into secondary register */ -void const2(long val) +void const2(int32_t val) { if ( val < 0 ) val += 65536; @@ -1892,7 +1890,7 @@ nl(); } -void constbc(long val) +void constbc(int32_t val) { if ( val < 0 ) val += 65536; diff -Naur z88dk-1.8.ds1/src/sccz80.orig/codegen.h z88dk-1.8.ds1/src/sccz80/codegen.h --- z88dk-1.8.ds1/src/sccz80.orig/codegen.h 2004-03-26 23:06:09.000000000 +0100 +++ z88dk-1.8.ds1/src/sccz80/codegen.h 2010-04-22 11:49:20.000000000 +0200 @@ -92,11 +92,11 @@ extern void convUlong2doub(void); extern void convdoub2int(void); extern void DoubSwap(void); -extern void vlongconst(unsigned long val); -extern void vlongconst_noalt(unsigned long val); -extern void vconst(long val); -extern void const2(long val); -extern void constbc(long val); +extern void vlongconst(uint32_t val); +extern void vlongconst_noalt(uint32_t val); +extern void vconst(int32_t val); +extern void const2(int32_t val); +extern void constbc(int32_t val); extern void addbchl(int val); extern void GlobalPrefix(char); extern void jumpc(int); diff -Naur z88dk-1.8.ds1/src/sccz80.orig/const.c z88dk-1.8.ds1/src/sccz80/const.c --- z88dk-1.8.ds1/src/sccz80.orig/const.c 2006-06-18 15:03:13.000000000 +0200 +++ z88dk-1.8.ds1/src/sccz80/const.c 2010-04-22 11:49:20.000000000 +0200 @@ -54,8 +54,8 @@ return(1); } else if ( number(&lval->const_val) || pstr(&lval->const_val) ) { -/* Insert long stuff/long pointer here? */ - if ( (unsigned long )lval->const_val >= 65536LU ) +/* Insert int32_t stuff/int32_t pointer here? */ + if ( (uint32_t )lval->const_val >= 65536LU ) constype = LONG; lval->val_type = constype ; @@ -81,7 +81,7 @@ } -int fnumber(long *val) +int fnumber(int32_t *val) { unsigned char sum[6]; unsigned char sum2[6]; @@ -169,7 +169,7 @@ if( cmatch('e') ) { /* interpret exponent */ int neg; /* nonzero if exp is negative */ - long expon; /* the exponent */ + int32_t expon; /* the exponent */ if( number(&expon) == 0 ) { error(E_EXPON); @@ -234,7 +234,7 @@ int stash_double_str(char *start, char *end) { int len; - long val; + int32_t val; unsigned char *buf; len = end-start; @@ -259,7 +259,7 @@ * number - saves space etc etc */ -long searchdub(unsigned char *num) +int32_t searchdub(unsigned char *num) { unsigned char *tempdub; int dubleft, k,match; @@ -290,11 +290,11 @@ -int number(long *val) +int number(int32_t *val) { char c ; int minus; - long k ; + int32_t k ; /* * djm, set the type specifiers to normal */ @@ -362,14 +362,14 @@ immed() ; outname(ptr->name,dopref(ptr)) ; nl(); -/* djm if we're using long pointers, use of e=0 means absolute address, +/* djm if we're using int32_t pointers, use of e=0 means absolute address, * this covers up a bit of a problem in deref() which can't distinguish * between ptrtoptr and ptr */ if (ptr->flags&FARPTR) { const2(0); } } -int pstr(long *val) +int pstr(int32_t *val) { int k ; @@ -390,7 +390,7 @@ * check to see if present elsewhere, if so do the merge as for doubles */ -int tstr(long *val) +int tstr(int32_t *val) { int k,j; @@ -414,7 +414,7 @@ * internally, but to the asm file show it to start from 0 */ -int storeq(int length, unsigned char *queue,long *val) +int storeq(int length, unsigned char *queue,int32_t *val) { int j,k,len; /* Have stashed it in our temporary queue, we know the length, so lets @@ -432,7 +432,7 @@ j++; } /* If we get here, then dump it in the queue as per normal... */ - *val=(long) litptr-1; + *val=(int32_t) litptr-1; for (j=0; j= FNMAX ) { @@ -445,7 +445,7 @@ } -int qstr(long *val) +int qstr(int32_t *val) { int c; int cnt=0; @@ -453,7 +453,7 @@ if ( cmatch('"') == 0 ) return(-1) ; - *val=(long)gltptr; + *val=(int32_t)gltptr; do { while ( ch() !='"' ) { if ( ch() == 0 ) break ; diff -Naur z88dk-1.8.ds1/src/sccz80.orig/const.h z88dk-1.8.ds1/src/sccz80/const.h --- z88dk-1.8.ds1/src/sccz80.orig/const.h 2002-05-30 00:54:09.000000000 +0200 +++ z88dk-1.8.ds1/src/sccz80/const.h 2010-04-22 11:49:20.000000000 +0200 @@ -1,15 +1,15 @@ /* constant.c */ extern int constant(LVALUE *lval); -extern int fnumber(long *val); +extern int fnumber(int32_t *val); extern int stash_double_str(char *start,char *end); -extern long searchdub(unsigned char *num); -extern int number(long *val); +extern int32_t searchdub(unsigned char *num); +extern int number(int32_t *val); extern int hex(char c); extern void address(SYMBOL *ptr); -extern int pstr(long *val); -extern int tstr(long *val); -extern int storeq(int length, unsigned char *queue,long *val); -extern int qstr(long *val); +extern int pstr(int32_t *val); +extern int tstr(int32_t *val); +extern int storeq(int length, unsigned char *queue,int32_t *val); +extern int qstr(int32_t *val); extern void stowlit(int value, int size); extern unsigned char litchar(void); extern void size_of(LVALUE *lval); diff -Naur z88dk-1.8.ds1/src/sccz80.orig/declfunc.c z88dk-1.8.ds1/src/sccz80/declfunc.c --- z88dk-1.8.ds1/src/sccz80.orig/declfunc.c 2007-04-17 16:40:14.000000000 +0200 +++ z88dk-1.8.ds1/src/sccz80/declfunc.c 2010-04-22 11:49:20.000000000 +0200 @@ -68,7 +68,7 @@ char sign, TAG_SYMBOL *otag, int ident, -long *addr) +int32_t *addr) { SYMBOL *ptr; int more; @@ -134,7 +134,7 @@ void newfunc() { char n[NAMESIZE]; /* ptr => currfn */ - long addr; + int32_t addr; if ( symname(n) == 0 ) { error(E_ILLEGAL); @@ -155,7 +155,7 @@ SYMBOL * #endif -AddFuncCode(char *n, char type, char ident, char sign,char zfar, int storage, int more, char check,char simple,TAG_SYMBOL *otag, long *addr) +AddFuncCode(char *n, char type, char ident, char sign,char zfar, int storage, int more, char check,char simple,TAG_SYMBOL *otag, int32_t *addr) { unsigned char tvalue; /* Used to hold protot value */ char typ; /* Temporary type */ @@ -468,7 +468,7 @@ #ifndef SMALL_C SYMBOL * #endif -dofnansi(SYMBOL *currfn, long *addr) +dofnansi(SYMBOL *currfn, int32_t *addr) { SYMBOL *prevarg; /* ptr to symbol table entry of most recent argument */ SYMBOL *argptr; /* Temporary holder.. */ diff -Naur z88dk-1.8.ds1/src/sccz80.orig/declfunc.h z88dk-1.8.ds1/src/sccz80/declfunc.h --- z88dk-1.8.ds1/src/sccz80.orig/declfunc.h 2007-04-17 16:40:15.000000000 +0200 +++ z88dk-1.8.ds1/src/sccz80/declfunc.h 2010-04-22 11:49:20.000000000 +0200 @@ -1,10 +1,10 @@ /* declfunc.c */ -extern int AddNewFunc(char *sname, int type, int storage, char zfar, char sign, TAG_SYMBOL *otag, int ident, long *addr); +extern int AddNewFunc(char *sname, int type, int storage, char zfar, char sign, TAG_SYMBOL *otag, int ident, int32_t *addr); extern void newfunc(void); -extern SYMBOL *AddFuncCode(char *n, char type, char ident, char sign, char zfar, int storage, int more, char check, char simple, TAG_SYMBOL *otag, long *addr); +extern SYMBOL *AddFuncCode(char *n, char type, char ident, char sign, char zfar, int storage, int more, char check, char simple, TAG_SYMBOL *otag, int32_t *addr); extern void DoFnKR(SYMBOL *currfn, char simple); extern void setlocvar(SYMBOL *prevarg, SYMBOL *currfn); -extern SYMBOL *dofnansi(SYMBOL *currfn, long *addr); +extern SYMBOL *dofnansi(SYMBOL *currfn, int32_t *addr); extern int CheckANSI(void); extern SYMBOL *getarg(int typ, TAG_SYMBOL *otag, int deftype, SYMBOL *prevarg, char issigned, char zfar, char proto); diff -Naur z88dk-1.8.ds1/src/sccz80.orig/declinit.c z88dk-1.8.ds1/src/sccz80/declinit.c --- z88dk-1.8.ds1/src/sccz80.orig/declinit.c 2004-03-26 23:06:09.000000000 +0100 +++ z88dk-1.8.ds1/src/sccz80/declinit.c 2010-04-22 11:49:20.000000000 +0200 @@ -222,8 +222,8 @@ */ void init(int size, int ident, int *dim, int more, int dump, int is_struct) { - long value; - int sz; /* number of chars in queue */ + int32_t value; + int sz; /* number of chars in queue */ /* * djm 14/3/99 We have to rewrite this bit (ugh!) so that we store * our literal in a temporary queue, then if needed, we then dump diff -Naur z88dk-1.8.ds1/src/sccz80.orig/declvar.c z88dk-1.8.ds1/src/sccz80/declvar.c --- z88dk-1.8.ds1/src/sccz80.orig/declvar.c 2007-07-05 20:39:00.000000000 +0200 +++ z88dk-1.8.ds1/src/sccz80/declvar.c 2010-04-22 11:49:20.000000000 +0200 @@ -130,7 +130,7 @@ { SYMBOL *ptr; char name[NAMEMAX]; - long value; + int32_t value; /* Add it into the symbol table, we do not need to keep track of the * tag because we treat enums as constants */ @@ -198,7 +198,7 @@ { char sname[NAMESIZE]; int size, ident, more, itag, type, size_st; - long addr = -1; + int32_t addr = -1; char flagdef,match,ptrtofn; char libdef,fastcall,callee; SYMBOL *myptr ; @@ -745,7 +745,7 @@ int needsub (void) { - long num; + int32_t num; if ( cmatch(']') ) return (0); /* null size */ if ( constexpr(&num,1) == 0 ) { @@ -850,7 +850,7 @@ void BitFieldSwallow (void) { - long val; + int32_t val; if (cmatch(':')) { constexpr(&val,1); warning(W_BITFIELD); diff -Naur z88dk-1.8.ds1/src/sccz80.orig/define.h z88dk-1.8.ds1/src/sccz80/define.h --- z88dk-1.8.ds1/src/sccz80.orig/define.h 2007-01-10 10:43:24.000000000 +0100 +++ z88dk-1.8.ds1/src/sccz80/define.h 2010-04-22 11:49:20.000000000 +0200 @@ -205,7 +205,7 @@ struct sw_tab { int label ; /* label for start of case */ - long value ; /* value associated with case */ + int32_t value ; /* value associated with case */ } ; #define SW_TAB struct sw_tab diff -Naur z88dk-1.8.ds1/src/sccz80.orig/float.c z88dk-1.8.ds1/src/sccz80/float.c --- z88dk-1.8.ds1/src/sccz80.orig/float.c 2002-02-20 12:11:54.000000000 +0100 +++ z88dk-1.8.ds1/src/sccz80/float.c 2010-04-22 11:49:20.000000000 +0200 @@ -40,7 +40,7 @@ * Entry: val=value fa=pointer to 6 byte area for number */ void qfloat(int va, unsigned char *fa) { - unsigned long val; + uint32_t val; int i,minus,exp; val = va; @@ -58,9 +58,9 @@ } -void norm(unsigned long a, - unsigned long b, - unsigned long c, +void norm(uint32_t a, + uint32_t b, + uint32_t c, int minus, unsigned char *fa, int exp) @@ -183,7 +183,7 @@ unsigned char fa1[EXPONENT+2], fa2[EXPONENT+2], fa3[EXPONENT+2]; int i, j, k, temp, mask, carry; - unsigned long a, b, c; + uint32_t a, b, c; int exp; unpack(i1, fa1); @@ -256,7 +256,7 @@ void fltadd(unsigned char *i1,unsigned char *i2) { unsigned char fa1[EXPONENT+2], fa2[EXPONENT+2]; - unsigned long temp, carry; + uint32_t temp, carry; int i; diff -Naur z88dk-1.8.ds1/src/sccz80.orig/float.h z88dk-1.8.ds1/src/sccz80/float.h --- z88dk-1.8.ds1/src/sccz80.orig/float.h 2002-01-27 16:47:59.000000000 +0100 +++ z88dk-1.8.ds1/src/sccz80/float.h 2010-04-22 11:49:20.000000000 +0200 @@ -4,4 +4,4 @@ extern void fltmult(unsigned char *, unsigned char *); extern void pack(unsigned char *, unsigned char *); extern void unpack(unsigned char *, unsigned char *); -extern void norm(unsigned long, unsigned long, unsigned long, int, unsigned char *, int); +extern void norm(uint32_t, uint32_t, uint32_t, int, unsigned char *, int); diff -Naur z88dk-1.8.ds1/src/sccz80.orig/lvalue.h z88dk-1.8.ds1/src/sccz80/lvalue.h --- z88dk-1.8.ds1/src/sccz80.orig/lvalue.h 2007-06-24 16:43:45.000000000 +0200 +++ z88dk-1.8.ds1/src/sccz80/lvalue.h 2010-04-22 11:49:20.000000000 +0200 @@ -9,7 +9,7 @@ int indirect ; /* type of indirect object, 0 for static object */ int ptr_type ; /* type of pointer or array, 0 for other idents */ int is_const ; /* true if constant expression */ - signed long const_val ; /* value of constant expression (& other uses) */ + int32_t const_val ; /* value of constant expression (& other uses) */ TAG_SYMBOL *tagsym ; /* tag symbol address, 0 if not struct */ void (*binop)() ; /* function address of highest/last binary operator */ char *stage_add ; /* stage addess of "oper 0" code, else 0 */ diff -Naur z88dk-1.8.ds1/src/sccz80.orig/main.c z88dk-1.8.ds1/src/sccz80/main.c --- z88dk-1.8.ds1/src/sccz80.orig/main.c 2007-10-07 18:16:03.000000000 +0200 +++ z88dk-1.8.ds1/src/sccz80/main.c 2010-04-22 11:49:20.000000000 +0200 @@ -623,7 +623,7 @@ { FILE *fp; char sname[NAMESIZE]; - long value; + int32_t value; int count; if ( symname(sname) ) { @@ -642,7 +642,7 @@ else fprintf(fp,","); if ( number(&value) ) { - fprintf(fp,"%ld",value); + fprintf(fp,"%d",value); } else { warning(W_EXPARG); } diff -Naur z88dk-1.8.ds1/src/sccz80.orig/primary.c z88dk-1.8.ds1/src/sccz80/primary.c --- z88dk-1.8.ds1/src/sccz80.orig/primary.c 2007-07-05 20:39:00.000000000 +0200 +++ z88dk-1.8.ds1/src/sccz80/primary.c 2010-04-22 11:49:20.000000000 +0200 @@ -649,7 +649,7 @@ * evaluate constant expression * return TRUE if it is a constant expression */ -int constexpr(long *val,int flag) +int constexpr(int32_t *val,int flag) { char *before, *start ; int con, valtemp ; @@ -739,7 +739,7 @@ SYMBOL *ptr; char temp_type; int itag; - char nam[20]; + char nam[64]; @@ -794,7 +794,7 @@ * returning pointers - to do this, we will define dummy symbols in * the local symbol table so that they do what we want them to do! */ - sprintf(nam,"0dptr%d",(int)locptr); + sprintf(nam,"0dptr%p",locptr); temp_type = ( (lval->c_flags&FARPTR) ? CPTR : CINT ); itag=0; if ( lval->c_tag) diff -Naur z88dk-1.8.ds1/src/sccz80.orig/primary.h z88dk-1.8.ds1/src/sccz80/primary.h --- z88dk-1.8.ds1/src/sccz80.orig/primary.h 2001-02-02 13:24:06.000000000 +0100 +++ z88dk-1.8.ds1/src/sccz80/primary.h 2010-04-22 11:49:20.000000000 +0200 @@ -20,7 +20,7 @@ extern void rvalload(LVALUE *lval); extern void rvalue(LVALUE *lval); extern void test(int label, int parens); -extern int constexpr(long *val,int flag); +extern int constexpr(int32_t *val,int flag); extern void cscale(int type, struct tag_symbol *tag, int *val); extern void addconst(int val, int opr, char zfar); extern int docast(LVALUE *lval,char df); debian/patches/06_src_zcc_zcc.c_printf_fmt.diff0000644000000000000000000000066211761123063016716 0ustar Description: error: format not a string literal and no format arguments [-Werror=format-security] Author: Piotr Roszatycki Origin: debian --- z88dk-1.8.ds1.orig/src/zcc/zcc.c +++ z88dk-1.8.ds1/src/zcc/zcc.c @@ -1110,7 +1110,7 @@ void SetShortObj(char *arg) void DispInfo(void) { printf("zcc - Frontend for the z88dk Cross-C Compiler\n"); - printf(version); + printf("%s",version); } debian/patches/03_libsrc_graphics_x11_Makefile.diff0000644000000000000000000000221211761123063017372 0ustar --- z88dk-1.8.ds1/libsrc/graphics/x11/Makefile.orig 2008-03-05 22:25:11.000000000 +0100 +++ z88dk-1.8.ds1/libsrc/graphics/x11/Makefile 2008-03-14 17:52:18.000000000 +0100 @@ -5,9 +5,55 @@ include ../../Make.config -all: - zcc +test $(CFLAGS) *.c +CFILES = \ + blackpixel.c \ + defaultdepth.c \ + defaultscreen.c \ + displayheight.c \ + displaywidth.c \ + rootwindow.c \ + whitepixel.c \ + xchecktypedevent.c \ + xcheckwindowevent.c \ + xclearwindow.c \ + xclosedisplay.c \ + xcreatebitmapfromdata.c \ + xcreategc.c \ + xcreatesimplewindow.c \ + xdestroywindow.c \ + xdisplayname.c \ + xdrawline.c \ + xdrawpoint.c \ + xdrawrectangle.c \ + xdrawstring.c \ + _xfindchar.c \ + xflush.c \ + _xfputc.c \ + xfreegc.c \ + xloadqueryfont.c \ + xmapwindow.c \ + xnextevent.c \ + xopendisplay.c \ + xselectinput.c \ + xsetdashes.c \ + xsetfont.c \ + xsetforeground.c \ + xsetlineattributes.c \ + xsetstandardproperties.c \ + xtextwidth.c \ + xunloadfont.c + + +AFILES = $(CFILES:.c=.asm) +OBJECTS = $(CFILES:.c=.o) + +all: x11lib + +x11lib: $(OBJECTS) $(LIBLINKER) -x../../x11.lib @x11.lst +.c.o: + zcc +test $(CFLAGS) $*.c + clean: $(RM) *.o* zcc_opt.def debian/patches/04_src_appmake.diff0000644000000000000000000002556411761123063014253 0ustar diff -Naur z88dk/src/appmake.orig/abc80.c z88dk/src/appmake/abc80.c --- z88dk/src/appmake.orig/abc80.c 2007-11-05 08:54:53.000000000 +0100 +++ z88dk/src/appmake/abc80.c 2008-03-20 13:34:46.000000000 +0100 @@ -172,5 +172,6 @@ fclose(fpin); fclose(fpout); + return 0; /* make gcc happy */ } diff -Naur z88dk/src/appmake.orig/ace-byt.c z88dk/src/appmake/ace-byt.c --- z88dk/src/appmake.orig/ace-byt.c 2003-03-13 15:50:29.000000000 +0100 +++ z88dk/src/appmake/ace-byt.c 2008-03-20 13:36:16.000000000 +0100 @@ -47,7 +47,7 @@ if ( (fpin=fopen(binname,"rb") ) == NULL ) { - printf("Can't open input file %s\n"); + printf("Can't open input file %s\n", binname); myexit(NULL,1); } @@ -104,5 +104,6 @@ fclose(fpin); fclose(fpout); + return 0; /* make gcc happy */ } diff -Naur z88dk/src/appmake.orig/ace-tap.c z88dk/src/appmake/ace-tap.c --- z88dk/src/appmake.orig/ace-tap.c 2003-03-13 15:50:29.000000000 +0100 +++ z88dk/src/appmake/ace-tap.c 2008-03-20 13:35:04.000000000 +0100 @@ -127,5 +127,6 @@ writebyte_p(parity,fpout,&parity); fclose(fpin); fclose(fpout); + return 0; /* make gcc happy */ } diff -Naur z88dk/src/appmake.orig/appmake.c z88dk/src/appmake/appmake.c --- z88dk/src/appmake.orig/appmake.c 2007-05-10 22:03:25.000000000 +0200 +++ z88dk/src/appmake/appmake.c 2008-03-25 12:44:16.000000000 +0100 @@ -74,6 +74,7 @@ fprintf(stderr,"Unknown machine target \"%s\"\n\n",target); main_usage(); + return 0; /* make gcc happy */ } @@ -180,13 +181,14 @@ } while ( opt->type != OPT_NONE ); } } + return 0; /* make gcc happy */ } static int option_set(int pos, int max, char *argv[], option_t *option) { int val; - int ret; + int ret = 0; /* make gcc happy */ switch ( option->type ) { case OPT_BOOL: @@ -206,6 +208,8 @@ ret = pos + 1; } break; + case OPT_NONE: /* make gcc happy */ + break; } return ret; } @@ -238,6 +242,8 @@ case OPT_STR: fprintf(stderr,"%s --%-15s (string) %s\n",optstr,opt->lopt,opt->desc); break; + case OPT_NONE: /* make gcc happy */ + break; } opt++; } diff -Naur z88dk/src/appmake.orig/aquarius.c z88dk/src/appmake/aquarius.c --- z88dk/src/appmake.orig/aquarius.c 2003-03-13 15:50:29.000000000 +0100 +++ z88dk/src/appmake/aquarius.c 2008-03-20 13:29:44.000000000 +0100 @@ -252,5 +252,6 @@ fclose(fpin); fclose(fpout); + return 0; /* make gcc happy */ } diff -Naur z88dk/src/appmake.orig/cpc.c z88dk/src/appmake/cpc.c --- z88dk/src/appmake.orig/cpc.c 2007-06-24 17:32:04.000000000 +0200 +++ z88dk/src/appmake/cpc.c 2008-03-20 13:36:54.000000000 +0100 @@ -18,7 +18,7 @@ static int origin = -1; static int exec = -1; static char help = 0; -static unsigned char parity; +/* unused static unsigned char parity; // make gcc happy */ /* Options that are available for this module */ diff -Naur z88dk/src/appmake.orig/hex.c z88dk/src/appmake/hex.c --- z88dk/src/appmake.orig/hex.c 2003-03-13 15:50:29.000000000 +0100 +++ z88dk/src/appmake/hex.c 2008-03-20 13:24:55.000000000 +0100 @@ -21,11 +21,11 @@ #define RECSIZE 16 static char *binname = NULL; -static char *crtfile = NULL; +/* unused static char *crtfile = NULL; // make gcc happy */ static char *outfile = NULL; static int origin = -1; static char help = 0; -static unsigned char parity; +/* unused static unsigned char parity; // make gcc happy */ /* Options that are available for this module */ diff -Naur z88dk/src/appmake.orig/msx.c z88dk/src/appmake/msx.c --- z88dk/src/appmake.orig/msx.c 2003-03-13 15:50:30.000000000 +0100 +++ z88dk/src/appmake/msx.c 2008-03-20 13:37:55.000000000 +0100 @@ -29,7 +29,7 @@ int msx_exec(char *target) { char filename[FILENAME_MAX+1]; - char name[11]; + /* unused char name[11]; // make gcc happy */ FILE *fpin, *fpout; int c; int i; @@ -87,6 +87,7 @@ fclose(fpin); fclose(fpout); + return 0; /* make gcc happy */ } diff -Naur z88dk/src/appmake.orig/mz.c z88dk/src/appmake/mz.c --- z88dk/src/appmake.orig/mz.c 2003-03-13 15:50:30.000000000 +0100 +++ z88dk/src/appmake/mz.c 2008-03-20 12:26:26.000000000 +0100 @@ -25,7 +25,7 @@ int mz_exec(char *target) { char filename[FILENAME_MAX+1]; - char name[11]; + /* unused char name[11]; // make gcc happy */ FILE *fpin, *fpout; int c; int i; @@ -93,6 +93,7 @@ fclose(fpin); fclose(fpout); + return 0; /* make gcc happy */ } diff -Naur z88dk/src/appmake.orig/newbrain.c z88dk/src/appmake/newbrain.c --- z88dk/src/appmake.orig/newbrain.c 2007-06-04 19:13:14.000000000 +0200 +++ z88dk/src/appmake/newbrain.c 2008-03-20 13:31:56.000000000 +0100 @@ -39,8 +39,8 @@ int i,p,l,b; int len; int lnum; - int blocks; - int blcount; +/* unused int blocks; // make gcc happy */ +/* unused int blcount; // make gcc happy */ unsigned long checksum; @@ -101,7 +101,7 @@ fprintf(fpout,"10 IF TOP>%i THEN RESERVE TOP-%i\n",pos-1,pos-1); fprintf(fpout,"20 FOR i=0TO%i:READa:POKE%i+i,a:NEXT i\n",len-1,pos); fprintf(fpout,"30 CALL%i\n",pos); - fprintf(fpout,"40 END",pos); + fprintf(fpout,"40 END\n"); lnum=100; /* ... M/C ...*/ for (i=0; iline; ++TOTALLINES; if (listing) - getline (); /* get a copy of current source line */ + getline_z88dk (); /* get a copy of current source line */ EOL = OFF; /* reset END OF LINE flag */ GetSym (); debian/z88dk.config0000644000000000000000000000022111761123063011320 0ustar #!/bin/sh set -e . /usr/share/debconf/confmodule db_version 2.0 || true db_input medium z88dk/configure-defaultpackage || true db_go || true debian/copyright0000644000000000000000000000214511761123063011123 0ustar This is a prepackaged version of a Z80 processor assembler and SmallC+ cross compiler. It was Debianised by Krystian Wlosek , and uploaded by Piotr Roszatycki , using files obtained from http://sourceforge.net/project/showfiles.php?group_id=2917 More information about a Z80 processor assembler and SmallC+ cross compiler is available from Changes were made as follows: * Repackage upstream source: - remove CVS directories - remove binary files * Patched sccz80/stmt.c.diff http://sourceforge.net/tracker/index.php?func=detail&aid=1377968&group_id=2917&atid=302917 * Patched Makefile - clean install procedure * Added prefix z88dk- to executable file. * Added alternative links. Copyright and licence notice: Copyright (c) 2000-2008 by Dom Morris and others. All rights reserved. This program is free software; you can redistribute it and/or modify it under The Clarified Artistic License. On any Debian system, you can find the complete text of the Artistic License in the file /usr/share/common-licenses/Artistic debian/z88dk-bin.manpages0000644000000000000000000000004011761123063012413 0ustar debian/tmp/usr/share/man/man1/* debian/z88dk-bin.lintian-overrides0000644000000000000000000000006511761123063014265 0ustar z88dk-bin: binary-without-manpage usr/bin/z88dk-zcpp debian/manpages/0000755000000000000000000000000011761367101010764 5ustar debian/manpages/makemanpages.sh0000644000000000000000000000043311761123063013746 0ustar #!/bin/bash # Krystian W硂sek export LANG=C DOCS="z88dk zcc appmake copt sccz80 z80asm zcpp" EXT="1.txt" MANEXT="1" for i in $DOCS; do if [ -e $i.$EXT ]; then echo "processing $i" txt2man -t $i -s 1 -v "z88 Development Kit" $i.$EXT > $i.$MANEXT fi done debian/manpages/zcc.1.txt0000644000000000000000000001421211761123063012440 0ustar NAME zcc - The frontend of z88dk SYSNOPIS zcc [flags] [files to be compiled/linked] DESCRIPTION This manual page documents briefly the z88dk tools. This manual page was written for the Debian GNU/Linux distribution (but may be used by others), because the original program does not have a manual page. Please refer to the z88dk documentation in /usr/share/doc/z88dk-doc for the complete description of the system. If /usr/share/doc/z88dk-doc not exists, please install the package z88dk-doc. The frontend of z88dk is called zcc, it is this that you should call if you want to do any compilations. The files can be either C files (.c), preprocessed C files(.i), compiled C files (.asm), optimised compiled file (.opt) or assembled files (.obj), any combination of them can be mixed together and the relevant processed done on them. Processing of a file list is done on each file in turn (i.e. preprocess, compile, optimise, assemble) at the end all files may be linked into a single executable if desired. OPTIONS Options to control the action of the frontend: +[file] Name of alternate config file (must be the first argument). Predefined alternate configs: abc80 ABC80 aceansi Jupiter ACE, using VT-ANSI engine cpm CP/M msx MSX 1 mz Sharp MZ mzansi Sharp MZ, using VT-ANSI nc Amstrad NC100 rex REX 6000 sam Sam Coupe svi Spectravideo SVI m5 SORD M5 ti82 Ti82, using ROM text routines ti82ansi Ti82, using VT-ANSI ti83 Ti83, using ROM text routines ti83ansi Ti83, using VT-ANSI ti85 Ti85, using ROM text routines ti85ansi Ti85, using VT-ANSI ti86 Ti86, using ROM text routines ti86ansi Ti86, using VT-ANSI ti8x Ti83+, using ROM text routines [ti8xansi] Ti83+, using VT-ANSI vz VZ / Laser 200 vzansi VZ / Laser 200, using VT-ANSI z88 Cambridge Z88 z88ansi Cambridge Z88, using VT-ANSI z88net Cambridge Z88 with TCP/IP zx ZX Spectrum zx81 ZX 81 zx81ansi ZX 81, using VT-ANSI zxansi ZX Spectrum, using VT-ANSI -a Produce .asm (or .opt) file only -c Do not link object files -E Preprocess files only, leave output in .i file -o [file] Specify output file for binary (default is a.bas for BASIC programs and a.bin for application binaries) -On Optimize compiler output (to .opt file) n can be either 0 (none) 1,2,3, level 2 is recommended. Level 3 is suitable for large programs (includes certain lib functions to reduce size of code(!)) -v Verbose - echo commands as they are executed -vn Don't be verbose Options to control library usage: -l[name] Link in a library - supply just the name (after placing them in the correct directory). The 'name' are: farz88 Z88 far support gfx Z88 BASIC graphics lib gfxapp Z88 application graphics lib m Generic math routines malloc Generic near malloc routine mz OZ's math routines ndos Fake file-routines, return errors only net Z88 socket routines for ZSock netdev Z88 socket routines for devices p3 +3 file support library tigray82 Ti82 graylib routines tigray83 Ti83 graylib routines tigray83p Ti83+ graylib routines tigray85 Ti85 graylib routines tigray86 Ti86 graylib routines z88 Some Z88 application routines, like mailboxing zxmath ZX Spectrum ROM based math routines zxvgs ZXVGS hardware support -m Generate .map files when assembling/linking Options to control the type code produced: -unsigned Implicitly define everything as unsigned unless explicitly told otherwise. -create-app Create an application image (i.e. bank 63,62 etc) -make-app (App) Notify the compiler that you're trying to make an application -reqpag= (App) Number of 256 byte pages required for bad application -zorg= (App) Origin for a Z88 application -safedata= (App) Amount of safedata required by your code -defvars= (App) Where static variables should be dropped (only valid for single file compilations, but see later) -expandz88 (App) Expanded z88 required -no-expandz88 (App) Expanded z88 not required (these two flags toggle some startup code to check for an expanded machine) -startup=3 Produce standalone code that can be run from a set address from BASIC. Use -zorg= to change the address -R (Use with above) produces relocatable code that can be loaded into a DIM'd BASIC array. -smartpf Intelligent printf routine handling -no-smartpf Turn off the intelligent printf handling -make-lib Shortcut to generate .o files from library .c files -stackoffset Sets the stack offset for shared libs (see package.txt for details) Miscellaneous options: -z80-verb Allow z80asm to be verbose, this tends to generate a lot of output to the screen so may not be desired. -cc Intersperse C code as comments in the assembler output, warning: this *will* clobber some optimizations. -Wall Turn on all the compiler warnings -Wnone Turn off all compiler warnings -Wn[num] Turn off the compiler warning [num] -W[num] Turn on the compiler warning [num] -asxx Cause the compiler to emit asxx compatible code -Cp[option] Pass an option through to the pre-processor -Ca[option] Pass an option through to the assembler In addition, the flags, -D, -I, -U are passed through to the preprocessor. SEE ALSO z88dk(1), z88dk-zcc(1), z88dk-z80asm(1), z88dk-appmake(1), z88dk-copt(1). AUTHOR z88dk was written by Dominic Morris , and others. This manual page was written by Krystian Wlosek using exists documentation, for the Debian GNU/Linux system. debian/manpages/z80asm.1.txt0000644000000000000000000000375711761123063013017 0ustar NAME z88dk-z80asm - Z80 assembler compiler. SYSNOPIS z88dk-z80asm [options] [ @ | {} ] DESCRIPTION This manual page documents briefly the z88dk tools. This manual page was written for the Debian GNU/Linux distribution (but may be used by others), because the original program does not have a manual page. z88dk-z80asm is a Z80 assembler cross compiler. Please refer to the z88dk documentation in /usr/share/doc/z88dk-doc/ for the complete description of the system. If /usr/share/doc/z88dk-doc not exists, please install the package z88dk-doc. OPTIONS -h display help -n defines option to be turned OFF (except -r -R -i -x -D -t -o) -v verbose -l listing file -s symbol table, -m map listing file -r Explicit relocation defined in hex (ignore ORG in first module) -plus Interpret 'Invoke' as RST 28h -R Generate relocatable code (Automatical relocation before execution) -D define symbol as logically TRUE (used for conditional assembly) -b assemble files & link to ORG address. -c split code in 16K banks -d date stamp control, assemble only if source file > object file -a: -b & -d (assemble only updated source files, then link & relocate) -o expl. output filename, -g XDEF reloc. addr. from all modules -i include LIB modules with .obj modules during linking -x create library from specified modules ( e.g. with @ ) -t tabulator width for .map, .def, .sym files. Column width is 4 times -t Default options: -nv -nd -nb -nl -s -m -ng -nc -nR -t8 SEE ALSO z88dk(1), z88dk-zcc(1), z88dk-z80asm(1), z88dk-appmake(1), z88dk-copt(1). AUTHOR z88dk was written by Dominic Morris , and others. z80asm was written by Gunther Strube . This manual page was written by Krystian Wlosek using exists documentation, for the Debian GNU/Linux system. debian/manpages/z88dk.10000644000000000000000000000357411761123063012024 0ustar .\"Text automatically generated by txt2man .TH z88dk 1 "01 December 2009" "" "z88 Development Kit" .SH NAME \fBz88dk \fP- The z88 Development Kit. \fB .SH DESCRIPTION The z88 Development Kit (hereafter known as z88dk) is an advanced set of tools allowing the production of complex programs for z80 based computers in either C or assembly language. The name z88dk originates from the time when the project was founded and targetted only the Cambridge z88 portable. .RE .PP The compiler featured in z88dk is much enhanced Small C compiler, the compiler accepts many features of ANSI C and is only deficient in a few areas where implementation on a z80 processor might prove inefficient. The compiler performs simple optimizations, but the bulk of the optimization is done by a set of peep-hole rules, which will typically reduce the size of a large project by up to a third. .RS .PP The libraries supplied with z88dk are designed to be as generic as possible, indeed it is possible to port to a new machine simply by supplying two library routines and some startup code. It is hoped that one day z88dk will support as many z80 based machines as there is information available and sufficient interest in. .PP z88dk contains usable tools: .IP \(bu 3 zcc - the frontend of z88dk is called zcc, it is this that you should call if you want to do any compilations. .IP \(bu 3 z80asm - Z80 assembler compiler .IP \(bu 3 copt - Z80 asm optimizer code .IP \(bu 3 appmake - produce files which are suitable for use in emulators or on the real hardware .IP \(bu 3 sccz80 - Small-C/Plus compiler .SH SEE ALSO \fBz88dk\fP(1), \fBz88dk-zcc\fP(1), \fBz88dk-z80asm\fP(1), \fBz88dk-appmake\fP(1), \fBz88dk-copt\fP(1). .RE .PP .SH AUTHOR z88dk was written by Dominic Morris , and others. This manual page was written by Krystian Wlosek using exists documentation, for the Debian GNU/Linux system. debian/manpages/z88dk.1.txt0000644000000000000000000000331311761123063012631 0ustar NAME z88dk - The z88 Development Kit. DESCRIPTION The z88 Development Kit (hereafter known as z88dk) is an advanced set of tools allowing the production of complex programs for z80 based computers in either C or assembly language. The name z88dk originates from the time when the project was founded and targetted only the Cambridge z88 portable. The compiler featured in z88dk is much enhanced Small C compiler, the compiler accepts many features of ANSI C and is only deficient in a few areas where implementation on a z80 processor might prove inefficient. The compiler performs simple optimizations, but the bulk of the optimization is done by a set of peep-hole rules, which will typically reduce the size of a large project by up to a third. The libraries supplied with z88dk are designed to be as generic as possible, indeed it is possible to port to a new machine simply by supplying two library routines and some startup code. It is hoped that one day z88dk will support as many z80 based machines as there is information available and sufficient interest in. z88dk contains usable tools: o zcc - the frontend of z88dk is called zcc, it is this that you should call if you want to do any compilations. o z80asm - Z80 assembler compiler o copt - Z80 asm optimizer code o appmake - produce files which are suitable for use in emulators or on the real hardware o sccz80 - Small-C/Plus compiler SEE ALSO z88dk(1), z88dk-zcc(1), z88dk-z80asm(1), z88dk-appmake(1), z88dk-copt(1). AUTHOR z88dk was written by Dominic Morris , and others. This manual page was written by Krystian Wlosek using exists documentation, for the Debian GNU/Linux system. debian/manpages/copt.10000644000000000000000000000433511761123063012015 0ustar .\"Text automatically generated by txt2man .TH copt 1 "01 December 2009" "" "z88 Development Kit" .SH NAME \fBcopt \fP- peephole optimizer .SH SYSNOPIS copt file \.\.\. .SH DESCRIPTION copt is a general-purpose peephole optimizer. It reads code from its standard input and writes an improved version to its standard output. copy reads the named files for its optimizations, which are encoded as follows: .PP .nf .fam C \.\.\. = \.\.\. .fam T .fi Pattern matching uses literal string comparison, with one exception: ``%%'' matches the ``%'' character, and ``%'' followed by a digit matches everything up to the next occurrence of the next pattern character, though all occurrences of %\fIn\fP must denote the same string. For example, the pattern ``%1=%1.'' matches exactly those strings that begin with a string X, followed by a ``='' (the first), followed by a second occurrence of X, followed by a period. In this way, the input/output pattern .PP .nf .fam C mov $%1,r%2 mov *r%2,r%2 = mov %1,r%2 .fam T .fi commands copt to replace runs like .PP .nf .fam C mov $_a,r3 mov *r3,r3 .fam T .fi with .PP .nf .fam C mov _a,r3 .fam T .fi Note that a tab or newline can terminate a %\fBn\fP variable. .PP copt compares each run of input patterns with the current input instruction and its predecessors. If no match is found, it advances to the next input instruction and tries again. Otherwise, it replaces the input instructions with the corresponding output patterns, pattern variables instantiated,and resumes its search with the \fIfirst\fP instruction of the replacement. copt matches input patterns in reverse order to cascade optimizations without backing up. .SH BUGS Errors in optimization files are always possible. .SH SEE ALSO \fBz88dk\fP(1), \fBz88dk-zcc\fP(1), \fBz88dk-z80asm\fP(1), \fBz88dk-appmake\fP(1), \fBz88dk-copt\fP(1). .SH AUTHOR z88dk was written by Dominic Morris , and others. debian/manpages/zcc.10000644000000000000000000001476011761123063011632 0ustar .\"Text automatically generated by txt2man .TH zcc 1 "01 December 2009" "" "z88 Development Kit" .SH NAME \fBzcc \fP- The frontend of z88dk .SH SYSNOPIS zcc [flags] [files to be compiled/linked] .SH DESCRIPTION This manual page documents briefly the z88dk tools. This manual page was written for the Debian GNU/Linux distribution (but may be used by others), because the original program does not have a manual page. .RE .PP .RS Please refer to the z88dk documentation in /usr/share/doc/z88dk-doc for the complete description of the system. If /usr/share/doc/z88dk-doc not exists, please install the package z88dk-doc. .PP The frontend of z88dk is called zcc, it is this that you should call if you want to do any compilations. .PP The files can be either C files (.c), preprocessed C \fBfiles\fP(.i), compiled C files (.asm), optimised compiled file (.opt) or assembled files (.obj), any combination of them can be mixed together and the relevant processed done on them. .PP Processing of a file list is done on each file in turn (i.e. preprocess, compile, optimise, assemble) at the end all files may be linked into a single executable if desired. .SH OPTIONS Options to control the action of the frontend: .TP .B +[file] Name of alternate config file (must be the first argument). .PP .nf .fam C Predefined alternate configs: abc80 ABC80 aceansi Jupiter ACE, using VT-ANSI engine cpm CP/M msx MSX 1 mz Sharp MZ mzansi Sharp MZ, using VT-ANSI nc Amstrad NC100 rex REX 6000 sam Sam Coupe svi Spectravideo SVI m5 SORD M5 ti82 Ti82, using ROM text routines ti82ansi Ti82, using VT-ANSI ti83 Ti83, using ROM text routines ti83ansi Ti83, using VT-ANSI ti85 Ti85, using ROM text routines ti85ansi Ti85, using VT-ANSI ti86 Ti86, using ROM text routines ti86ansi Ti86, using VT-ANSI ti8x Ti83+, using ROM text routines [ti8xansi] Ti83+, using VT-ANSI vz VZ / Laser 200 vzansi VZ / Laser 200, using VT-ANSI z88 Cambridge Z88 z88ansi Cambridge Z88, using VT-ANSI z88net Cambridge Z88 with TCP/IP zx ZX Spectrum zx81 ZX 81 zx81ansi ZX 81, using VT-ANSI zxansi ZX Spectrum, using VT-ANSI .fam T .fi .TP .B \fB-a\fP Produce .asm (or .opt) file only .TP .B \fB-c\fP Do not link object files .TP .B \fB-E\fP Preprocess files only, leave output in .i file .TP .B \fB-o\fP [file] Specify output file for binary (default is a.bas for BASIC programs and a.bin for application binaries) .TP .B \fB-On\fP Optimize compiler output (to .opt file) n can be either 0 (none) 1,2,3, level 2 is recommended. Level 3 is suitable for large programs (includes certain lib functions to reduce size of \fBcode\fP(!)) .TP .B \fB-v\fP Verbose - echo commands as they are executed .TP .B \fB-vn\fP Don't be verbose .RE .PP .RS Options to control library usage: .TP .B \fB-l\fP[name] Link in a library - supply just the name (after placing them in the correct directory). .PP .nf .fam C The 'name' are: farz88 Z88 far support gfx Z88 BASIC graphics lib gfxapp Z88 application graphics lib m Generic math routines malloc Generic near malloc routine mz OZ's math routines ndos Fake file-routines, return errors only net Z88 socket routines for ZSock netdev Z88 socket routines for devices p3 +3 file support library tigray82 Ti82 graylib routines tigray83 Ti83 graylib routines tigray83p Ti83+ graylib routines tigray85 Ti85 graylib routines tigray86 Ti86 graylib routines z88 Some Z88 application routines, like mailboxing zxmath ZX Spectrum ROM based math routines zxvgs ZXVGS hardware support .fam T .fi .TP .B \fB-m\fP Generate .map files when assembling/linking .RE .PP .RS Options to control the type code produced: .TP .B \fB-unsigned\fP Implicitly define everything as unsigned unless explicitly told otherwise. .TP .B \fB-create-app\fP Create an application image (i.e. bank 63,62 etc) .TP .B \fB-make-app\fP (App) Notify the compiler that you're trying to make an application .TP .B \fB-reqpag\fP= (App) Number of 256 byte pages required for bad application .TP .B \fB-zorg\fP= (App) Origin for a Z88 application .TP .B \fB-safedata\fP= (App) Amount of safedata required by your code .TP .B \fB-defvars\fP= (App) Where static variables should be dropped (only valid for single file compilations, but see later) .TP .B \fB-expandz88\fP (App) Expanded z88 required \fB-no-expandz88\fP (App) Expanded z88 not required (these two flags toggle some startup code to check for an expanded machine) .TP .B \fB-startup\fP=3 Produce standalone code that can be run from a set address from BASIC. Use \fB-zorg\fP= to change the address .TP .B \fB-R\fP (Use with above) produces relocatable code that can be loaded into a DIM'd BASIC array. .TP .B \fB-smartpf\fP Intelligent printf routine handling .TP .B \fB-no-smartpf\fP Turn off the intelligent printf handling .TP .B \fB-make-lib\fP Shortcut to generate .o files from library .c files .TP .B \fB-stackoffset\fP Sets the stack offset for shared libs (see package.txt for details) .RE .PP .RS Miscellaneous options: .TP .B \fB-z80-verb\fP Allow z80asm to be verbose, this tends to generate a lot of output to the screen so may not be desired. .TP .B \fB-cc\fP Intersperse C code as comments in the assembler output, warning: this *will* clobber some optimizations. .TP .B \fB-Wall\fP Turn on all the compiler warnings .TP .B \fB-Wnone\fP Turn off all compiler warnings .TP .B \fB-Wn\fP[num] Turn off the compiler warning [num] .TP .B \fB-W\fP[num] Turn on the compiler warning [num] .TP .B \fB-asxx\fP Cause the compiler to emit asxx compatible code .TP .B \fB-Cp\fP[option] Pass an option through to the pre-processor .TP .B \fB-Ca\fP[option] Pass an option through to the assembler .PP In addition, the flags, \fB-D\fP, \fB-I\fP, \fB-U\fP are passed through to the preprocessor. .SH SEE ALSO \fBz88dk\fP(1), \fBz88dk-zcc\fP(1), \fBz88dk-z80asm\fP(1), \fBz88dk-appmake\fP(1), \fBz88dk-copt\fP(1). .RE .PP .SH AUTHOR z88dk was written by Dominic Morris , and others. This manual page was written by Krystian Wlosek using exists documentation, for the Debian GNU/Linux system. debian/manpages/copt.1.txt0000644000000000000000000000401511761123063012626 0ustar NAME copt - peephole optimizer SYSNOPIS copt file ... DESCRIPTION copt is a general-purpose peephole optimizer. It reads code from its standard input and writes an improved version to its standard output. copy reads the named files for its optimizations, which are encoded as follows: ... = ... Pattern matching uses literal string comparison, with one exception: ``%%'' matches the ``%'' character, and ``%'' followed by a digit matches everything up to the next occurrence of the next pattern character, though all occurrences of %\fIn\fP must denote the same string. For example, the pattern ``%1=%1.'' matches exactly those strings that begin with a string X, followed by a ``='' (the first), followed by a second occurrence of X, followed by a period. In this way, the input/output pattern mov $%1,r%2 mov *r%2,r%2 = mov %1,r%2 commands copt to replace runs like mov $_a,r3 mov *r3,r3 with mov _a,r3 Note that a tab or newline can terminate a %\fBn\fP variable. copt compares each run of input patterns with the current input instruction and its predecessors. If no match is found, it advances to the next input instruction and tries again. Otherwise, it replaces the input instructions with the corresponding output patterns, pattern variables instantiated,and resumes its search with the \fIfirst\fP instruction of the replacement. copt matches input patterns in reverse order to cascade optimizations without backing up. BUGS Errors in optimization files are always possible. SEE ALSO z88dk(1), z88dk-zcc(1), z88dk-z80asm(1), z88dk-appmake(1), z88dk-copt(1). AUTHOR z88dk was written by Dominic Morris , and others. debian/manpages/appmake.1.txt0000644000000000000000000000720011761123063013276 0ustar NAME appmake - The z88dk application generator SYSNOPIS appmake [+target] [options] DESCRIPIONS This manual page documents briefly the z88dk tools. This manual page was written for the Debian GNU/Linux distribution (but may be used by others), because the original program does not have a manual page. Please refer to the z88dk documentation in /usr/share/doc/z88dk-doc/ for the complete description of the system. If /usr/share/doc/z88dk-doc not exists, please install the package z88dk-doc. This program is used to produce files which are suitable for use in emulators or on the real hardware. OPTIONS Options used in all targets: -h --help Display help -b --binfile [file] Linked binary file -o --output [name] Name of output file +[target] generate file for target machine. Targets with additional options are: abc80 ace Generates a .byt file suitable for loading into emulators acetap Generates a .TAP for the Ace32 emulator aquarius Creates a BASIC loader file and binary stored in variable array format cpc Gegerates file for Amstrad CPC Additional options: -c --crt0file [file] crt0 file used in linking --exec [nnnn] Location address to start execution --org [nnnn] Origin of the binary hex Creates an intel hex record suitable for embedded devices Additional options: --org [nnnn] Origin of the binary msx Adds a file header to enable the program to be loaded using 'bload "file.bin",r mz nas Generates a .NAS file suitable for use by emulators Additional options: --org [nnnn] Origin of the binary rex Additional options: -n --appname [name] Application Name -c --comment [text] Application Comment --nt Don't pad out to 8k addin ti82 Creates a .82p file Additional options: --comment [text] File comment (42 chars) ti83 Creates a .83p file Additional options: --comment [text] File comment (42 chars) ti8x Creates a .8xp file Additional options: --comment [text] File comment (42 chars) ti85 Creates a .85p file Additional options: --comment [text] File comment (42 chars) ti86 Creates a .86p file Additional options: --comment [text] File comment (42 chars) ti86s Creates a .86s file Additional options: --comment [text] File comment (42 chars) svi Creates a .cas file loadable with the SVI emulator z88 Generates .63 and .62 files suitable for burning to EPROM Additional options: -c --crt0file [file] crt0 file used in linking --nt Do not truncate bank 63 z88shell Patches the header to ensure that the program is recognised by the shell Additional options: -c --crt0file [file] crt0 file used in linking zxvgs Creates a zxvgs application file Additional options: -c --crt0file [file] crt0 file used in linking zx Generates a .TAP file complete with BASIC header Additional options: -c --crt0file [file] crt0 file used in linking --org [nnnn] Origin of the binary --blockname [name] Name of the code block in tap file SEE ALSO z88dk(1), z88dk-zcc(1), z88dk-z80asm(1), z88dk-appmake(1), z88dk-copt(1). AUTHOR z88dk was written by Dominic Morris , and others. This manual page was written by Krystian Wlosek using exists documentation, for the Debian GNU/Linux system. debian/manpages/z80asm.10000644000000000000000000000455111761123063012172 0ustar .\"Text automatically generated by txt2man .TH z80asm 1 "01 December 2009" "" "z88 Development Kit" .SH NAME \fBz88dk-z80asm \fP- Z80 assembler compiler. .SH SYSNOPIS z88dk-z80asm [options] [ @ | {} ] .SH DESCRIPTION This manual page documents briefly the z88dk tools. This manual page was written for the Debian GNU/Linux distribution (but may be used by others), because the original program does not have a manual page. .PP z88dk-z80asm is a Z80 assembler cross compiler. .PP Please refer to the z88dk documentation in /usr/share/doc/z88dk-doc/ for the complete description of the system. If /usr/share/doc/z88dk-doc not exists, please install the package z88dk-doc. .SH OPTIONS .TP .B \fB-h\fP display help .TP .B \fB-n\fP defines option to be turned OFF (except \fB-r\fP \fB-R\fP \fB-i\fP \fB-x\fP \fB-D\fP \fB-t\fP \fB-o\fP) .TP .B \fB-v\fP verbose .TP .B \fB-l\fP listing file .TP .B \fB-s\fP symbol table, .TP .B \fB-m\fP map listing file .TP .B \fB-r\fP Explicit relocation defined in hex (ignore ORG in first module) .TP .B \fB-plus\fP Interpret 'Invoke' as RST 28h .TP .B \fB-R\fP Generate relocatable code (Automatical relocation before execution) .TP .B \fB-D\fP define symbol as logically TRUE (used for conditional assembly) .TP .B \fB-b\fP assemble files & link to ORG address. \fB-c\fP split code in 16K banks .TP .B \fB-d\fP date stamp control, assemble only if source file > object file \fB-a\fP: \fB-b\fP & \fB-d\fP (assemble only updated source files, then link & relocate) .TP .B \fB-o\fP expl. output filename, \fB-g\fP XDEF reloc. addr. from all modules .TP .B \fB-i\fP include LIB modules with .obj modules during linking .TP .B \fB-x\fP create library from specified modules ( e.g. with @ ) .TP .B \fB-t\fP tabulator width for .map, .def, .sym files. Column width is 4 times \fB-t\fP .PP Default options: \fB-nv\fP \fB-nd\fP \fB-nb\fP \fB-nl\fP \fB-s\fP \fB-m\fP \fB-ng\fP \fB-nc\fP \fB-nR\fP \fB-t8\fP .SH SEE ALSO \fBz88dk\fP(1), \fBz88dk-zcc\fP(1), \fBz88dk-z80asm\fP(1), \fBz88dk-appmake\fP(1), \fBz88dk-copt\fP(1). .RE .PP .SH AUTHOR z88dk was written by Dominic Morris , and others. z80asm was written by Gunther Strube . This manual page was written by Krystian Wlosek using exists documentation, for the Debian GNU/Linux system. debian/manpages/appmake.10000644000000000000000000000771611761123063012474 0ustar .\"Text automatically generated by txt2man .TH appmake 1 "01 December 2009" "" "z88 Development Kit" .SH NAME \fBappmake \fP- The z88dk application generator .SH SYSNOPIS appmake [+target] [options] .SH DESCRIPIONS This manual page documents briefly the z88dk tools. This manual page was written for the Debian GNU/Linux distribution (but may be used by others), because the original program does not have a manual page. .PP Please refer to the z88dk documentation in /usr/share/doc/z88dk-doc/ for the complete description of the system. If /usr/share/doc/z88dk-doc not exists, please install the package z88dk-doc. .PP This program is used to produce files which are suitable for use in emulators or on the real hardware. .SH OPTIONS Options used in all targets: .TP .B \fB-h\fP \fB--help\fP Display help .TP .B \fB-b\fP \fB--binfile\fP [file] Linked binary file .TP .B \fB-o\fP \fB--output\fP [name] Name of output file .RE .PP .RS .TP .B +[target] generate file for target machine. Targets with additional options are: .RS .TP .B abc80 .TP .B ace Generates a .byt file suitable for loading into emulators .TP .B acetap Generates a .TAP for the Ace32 emulator .TP .B aquarius Creates a BASIC loader file and binary stored in variable array format .TP .B cpc Gegerates file for Amstrad CPC .PP Additional options: .RS .TP .B \fB-c\fP \fB--crt0file\fP [file] crt0 file used in linking .RS .TP .B \fB--exec\fP [nnnn] Location address to start execution .TP .B \fB--org\fP [nnnn] Origin of the binary .RE .RE .TP .B hex Creates an intel hex record suitable for embedded devices .PP Additional options: .RS .TP .B \fB--org\fP [nnnn] Origin of the binary .RE .TP .B msx Adds a file header to enable the program to be loaded using 'bload "file.bin",r .TP .B mz .TP .B nas Generates a .NAS file suitable for use by emulators .PP Additional options: .RS .TP .B \fB--org\fP [nnnn] Origin of the binary .RE .TP .B rex .PP Additional options: .RS .TP .B \fB-n\fP \fB--appname\fP [name] Application Name .TP .B \fB-c\fP \fB--comment\fP [text] Application Comment .RS .TP .B \fB--nt\fP Don't pad out to 8k addin .RE .RE .TP .B ti82 Creates a .82p file .PP Additional options: .RS .TP .B \fB--comment\fP [text] File comment (42 chars) .RE .TP .B ti83 Creates a .83p file .PP Additional options: .RS .TP .B \fB--comment\fP [text] File comment (42 chars) .RE .TP .B ti8x Creates a .8xp file .PP Additional options: .RS .TP .B \fB--comment\fP [text] File comment (42 chars) .RE .TP .B ti85 Creates a .85p file .PP Additional options: .RS .TP .B \fB--comment\fP [text] File comment (42 chars) .RE .TP .B ti86 Creates a .86p file .PP Additional options: .RS .TP .B \fB--comment\fP [text] File comment (42 chars) .RE .TP .B ti86s Creates a .86s file .PP Additional options: .RS .TP .B \fB--comment\fP [text] File comment (42 chars) .RE .TP .B svi Creates a .cas file loadable with the SVI emulator .TP .B z88 Generates .63 and .62 files suitable for burning to EPROM .PP Additional options: .RS .TP .B \fB-c\fP \fB--crt0file\fP [file] crt0 file used in linking .RS .TP .B \fB--nt\fP Do not truncate bank 63 .RE .RE .TP .B z88shell Patches the header to ensure that the program is recognised by the shell .PP Additional options: .RS .TP .B \fB-c\fP \fB--crt0file\fP [file] crt0 file used in linking .RE .TP .B zxvgs Creates a zxvgs application file .PP Additional options: .RS .TP .B \fB-c\fP \fB--crt0file\fP [file] crt0 file used in linking .RE .TP .B zx Generates a .TAP file complete with BASIC header .PP Additional options: .RS .TP .B \fB-c\fP \fB--crt0file\fP [file] crt0 file used in linking .RS .TP .B \fB--org\fP [nnnn] Origin of the binary .TP .B \fB--blockname\fP [name] Name of the code block in tap file .SH SEE ALSO \fBz88dk\fP(1), \fBz88dk-zcc\fP(1), \fBz88dk-z80asm\fP(1), \fBz88dk-appmake\fP(1), \fBz88dk-copt\fP(1). .SH AUTHOR z88dk was written by Dominic Morris , and others. This manual page was written by Krystian Wlosek using exists documentation, for the Debian GNU/Linux system. debian/z88dk.postinst0000644000000000000000000000051711761123063011746 0ustar #!/bin/sh -e #DEBHELPER# set -e . /usr/share/debconf/confmodule db_version 2.0 || true db_get z88dk/configure-defaultpackage || true pack=$RET if [ -e /usr/share/z88dk/lib/config/$pack.cfg ]; then rm -f /usr/share/z88dk/lib/config/zcc.cfg; ln -s /usr/share/z88dk/lib/config/$pack.cfg /usr/share/z88dk/lib/config/zcc.cfg fi debian/z88dk-bin.install0000644000000000000000000000003611761123063012273 0ustar debian/tmp/usr/bin/* /usr/bin debian/changelog0000644000000000000000000001513211761146713011051 0ustar z88dk (1.8.ds1-10) unstable; urgency=low [ Krystian Wlosek ] * fixed bug with incorrect path in cfg files (Closes: #653110) -- Krystian Wlosek Tue, 29 May 2012 12:07:24 +0200 z88dk (1.8.ds1-9) unstable; urgency=low [ Piotr Roszatycki ] * Source package converted to debhelper command sequencer with quilt format. * Added patch for "-Werror=format-security" with new GCC. -- Piotr Roszatycki Thu, 27 Oct 2011 16:08:16 +0200 z88dk (1.8.ds1-8) unstable; urgency=low [ Krystian Wlosek ] * Added Danish defconf translation. (Closes: #625470) Patch by Joe Dalton. * update po/tempates.pot (change email address) -- Krystian Wlosek Tue, 10 May 2011 08:57:14 +0100 z88dk (1.8.ds1-7) unstable; urgency=low [ Krystian Wlosek ] * Apply patch for 64bit architectures. Remove -m32 flag from LDFLAGS. (Closes: #570681) * Added Spanish defconf translation. (Closes: #578350) Patch by Ricardo Fraile. * Add z88dk-data as depend in z88dk-bin package. -- Krystian Wlosek Thu, 22 Apr 2010 15:13:27 +0100 z88dk (1.8.ds1-6) unstable; urgency=high [ Krystian Wlosek ] * Change maintainer email from tygrys@waw.pdi.net to kwlosek@gmail.com * Build-Depends: change freebsd-amd64 to kfreebsd-amd64 (Closes: #537084) Thanks to Petr Salinger * Fixed FTBFS problem with src/z80asm/z80pass.c (Closes: #552886) Added patch debian/patches/05_src_z80asm_z80pass.c.diff Thanks to Lucas Nussbaum * Bump standards version to 3.8.3. No changes needed. -- Krystian Wlosek Tue, 01 Dec 2009 22:41:10 +0100 z88dk (1.8.ds1-5) unstable; urgency=low [ Krystian Wlosek ] * Added Japanese debconf translation. (Closes: #512868) Patch by Hideki Yamane. * Added Russian debconf translation. (Closes: #514508) Patch by Yuri Kozlov. -- Krystian Wlosek Tue, 23 Feb 2009 11:10:17 +0100 z88dk (1.8.ds1-4) unstable; urgency=low * Fixed problem with CPC binaries (Closes: #475605) Added patch debian/patches/02_lib_cpc_crt0.asm.diff -- Krystian Wlosek Thu, 17 Oct 2008 11:45:12 +0200 z88dk (1.8.ds1-3) unstable; urgency=low * Added Swedish debconf translation. (Closes: #500127) Patch by Martin Bagge. * Bump standards version to 3.8.0. Added 'set -e' in config scripts. -- Krystian Wlosek Wed, 15 Oct 2008 14:28:51 +0200 z88dk (1.8.ds1-2) unstable; urgency=low [ Krystian Wlosek ] * Enable 64bit architecture. * Added '-m32' switch to CFLAGS and LDFLAGS for 64bit machines. * Changed Architecture: to `any' in z88dk and z88dk-bin package. * Added gcc-multilib to Build-Depends: for 64bit * Fixed problem with x11.lib - created symlink from include/x11 to include/X11 - improved Makefile for x11.lib patch debian/patches/03_libsrc_graphics_x11_Makefile.diff * Fixed library ozansi.lib - patch debian/patches/03_libsrc_oz_ozinput_Makefile.diff * Changed Copyright notice. * Fixed gcc warnings: - in src/appmake dir - debian/patches/04_src_appmake.diff - in src/zcc/zcc.c - debian/patches/04_src_zcc_zcc.c.diff -- Krystian Wlosek Tue, 25 Mar 2008 11:46:11 +0100 z88dk (1.8.ds1-1) unstable; urgency=low [ Krystian Wlosek ] * New upstream release. * Added missing arch: armel armeb to z88dk. Thanks to Martin Guy. Closes: #469967 -- Krystian Wlosek Mon, 10 Mar 2008 11:01:25 +0100 z88dk (1.7.ds1-2) unstable; urgency=low [ Krystian Wlosek ] * Added Dutch debconf translation. (Closes: #449401) Patch by Bart 'cobaco' Cornelis. * Added missing libraries: malloc.lib, mzx.lib, mzx_tiny.lib z88_math.lib and make propper diff files. Thanks to Josetxu Malanda. -- Krystian Wlosek Wed, 27 Feb 2008 11:56:25 +0100 z88dk (1.7.ds1-1) unstable; urgency=low [ Krystian Wlosek ] * New upstream release. Closes: #438984 * Added missing colon to close bug 435364 [ Piotr Roszatycki ] * Changed section for z88dk-doc package. * Standards-Version: 3.7.3 -- Piotr Roszatycki Mon, 07 Jan 2008 13:35:53 +0100 z88dk (1.6.ds1-7) unstable; urgency=low * Added Portuguese debconf translation. (Closes: #434194) Thanks to Americo Monteiro. * Added armel and armeb to z88dk-bin/Architecture: (Closes: #435364) -- Krystian Wlosek Mon, 27 Aug 2007 12:35:28 +0200 z88dk (1.6.ds1-6) unstable; urgency=low * Added forgotten Replaces: in z88dk-data. Thanks to Mark Robinson (Closes: #423475) -- Krystian Wlosek Tue, 14 May 2007 15:37:20 +0200 z88dk (1.6.ds1-5) unstable; urgency=low * New package z88dk-data with non-arch specific files. * Added hurd and m68k to z88dk-bin/Architecture. * Added German debconf translation. (Closes: #408650) Patch by Helge Kreutzmann . * Changed Architecture for z88dk from 'all' to this same as in z88dk-bin. * Moved files of z88dk-examples to z88dk-doc. -- Krystian Wlosek Tue, 8 May 2007 15:37:20 +0200 z88dk (1.6.ds1-4) unstable; urgency=low * s390 is 32bit archtecture. Closes: #405013, #405264 Thanks to Bastian Blank, Steve Langasek. * arm already added to z88dk-bin/Architecture: Thanks to Steve Langasek. -- Krystian Wlosek Mon, 8 Jan 2007 09:42:21 +0100 z88dk (1.6.ds1-3) unstable; urgency=low * Recompile with new yada without templates problems. * Added missing arm architecture * Added exit in build script when buildd try compile for 64bit architectures: s390,alpha,amd64,ia64,ppc64 (Closes: #395263) * Added Czech debconf translation (Closes: #402985) Thanks to Jakub Kasparec. * conflict with z80asm package. z88dk-bin overwrite manpage in z80asm symlink from z88dk-z80asm.1 to z80asm.1 removed. Thanks to Michael Ablassmeier, (Closes: #404012) -- Krystian Wlosek Thu, 21 Dec 2006 09:24:10 +0100 z88dk (1.6.ds1-2) unstable; urgency=low * Fixed typo and bullet lists in long description. (Closes: #395997) Patch by Guillem Jover. * z88dk-bin depends on libc6. Thanks to Guillem Jover. (Closes: #395998) * Circular dependency fixed. Thanks to Bill Allombert. (Closes: #396213) * Added French debconf translation. (Closes: #397102) Patch by Steve . -- Krystian Wlosek Mon, 13 Nov 2006 14:49:28 +0100 z88dk (1.6.ds1-1) unstable; urgency=low * Initial Debian version. * ITP was done, Closes: #224723 * 64bit architecture are off -- Krystian Wlosek Wed, 26 Sep 2006 12:42:14 +0200 debian/rules0000755000000000000000000000352311761146713010260 0ustar #!/usr/bin/make -f pwd = $(shell pwd) %: dh $@ override_dh_auto_clean: make clean || true rm -rf bin usr debian/tmp debian/usr override_dh_auto_configure: rm -rf bin usr mkdir -p bin usr rm -f include/X11 ln -s x11 include/X11 find examples -type f -exec chmod 644 {} \; find examples -type d -exec chmod 755 {} \; override_dh_auto_build-arch: make -e prefix=/usr override_dh_auto_build-indep: override_dh_auto_build-arch # create symlink PATH=$(pwd)/bin:$(PATH) Z80_OZFILES=$(pwd)/lib/ ZCCCFG=$(pwd)/lib/config/ make -C $(pwd)/libsrc override_dh_auto_install-arch: make -e prefix=$(pwd)/debian/tmp/usr install rm -f debian/tmp/usr/bin/* for i in bin/*; do cp $$i debian/tmp/usr/bin/z88dk-$$(basename $$i); done mkdir -p debian/tmp/usr/share/man/man1 rm -f debian/tmp/usr/share/man/man1/* for i in debian/manpages/*.1; do cp $$i debian/tmp/usr/share/man/man1/z88dk-$$(basename $$i); done rm -f debian/tmp/usr/share/man/man1/z88dk-z88dk.1 override_dh_auto_install-indep: override_dh_auto_install-arch make -C $(pwd)/libsrc install make prefix=/usr DESTDIR=$(pwd)/debian install make -e prefix=$(pwd)/debian/tmp/usr install-libs mv -f debian/tmp/usr/lib/z88dk/lib/clibs/* debian/tmp/usr/share/z88dk/lib/clibs ./config.sh /usr/share/z88dk/ z88 cp -a lib/config/*.cfg debian/tmp/usr/share/z88dk/lib/config/ rm -f debian/tmp/usr/share/z88dk/lib/config/zcc.cfg rm -f debian/tmp/usr/share/z88dk/lib/config/*.lnx for i in debian/tmp/usr/share/z88dk/lib/config/*.cfg; do \ mv $$i $$i.tmp; cat $$i.tmp | \ sed 's/^Z80EXE.*$$/Z80EXE\t\tz88dk-z80asm/g' | sed 's/^CPP.*$$/CPP\t\tz88dk-zcpp/g' | \ sed 's/^LINKER.*$$/LINKER\t\tz88dk-z80asm/g' | sed 's/^COMPILER.*$$/COMPILER\tz88dk-sccz80/g' | \ sed 's/^COPTEXE.*$$/COPTEXE\t\tz88dk-copt/g' | sed 's/^APPMAKER.*$$/APPMAKER\tz88dk-appmake/g' > $$i; \ rm $$i.tmp; \ done debian/po/0000755000000000000000000000000011761367101007607 5ustar debian/po/POTFILES.in0000644000000000000000000000005211761123063011356 0ustar [type: gettext/rfc822deb] z88dk.templates debian/po/pt.po0000644000000000000000000000143511761123063010572 0ustar # translation of z88dk debconf to Portuguese # Copyright (C) 2007 Am茅rico Monteiro # This file is distributed under the same license as the z88dk package. # # Am茅rico Monteiro , 2007. msgid "" msgstr "" "Project-Id-Version: z88dk 1.6.ds1-6\n" "Report-Msgid-Bugs-To: z88dk@packages.debian.org\n" "POT-Creation-Date: 2011-10-20 13:45+0200\n" "PO-Revision-Date: 2007-07-21 22:25+0100\n" "Last-Translator: Am茅rico Monteiro \n" "Language-Team: Portuguese \n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #. Type: select #. Description #: ../z88dk.templates:1001 msgid "Default z88dk target:" msgstr "Alvo z88dk por omiss茫o:" debian/po/es.po0000644000000000000000000000301411761123063010551 0ustar # z88dk po-debconf translation to Spanish # Copyright (C) 2010 Software in the Public Interest # This file is distributed under the same license as the z88dk package. # # Changes: # - Initial translation # Ricardo Fraile , 2010 # # Traductores, si no conocen el formato PO, merece la pena leer la # documentaci贸n de gettext, especialmente las secciones dedicadas a este # formato, por ejemplo ejecutando: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Equipo de traducci贸n al espa帽ol, por favor lean antes de traducir # los siguientes documentos: # # - El proyecto de traducci贸n de Debian al espa帽ol # http://www.debian.org/intl/spanish/ # especialmente las notas y normas de traducci贸n en # http://www.debian.org/intl/spanish/notas # # - La gu铆a de traducci贸n de po's de debconf: # /usr/share/doc/po-debconf/README-trans # o http://www.debian.org/intl/l10n/po-debconf/README-trans # msgid "" msgstr "" "Project-Id-Version: z88dk 1.8.ds1-6\n" "Report-Msgid-Bugs-To: z88dk@packages.debian.org\n" "POT-Creation-Date: 2011-10-20 13:45+0200\n" "PO-Revision-Date: 2010-04-12 17:12+0200\n" "Last-Translator: Ricardo Fraile \n" "Language-Team: Spanish \n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: select #. Description #: ../z88dk.templates:1001 msgid "Default z88dk target:" msgstr "Destino predeterminado de z88dk:" debian/po/ja.po0000644000000000000000000000141711761123063010541 0ustar # Copyright (C) 2008 Krystian Wlosek # This file is distributed under the same license as z88dk package. # Hideki Yamane (Debian-JP) , 2008. # msgid "" msgstr "" "Project-Id-Version: z88dk 1.8ds1-4\n" "Report-Msgid-Bugs-To: z88dk@packages.debian.org\n" "POT-Creation-Date: 2011-10-20 13:45+0200\n" "PO-Revision-Date: 2008-12-28 22:26+0900\n" "Last-Translator: Hideki Yamane (Debian-JP) \n" "Language-Team: Japanese \n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: select #. Description #: ../z88dk.templates:1001 msgid "Default z88dk target:" msgstr "銉囥儠銈┿儷銉堛仹銇 z88dk 銇偪銉笺偛銉冦儓:" debian/po/sv.po0000644000000000000000000000141711761123063010577 0ustar # translation of z88dk.po to swedish # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Martin Bagge , 2008. msgid "" msgstr "" "Project-Id-Version: z88dk\n" "Report-Msgid-Bugs-To: z88dk@packages.debian.org\n" "POT-Creation-Date: 2011-10-20 13:45+0200\n" "PO-Revision-Date: 2008-09-25 12:26+0200\n" "Last-Translator: Martin Bagge \n" "Language-Team: swedish \n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #. Type: select #. Description #: ../z88dk.templates:1001 msgid "Default z88dk target:" msgstr "z88dk standardm氓l:" debian/po/da.po0000644000000000000000000000135511761123063010534 0ustar # Danish translation z88dk. # Copyright (C) 2011 z88dk & nedenst氓ende overs忙ttere. # This file is distributed under the same license as the z88dk package. # Joe Hansen , 2011. # msgid "" msgstr "" "Project-Id-Version: z88dk\n" "Report-Msgid-Bugs-To: z88dk@packages.debian.org\n" "POT-Creation-Date: 2011-10-20 13:45+0200\n" "PO-Revision-Date: 2011-05-03 17:30+01:00\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: select #. Description #: ../z88dk.templates:1001 msgid "Default z88dk target:" msgstr "Standard z88dk-m氓l:" debian/po/nl.po0000644000000000000000000000140011761123063010550 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE 'S COPYRIGHT HOLDER # This file is distributed under the same license as the package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: z88dk\n" "Report-Msgid-Bugs-To: z88dk@packages.debian.org\n" "POT-Creation-Date: 2011-10-20 13:45+0200\n" "PO-Revision-Date: 2007-10-25 18:50+0100\n" "Last-Translator: Bart Cornelis \n" "Language-Team: debian-l10n-dutch \n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Dutch\n" #. Type: select #. Description #: ../z88dk.templates:1001 msgid "Default z88dk target:" msgstr "Standaard z88dk-doel:" debian/po/de.po0000644000000000000000000000135711761123063010542 0ustar # Translation of z88dk debconf templates to German # Copyright (C) Helge Kreutzmann , 2007. # This file is distributed under the same license as the z88dk package. # msgid "" msgstr "" "Project-Id-Version: z88dk 1.6.ds1-4\n" "Report-Msgid-Bugs-To: z88dk@packages.debian.org\n" "POT-Creation-Date: 2011-10-20 13:45+0200\n" "PO-Revision-Date: 2007-01-25 18:54+0100\n" "Last-Translator: Helge Kreutzmann \n" "Language-Team: German \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: select #. Description #: ../z88dk.templates:1001 msgid "Default z88dk target:" msgstr "Standard z88dk-Ziel:" debian/po/ru.po0000644000000000000000000000166011761123063010575 0ustar # translation of ru.po to Russian # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Yuri Kozlov , 2009. msgid "" msgstr "" "Project-Id-Version: z88dk 1.8.ds1-4\n" "Report-Msgid-Bugs-To: z88dk@packages.debian.org\n" "POT-Creation-Date: 2011-10-20 13:45+0200\n" "PO-Revision-Date: 2009-02-08 12:54+0300\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. Type: select #. Description #: ../z88dk.templates:1001 msgid "Default z88dk target:" msgstr "笑械谢褜 锌芯 褍屑芯谢褔邪薪懈褞 写谢褟 z88dk:" debian/po/pl.po0000644000000000000000000000117411761123063010562 0ustar # z88dk # Copyright (C) 2006 # This file is distributed under the same license as the z88dk package. # Krystian Wlosek , 2006. # msgid "" msgstr "" "Project-Id-Version: z88dk\n" "Report-Msgid-Bugs-To: z88dk@packages.debian.org\n" "POT-Creation-Date: 2011-10-20 13:45+0200\n" "PO-Revision-Date: 2006-04-25 15:51+1\n" "Last-Translator: Krystian Wlosek \n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: select #. Description #: ../z88dk.templates:1001 msgid "Default z88dk target:" msgstr "Domy艣lny cel dla z88dk:" debian/po/cs.po0000644000000000000000000000133211761123063010550 0ustar # z88dk # Copyright (C) 2006 # This file is distributed under the same license as the 2006 package. # # Jakub Kasparec , 2006. msgid "" msgstr "" "Project-Id-Version: z88dk\n" "Report-Msgid-Bugs-To: z88dk@packages.debian.org\n" "POT-Creation-Date: 2011-10-20 13:45+0200\n" "PO-Revision-Date: 2006-12-07 00:31+0100\n" "Last-Translator: Jakub Kasparec \n" "Language-Team: czech \n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #. Type: select #. Description #: ../z88dk.templates:1001 msgid "Default z88dk target:" msgstr "Standardn铆 c铆l bal铆ku z88dk:" debian/po/templates.pot0000644000000000000000000000130211761123063012322 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: z88dk@packages.debian.org\n" "POT-Creation-Date: 2011-10-20 13:45+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. Type: select #. Description #: ../z88dk.templates:1001 msgid "Default z88dk target:" msgstr "" debian/po/fr.po0000644000000000000000000000133411761123063010554 0ustar # z88dk # Copyright (C) 2006 # This file is distributed under the same license as the z88dk package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: z88dk\n" "Report-Msgid-Bugs-To: z88dk@packages.debian.org\n" "POT-Creation-Date: 2011-10-20 13:45+0200\n" "PO-Revision-Date: 2006-10-29 12:38+0100\n" "Last-Translator: Steve Petruzzello \n" "Language-Team: french \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: select #. Description #: ../z88dk.templates:1001 msgid "Default z88dk target:" msgstr "Veuillez choisir la cible par d茅faut du compilateur z88dk聽:" debian/z88dk-bin.links0000644000000000000000000000051411761123063011746 0ustar usr/share/z88dk usr/lib/z88dk usr/share/man/man1/z88dk-appmake.1 usr/share/man/man1/appmake.1 usr/share/man/man1/z88dk-copt.1 usr/share/man/man1/copt.1 usr/share/man/man1/z88dk-zcc.1 usr/share/man/man1/zcc.1 usr/share/man/man1/z88dk-zcc.1 usr/share/man/man1/sccz80.1 usr/share/man/man1/z88dk-zcc.1 usr/share/man/man1/z88dk-sccz80.1 debian/z88dk.docs0000644000000000000000000000002511761123063011005 0ustar debian/README.source debian/z88dk-doc.examples0000644000000000000000000000001311761123063012433 0ustar examples/* debian/z88dk-data.manpages0000644000000000000000000000003011761123063012553 0ustar debian/manpages/z88dk.1 debian/README.source0000644000000000000000000000033611761123063011347 0ustar * Repackage upstream source: Version 1.8: - remove binary files - remove CVS directories Version 1.7: - remove binary files - remove bin/ directory Version 1.6: - remove CVS directories - remove binary files debian/z88dk-bin.postinst0000644000000000000000000000074311761123063012515 0ustar #!/bin/sh -e #DEBHELPER# set -e update-alternatives --install /usr/bin/zcc zcc /usr/bin/z88dk-zcc 20 update-alternatives --install /usr/bin/appmake appmake /usr/bin/z88dk-appmake 20 update-alternatives --install /usr/bin/copt copt /usr/bin/z88dk-copt 20 update-alternatives --install /usr/bin/sccz80 sccz80 /usr/bin/z88dk-sccz80 20 update-alternatives --install /usr/bin/z80asm z80asm /usr/bin/z88dk-z80asm 20 update-alternatives --install /usr/bin/zcpp zcpp /usr/bin/z88dk-zcpp 20 debian/compat0000644000000000000000000000000211761123063010364 0ustar 9 debian/control0000644000000000000000000000474611761123063010604 0ustar Source: z88dk Maintainer: Krystian Wlosek Uploaders: Piotr Roszatycki Section: devel Priority: extra Standards-Version: 3.9.2 Build-Depends: po-debconf, debhelper (>= 8.9.7) Homepage: http://www.z88dk.org/ Vcs-Browser: http://bazaar.launchpad.net/~z88dk-team/z88dk-pkg/sid/files Vcs-Bzr: lp:z88dk-pkg Package: z88dk-bin Architecture: any Depends: z88dk-data (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends} Description: executable files for z88dk z88dk is a Z80 processor cross compiler producing binaries for over 25 different z80 based machines. This package contains binary files. Package: z88dk-doc Architecture: all Section: doc Depends: ${misc:Depends} Provides: z88dk-examples Conflicts: z88dk-examples Replaces: z88dk-examples Description: documentation and examples for z88dk This is documentation for z88dk compilers. Also example programs with sources are available. See the z88dk package for more details. Package: z88dk-data Architecture: all Depends: ${misc:Depends} Replaces: z88dk Description: data files for z88dk This package contains any data files needed by z88dk tools. Package: z88dk Architecture: any Depends: z88dk-bin (>= ${source:Version}), z88dk-bin (<< ${source:Version}.1~), z88dk-data (= ${source:Version}), ${misc:Depends} Suggests: z88dk-doc, z88dk-examples Description: Z80 processor assembler and SmallC+ cross compiler z88dk is a SmallC+ and Z80 assemler cross compiler supplied with an assembler/linker and a set of libraries implementing the C standard library for a number of different z80 based machines. The name z88dk originates from the time when the project was founded and supported only the Cambridge z88 portable. . Supported machines: Cambridge Computers z88, Sinclair ZX Spectrum, Sinclair ZX81, CP/M based machines, Amstrad NC100, VZ200/300, Sharp MZ series, TI calculators (TI82, TI83, TI83+, TI85, TI86), ABC80, Jupiter Ace, Xircom REX 6000, Peters Sprinter, Sam Coupe, MSX1, Spectravideo, Mattel Aquarius, Peters Sprinter, and C128 (in z80 mode) machines. . Features: * Small C+ based compiler with structs, floats and other ANSI extensions * Module assembler/linker which only includes required library routines * Peephole optimizer with rulesets that reduce the size of generated code by ~30% and improve speed * Easily retargetted C library including stdio routines * Retargettable VT100 terminal * Support for over a 25 z80 based machines (see below for details) debian/z88dk-data.install0000644000000000000000000000003311761123063012431 0ustar debian/tmp/usr/share/z88dk debian/clean0000644000000000000000000000012211761123063010166 0ustar src/config.h libsrc/debug/zcc_opt.def libsrc/graphics/x11/zcc_opt.def include/X11 debian/z88dk.postrm0000644000000000000000000000010411761123063011377 0ustar #!/bin/sh -e #DEBHELPER# rm -f /usr/share/z88dk/lib/config/zcc.cfg debian/source/0000755000000000000000000000000011761367101010471 5ustar debian/source/lintian-overrides0000644000000000000000000000006211761123063014045 0ustar package-needs-versioned-debhelper-build-depends 9 debian/source/format0000644000000000000000000000001411761123063011674 0ustar 3.0 (quilt) debian/z88dk-bin.prerm0000644000000000000000000000055611761123063011761 0ustar #!/bin/sh #DEBHELPER# set -e update-alternatives --remove zcc /usr/bin/z88dk-zcc update-alternatives --remove appmake /usr/bin/z88dk-appmake update-alternatives --remove copt /usr/bin/z88dk-copt update-alternatives --remove sccz80 /usr/bin/z88dk-sccz80 update-alternatives --remove z80asm /usr/bin/z88dk-z80asm update-alternatives --remove zcpp /usr/bin/z88dk-zcpp debian/z88dk.templates0000644000000000000000000000074711761123063012066 0ustar Template: z88dk/configure-defaultpackage Type: select Choices: abc800, abc80, aceansi, aquansi, aquarius, c128ansi, cpcansi, cpc, cpm, embedded, m5, msx, mzansi, mz, nasansi, nascom, nc, newbrain, ozansi, ppsansi, pps, rcmx000, rex, rexlib, samansi, sam, sms, svi, test, ti82ansi, ti82, ti83ansi, ti83, ti85ansi, ti85, ti86ansi, ti86, ti8xansi, ti8x, ts2068ansi, ts2068, vzansi, vz, z88ansi, z88, z88net, zcc, zx81ansi, zx81, zxansi, zx Default: z88 _Description: Default z88dk target: