Hello, On Thu, 25 Apr 2024 at 20:40, Eric Auer via Freedos-user < freedos-user@lists.sourceforge.net> wrote:
> LH DISPLAY CON=(EGA,,1) > rem or maybe for example DISPLAY CON=(EGA,858,1) or similar? > I am afraid that this is NOT correct, as the second entry refers to the "hardware" default codepage. So far, I have not seen any machine whose BIOS or graphic card has other than 437. The correct thing to issue when loading DISPLAY would be, in most cases: DISPLAY CON=(EGA,437,1) You can also set the second parameter to null. So what is the use of the sentence above? For the case where you do CHCP 437 or worse: MODE CON CP SEL=437 DISPLAY would resort to default BIOS ("hardware") codepage, with no need to load ("PREPARE") 437 from a codepage file. If you hadn't done CON=(EGA,437,1), but CON=(EGA,,1), AND you hadn't PREPARE 437, then CHCP or CP SEL 437 would exit as error. So finally, will the following cause any trouble? DISPLAY CON=(EGA,858,1) It can cause trouble. Because for CHCP / CP SEL=858 DISPLAY will assume that your BIOS is 858, and thus use default BIOS codepage, which is in your case most probably 437. Aitor
_______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user