Re: [Freedos-devel] CLS reimplementation (Re: VERIFY reimplementation)

2022-09-14 Thread Guti
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Remitente:    Steve Nickolas Destinatario: "Bitácora de Javier Gutiérrez Chamorro (Gu\\" <"Bitácora de Javier Gutiérrez Chamorro (Gu\\"> Fecha:        miércoles, 14 de septiembre de 2022, 14:42:02 Asunto:      

Re: [Freedos-devel] CLS reimplementation (Re: VERIFY reimplementation)

2022-09-14 Thread Steve Nickolas
On Wed, 14 Sep 2022, Bitácora de Javier Gutiérrez Chamorro (Guti) wrote: Dear Jim,   There is no practical purpose on my mind, just the challenge of rapidly and efficiently convert it. As you said, both CLS and VERIFY are internal commands. What surprised me about your ANSI fallback is that

Re: [Freedos-devel] CLS reimplementation (Re: VERIFY reimplementation)

2022-09-14 Thread Guti
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Remitente:    Jim Hall Destinatario: Technical discussion and questions for FreeDOS developers. Fecha:        miércoles, 14 de septiembre de 2022, 14:00:14 Asunto:       [Freedos-devel] CLS reimplementation (Re:

Re: [Freedos-devel] CLS reimplementation (Re: VERIFY reimplementation)

2022-09-14 Thread Jim Hall
On Wed, Sep 14, 2022 at 6:24 AM Javier Gutiérrez Chamorro wrote: > > And now it is the turn of CLS (sorry Jim ;-) It reproduces the same > CLS.C behaviour, including the redirection detection, but instead of > a 9,080 bytes CLS.EXE it creates a 380 bytes CLS.COM. > > What I did not like about the

[Freedos-devel] CLS reimplementation (Re: VERIFY reimplementation)

2022-09-14 Thread Javier Gutiérrez Chamorro
And now it is the turn of CLS (sorry Jim ;-) It reproduces the same CLS.C behaviour, including the redirection detection, but instead of a 9,080 bytes CLS.EXE it creates a 380 bytes CLS.COM. What I did not like about the original C implementation was the use of the non-portable clrscr() which is

[Freedos-devel] VERIFY reimplementation

2022-09-14 Thread Javier Gutiérrez Chamorro
I am not sure if it could be useful for anyone, but I have just reimplemented VERIFY.COM by Peter Mikalajunas -1995- ( https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/verify/) in pure assembler. It is not a big deal, but was a personal challenge. With this main .COM executable gets