Closed ecm-pushbx closed 2 years ago
Actually it was quite trivial
ajb@polly:/clients/common/fdos/share.git$ git diff
diff --git a/share.c b/share.c
index bae0d02..1c1e28e 100644
--- a/share.c
+++ b/share.c
@@ -935,13 +935,13 @@ int displaystatus(uint16_t mpx) {
int main(int argc, char **argv) {
unsigned short far *usfptr;
unsigned short top_of_tsr;
- status_struct s;
- uint8_t far * share_installed = NULL;
- uint8_t priorflag = 0;
uint16_t rc;
uint16_t mpx;
int installed = 0;
#if defined(__GNUC__)
+ status_struct s;
+ uint8_t far * share_installed = NULL;
+ uint8_t priorflag = 0;
int uninstallrequested = 0, statusrequested = 0, onlyoptions = 0;
int enablerequested = 0, disablerequested = 0;
#endif
Made my last commit ("disabled" typo, AMIS version number documentation, push/pop ds in asm_enable) and the fix for Turbo C into fixups to the enable/disable commit. Thanks for testing!
It seems the turbo-c compilation is broken by these changes