From f427adea07a78e4818e5319ef55f57a064a85f3f Mon Sep 17 00:00:00 2001 From: Robert Pengelly Date: Tue, 24 Sep 2024 17:13:22 +0100 Subject: [PATCH] Bug fixes --- build/chimaera.img | Bin 368640 -> 368640 bytes build/chimaera.vhd | Bin 34120704 -> 34120704 bytes src/apps/pcomm/path.asm | 41 ++++++++++++++++++++++++++++----------- src/apps/pcomm/pcomm.asm | 14 +++++++++++-- src/apps/pcomm/set.asm | 12 ++++++++++++ src/utils/dosfstools | 2 +- 6 files changed, 55 insertions(+), 14 deletions(-) diff --git a/build/chimaera.img b/build/chimaera.img index 9b3333651981917c98afc409319888163e74865a..ee9474368ea5f199e8b0423eb99ae0ca9b36962e 100644 GIT binary patch delta 4338 zcmb7H3s6&68b0@iB!GZPm6w!|_z2`8*F;nv4H~MV)(3&K;bE1vooTmQY#k)Boo!1x zSZc&!tY^BlU0h4iae#4)25m5{Nkq|V(<*I6i`uod_N38POGSJv?0;^E_~<^GndF}P zpU40D&i{Y0x?`;Fn2pIH<6mEE+?D!WSapLfvm~|@lCrpSGij2E-L72;opB=T~bCA<4czp4;-bcjV7~o7P3s>-|Oc>a@*N; z2fV6wc6YY$`=nRp+`|!14%vhJD;!E>w4F1P$;^EG=EWGSaZO6Fv)m;+dE5Emu5SrpGg{OpCCDku`eX+sH&B=3%otY4r9- zY7T}34|nFl*@?K(J)J4SJ?<>Vh~=JT%rE#wPfpkkJ@_3;a%bVQSJk-JGm%-m>A)g+ zRW>yuh8iJvT0+UQ_GJg&Vi`Z~JE&q7;pjuk(cjOwOUJETLC1 zCR?71lYUU*m@YjVm5Wz-^kLDNg1%+hf<9N*MCLhsq06kXO$UW*M7~`JbgmZpnvoMl zk=4`5vje^@sOHt%Y{h6QSz&+ruvnD0i{tBJc5qq8D@49`k*?c7bHdjt>|A}XuAhHI zvV&V4SJ1(t>*q@(wobmWiK}<3>!i~9Q@VcT<;o)M1^&G@{Ews0KW^tNkoPG4oxCqi zl6FcICcbeOr|Zr-UM2D!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zUJ^zcjeo~5x^*e^2GBTdDH!LL6#01%oR?eZ-^B%vyd=5aL*9L;HwFJ{RVANr<83j` zbMS55o7b{n4%_7+45aQ!XH~p#FNM+m;^#VD9{2Om<+YG4O7pcZTZ8$lh|1nR+K;Ll()cpN+dwg3q{37!H^gTH`hz*g`q zcn&-d8o)NN9qa%vfWLwl!Asy}&;`*43upyxU@vfh zH^EzAA7}?1U_W>pbb@!lyWjvg2o8bwz+rF%ybrp-QSbry5PSr>!N=ee@G1BV90SL} z=im#_15SXG;1u{0{2hD+z6SpQr@=SipWs^{11C5GdO;sJ3%gCD>-@GsC0&Vzr0 z3*bj^5&Q%$fdOzC{0y#utF$)q`?6jCZ_E-8&PkCaZzAZ3!W zNb^a*BP}2;BrPJ{KvI^%LPt5IT#}V^BPoxRPbwf4l8Q*hq{XBqq?<@3q*BsS(lXM` zq+3Y8C*4ZAjdVNd4$_^ZKalPs-A!6fx`%Wx=|0jQNh?VAlWe3i(n?Y}X%%TT=})8w zNNY%INe_}LNR_0ANDq^$NRN=#ksc+jCsmW|q#9B!X#;5^sgAUXR8M-0^k>p$(&MBj zNLxq}=}FR4q^C)LAw5IdN_v*`9O-#d18Ey+J81{$1=3$hFOps&y-aE({f+brX(#Db z(rct9((9x*NV`bQq}`-Fq!v;usg1OkLk5GdY5#7bdYq2 z^d9Lj=?Lk4QWxnc=>yV-q>o75q>o9TkUk}SMmk11PWqhm1*wO0f^?E}iu5Jv@1(Ct zUz7epI!*e9^iR^aB$?zSogwv-`bcL<-;us2{XjZL`WLC6be{BY(go6wq>H4VNS8XZjXGu`MHTW(vLl( Z7tMT0pf+jA+|0nNans7x_+RuD{y%!e`WyfN diff --git a/src/apps/pcomm/path.asm b/src/apps/pcomm/path.asm index ff43d04..f540a52 100644 --- a/src/apps/pcomm/path.asm +++ b/src/apps/pcomm/path.asm @@ -54,6 +54,18 @@ _handler_path.find: mov es, cx mov ds, ax + push es + push di + + mov di, offset _temp + xor al, al + + mov cx, 255 + rep stosb + + pop di + pop es + xor ax, ax push ax @@ -95,12 +107,14 @@ _handler_path.find: _handler_path.print: - pop ax + pop si pop es - mov ds, ax - + mov es, si xor bx, bx + + mov ax, es:[bx] + mov ds, ax call _writestr mov al, '=' @@ -112,24 +126,17 @@ _handler_path.print: jz _handler_path.no_value mov ds, ax - - xor bx, bx call _writestr _handler_path.no_value: - pop ds - pop es - add di, 2 - mov al, HEX (0D) call _writechr mov al, HEX (0A) call _writechr - dec cx - jz _handler_path.done + jmp _handler_path.done _handler_path.copy: @@ -197,6 +204,18 @@ _handler_path.find2: mov es, cx mov ds, ax + push es + push di + + mov di, offset _temp + xor al, al + + mov cx, 255 + rep stosb + + pop di + pop es + xor ax, ax push ax diff --git a/src/apps/pcomm/pcomm.asm b/src/apps/pcomm/pcomm.asm index 8a41be4..9a59251 100644 --- a/src/apps/pcomm/pcomm.asm +++ b/src/apps/pcomm/pcomm.asm @@ -1558,8 +1558,6 @@ _get_env: push di push es - xor ax, ax - mov si, cs:[_vec_env] mov cx, cs:[_vec_env + 4] @@ -1588,6 +1586,18 @@ _get_env: mov es, cx mov ds, ax + push es + push di + + mov di, offset _temp + xor al, al + + mov cx, 255 + rep stosb + + pop di + pop es + xor ax, ax push ax diff --git a/src/apps/pcomm/set.asm b/src/apps/pcomm/set.asm index 2c19553..ff64a39 100644 --- a/src/apps/pcomm/set.asm +++ b/src/apps/pcomm/set.asm @@ -167,6 +167,18 @@ _handler_set.find: mov es, cx mov ds, ax + push es + push di + + mov di, offset _temp + xor al, al + + mov cx, 255 + rep stosb + + pop di + pop es + xor ax, ax push ax diff --git a/src/utils/dosfstools b/src/utils/dosfstools index 2b218a0..fa2dcb9 160000 --- a/src/utils/dosfstools +++ b/src/utils/dosfstools @@ -1 +1 @@ -Subproject commit 2b218a0bd719edc90f0e6168b8c55c909ee67703 +Subproject commit fa2dcb9d35aed13af6c0c90fe794465ed4f02eeb -- 2.34.1