From ceeb56353468d5912e654f4cb4b2d1f84bb8f7c6 Mon Sep 17 00:00:00 2001 From: Robert Pengelly Date: Fri, 2 Aug 2024 08:04:41 +0100 Subject: [PATCH] Bug fix --- build/chimaera.img | Bin 368640 -> 368640 bytes build/chimaera.vhd | Bin 34120704 -> 34120704 bytes src/apps/pcomm/cbreak.asm | 13 ++++++++++++- src/apps/pcomm/history.asm | 4 ++-- src/apps/pcomm/pcomm.asm | 13 ++++++++++++- 5 files changed, 26 insertions(+), 4 deletions(-) diff --git a/build/chimaera.img b/build/chimaera.img index f8cac9ef2c837c8b4d163e57b9c2c2a6778598ce..b02386d1b16436c8ed65d88b01c5ee59dfad7d54 100644 GIT binary patch delta 2511 zcmaJ?4Nw&48UFT%JD_l!$L+x(Irc*RO|!Xe$A79A6l@J}+&aL4BdxZ{bW$e`97j8o z5e$iC)d0F}#-C_G5W^t|-Z36r2Tm@LYUXC_wPSBWs?)|!zU$Rgi;Wl&`tHIRwM}*zVCgX_rJk!Xz&|am(Y$ae=Hh!?$d<&eYvEav?C<{k@CD)T)d5)d$e=>*gmQ3 z=i4@Kerc1973>20xZYVqSzDdpPNOMTMby!?Wv z?4?l+$nBucv!g#FoNj;X7*Q`A{9Utu)Ty)FDl4)0Cp+y`T>CkO>u@t%`ygZXJCdz9 zn%?*U$@{sEK?c8|sVrAdT_KTGC~eq)YO}evDTdzYA)Cg6W)FFOt@7O-H2W?v__;JZ zh@wCAvdAi4FU4+pzZ^5D8dnmwGxy-r6pjZ;)@obLy8l&N#h#^VAL^< zQ)IPPoWxfRxB^90zO6L=P}(Hb5f7!`O2&nsGNAGKpt<2eVvPz&OVDh&*%anO__B0c zT2*+T0fk(LHo?>kOixD8oF!wXe7Xby?@0rzMzw13x_EK2)8cpev}zd=4^X{{YAcSD zZ^y7dpC)~N*zj^NFFMIJuGgpuXWV%HG>H!6f0@gzQ)$$7Sz`W|TlmlriSGSH45+yF zM0K-&@d33srp7O#=ryign_$Hs7(lDdG~9r|@nHp0g?!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)^6EX@!Jy1^+gnFT16oNug zZxn{YQ3NuhNEC(oAnvCx>WBKHi;xAyAS<$=i%~4P1jV5N=u$Kg4MKy_W$1D=1S#kW z6ps?nmFOyTHM#~3MZ?gwXgInKjX)#Of6(=46dH}jpc_yk8jHrEB$SM9L^q+E(Refg zO+=GW3bLbAl!hE=GMa+Y(NvUyGSM`Yg{Grh&%K#%0+qT0kjZ3h#o=@qesxAXc2l0<)Z@hIC=sVq9@T)=xMYV zEkRCHgo@Ep^b9IN&!Xqh^Jp1bj$S}3(2Gb#FQHQOGI|A-p;ysL^cs2{m7@x@3RR-j zXbpM;twnF5D)bgwht{LF(L1Oby^A)Wji?4~LhqqkREIXBEy#u5M<1Yi)PNe%R9w$$bLh>YeiabpglO@DSibye8N}eGl&SZYHhG6s zlXuAmvXRt~P2@dNOX|pGvW2+F`{V;sPZ~%g*-Ew%H`z`;Bs)kG`G_==kI5(GQ{o|? zk?J>vpU6J)GucmC$pLbZ{6aM1C5MQQ z{7Tx$VRD50Mt&zpNjo`4j*}DQ4|0;6B7c(8q=TFxo#d>9$Da-h644PoF^~Xa)HUGo zr#uLx@mhZ@4G255bV9i9lE}D)v4ckq3z|CCG9Ld8vrhUifekmV diff --git a/src/apps/pcomm/cbreak.asm b/src/apps/pcomm/cbreak.asm index 85ecd7d..e09ff3a 100644 --- a/src/apps/pcomm/cbreak.asm +++ b/src/apps/pcomm/cbreak.asm @@ -12,10 +12,11 @@ global _cbreak_handler _cbreak_handler: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - ;; Preserve the extra segment and the ax register. + ;; Preserve registers. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; push es push ax + push bx ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Make sure the extra segment is the same as the code segment. @@ -72,10 +73,20 @@ _cbreak_handler: .L1: + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;; Reset the console to the prompt state. + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; call _prompt + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;; Restore registers. + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + pop bx pop ax pop es + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;; Clear the carry flag and return. + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; clc retf 2 diff --git a/src/apps/pcomm/history.asm b/src/apps/pcomm/history.asm index 0b9b695..2184d85 100644 --- a/src/apps/pcomm/history.asm +++ b/src/apps/pcomm/history.asm @@ -195,7 +195,7 @@ _history_up: push ax push dx - call _malloc + call _xmalloc add sp, 4 mov bx, ax @@ -263,7 +263,7 @@ _history_up: jz .L5 xor ah, ah - mov al, [_curr_col] + mov al, cs:[_curr_col] push cx push dx diff --git a/src/apps/pcomm/pcomm.asm b/src/apps/pcomm/pcomm.asm index e4e3669..703de21 100644 --- a/src/apps/pcomm/pcomm.asm +++ b/src/apps/pcomm/pcomm.asm @@ -45,6 +45,15 @@ _main: mov cs:[_history_idx], ax mov di, offset _scratch + + push di + push cx + + xor al, al + rep stosb + + pop cx + pop di .L11: @@ -744,8 +753,8 @@ _main: mov bx, offset _app_path call _writestr - call _crlf + jmp .L5 .L1: @@ -1086,6 +1095,7 @@ global _prompt _prompt: push ax + push bx push cx push dx push si @@ -1160,6 +1170,7 @@ _prompt: pop si pop dx pop cx + pop bx pop ax ret -- 2.34.1