Hallo Herr saito yutaka, am Sonntag, 5. Dezember 2021 um 13:22 schrieben Sie:
> Hello. > I get a error when memory model is unchange. > Compile fixstrs.c is failed.[1] fixstrs.c is compiled using STRINGS.MAK, and references FIXSTRS_MMODEL. good luck. Tom > [1] > https://github.com/FDOS/freecom/blob/master/strings/fixstrs.c#L162 > Thanks. > 2021年12月5日(日) 20:26 TK Chia <u1049321...@caramail.com>: > Good day saito yutaka, >> I modified config.mak as follow. >> Other settings are same as config.std[1]. >> >> --- >> ## Memory model of FreeCOM >> !if $(DEBUG)0 == 10 >> SHELL_MMODEL=l >> DEBUG=-DDEBUG >> !else >> SHELL_MMODEL=l >> DEBUG=-UDEBUG -DNDEBUG >> !endif >> SHELL_MMODEL_COMP=$(SHELL_MMODEL) > Unfortunately, in general, you cannot simply change a MS-DOS program's > memory model from "medium" to "large" willy-nilly --- especially when > the program contains assembly language (.asm) modules. That simply does > not work. The compiled output binary will not behave correctly. > Microsoft's blog has a bit of an explanation on what the various 16-bit > memory models (tiny, small, medium, compact, large, huge) mean: > https://devblogs.microsoft.com/oldnewthing/20200728-00/?p=104012 > Hope the above helps. > Thank you! > -- > https://gitlab.com/tkchia :: https://github.com/tkchia > _______________________________________________ > Freedos-user mailing list > Freedos-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-user Mit freundlichen Grüßen / with kind regards Tom Ehlert +49-15151898538 _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user