Hello,

there seems to be an error in this commit, see below.

On at 2018-01-25 16:16 +0000, bartoldeman--- via Freedos-cvs wrote:
> Revision: 1781
>           http://sourceforge.net/p/freedos/svn/1781
> Author:   bartoldeman
> Date:     2018-01-25 16:16:21 +0000 (Thu, 25 Jan 2018)
> Log Message:
> -----------
> Port xms-swap support to ia16-elf-gcc.


> Modified: freecom/trunk/include/cswap.h
> ===================================================================
> --- freecom/trunk/include/cswap.h     2018-01-23 11:59:03 UTC (rev 1780)
> +++ freecom/trunk/include/cswap.h     2018-01-25 16:16:21 UTC (rev 1781)
> @@ -20,6 +20,19 @@
>       };
>  #include "algndflt.h"
>  
> +#ifdef __GNUC__
> +extern char dosFCB1[128] asm("_dosFCB1");
> +extern char dosFCB2[128] asm("_dosFCB2");
> +
> +extern struct ParamDosExec dosParamDosExec asm("_dosParamDosExec");
> +
> +#define dosFCB1 RESIDENT(dosFCB1)
> +#define dosFCB2 RESIDENT(dosFCB1)

----------------------------------^  should be (dosFCB2)

> +#define dosParamDosExec RESIDENT(dosParamDosExec)
> +
> +extern unsigned char dosCMDNAME[128] asm("_dosCMDNAME");
> +#define dosCMDNAME RESIDENT(dosCMDNAME)
> +#else
>  extern char far dosFCB1[128];                        /* must be setup 
> correctly */
>  extern char far dosFCB2[128];                
> 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to