Hi,

On Mon, Jun 15, 2026 at 1:06 PM Ralf Quint via Freedos-user
<[email protected]> wrote:
>
> On 6/15/2026 10:35 AM, Thomas Desi via Freedos-user wrote:
>
> If the 127 (128) character restriction in DOS can be changed to higher values 
> in 4DOS, DOG or any other Doses?
>
> IN the DOS source code it seems to be just a value set in the COMBUF 
> allocation:
>
> No, it does NOT work. As that limit of 127 bytes is fixed due to the size of 
> the Program Segment Prefix, which is a 256 byte structure defined by (MS)DOS 
> and FreeDOS has for compatibility reasons to follow that structure layout to 
> the letter. You can't just change that number in FreeCOM and expect no bad 
> things to happen by overwriting adjacent memory locations and/or DOS 
> functions that deal with the PSP to cut everything off after those 127 bytes.

You don't really *need* more than 127 bytes. A lot of utilities (e.g.
DJGPP or JWlink) accept response files anyways.


_______________________________________________
Freedos-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to