SvarDOS / edrdos

Enhanced DR-DOS kernel and command interpreter ported to JWasm and OpenWatcom C
http://svardos.org/
Other
40 stars 4 forks source link

Init environment too large? #92

Closed ecm-pushbx closed 2 months ago

ecm-pushbx commented 3 months ago

In this commit: https://github.com/SvarDOS/edrdos/commit/f9bad8d85fb7a56d6062eb978f963022fd51863c#diff-52bbf87db189a4af9f24037eb12b3b9563a54bfc343b81073ad25c86fbf9f5dcL4043

You state:

                    ; >>> end of range copied to seg 60
                    ;     may not exceed 256 bytes

However, I am counting 251 + 2 + 1 + 2 + 1 bytes, which is 257 bytes.

boeckmann commented 3 months ago

fixed. Sometimes it helps if one can count.

ecm-pushbx commented 3 months ago

As you know, the two great problems in program logic work are naming things, cache invalidation, and off-by-one errors =)

boeckmann commented 3 months ago

We shall leave this open to amuse the people who drive by...