From 909fc89a302c28acc2c188e3602b202a0b661cb8 Mon Sep 17 00:00:00 2001 From: Robert Pengelly Date: Thu, 1 Aug 2024 05:28:38 +0100 Subject: [PATCH] Added error messages --- build/chimaera.img | Bin 368640 -> 368640 bytes build/chimaera.vhd | Bin 34120704 -> 34120704 bytes src/apps/pcomm/Makefile.unix | 2 +- src/apps/pcomm/Makefile.w32 | 2 +- src/apps/pcomm/cd.asm | 151 +++++++++++++++++++++++++++++++++++ src/apps/pcomm/pcomm.asm | 95 +++++++++------------- src/apps/pcomm/type.asm | 59 +++++++++++++- 7 files changed, 247 insertions(+), 62 deletions(-) create mode 100644 src/apps/pcomm/cd.asm diff --git a/build/chimaera.img b/build/chimaera.img index a1adb6ecdae438887f5080a8dfec7d39a758eaeb..fbf278fafeef33232f3f63e70847825ca00be465 100644 GIT binary patch delta 2489 zcmaJ?4^R_l7XS87HiRY^Si-;3un|Rj+HJPgUZM1Wf+$!eWE}*tcvPXoje$-`^zP=S z$xZZ*6^G&2o9Q2WHwLuUjLx8>V=yz2x>l_-nPccp&pSGLJ(;;LO~JX+Q&C9n+l|3L z(`#ln`}V!}z3=zl_ulVwhqBzEto~Kx^t$!4XV%=*xP&!W6V?QP{07SJwYs`(OyZ|c z=#zF_u~%C+YwTeM+2Ba$+ zCpSRf%SXJ!Z|Vke(zZN`EU`1oKETB=PasPmPa;EJPuPi(3j8>MqSiecl~9)b|EQ1W zTUovFiF`@Wjp7awXPNQ0@jaT6Px~)nu35c#W_!IkGneY=3 zZ4EHMB3y5P^9IjF5=Ep1>5>{$qUDYhcNw$4q;h+7&i{(=UD(vU-g6gss)Ai)G|h9D zKvD}CC7Xk85*B45#eM^_+x5a6%+7>6K$HsBkWic1(%dLHy1E!!Yv-?+R{L8{TU)22 zTbC*py;~xV4y?d!w0L76C!ePg#OJ~$_x;pv3W?^h$voY2jhlqUv`C9Dxyoq-ksXSs z82gacpBFY2$XOCWOvA&AnWzloaZ0!@d^&f`9P$O@l$->Ik_*gJ7U;}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