Here is patch v0.003a. Apply it against v0.002. If you don't have a patch tool, it's small enough to apply by hand. 003a In PCBSETUP / FIDO Configuration / System Address, you may enter a range of conference numbers for each node (AKA) line, and then the AKA binds to those conferences. All conferences not covered by a range specifier must use the first AKA by default. But the default failed, and the FIDO MSGID line was missing its required AKA address. Fixed. diff -Nru /pcbsrcv/002/main/source/fido/pcbtoss.cpp main/source/fido/pcbtoss.cpp --- main/source/fido/pcbtoss.cpp 2012-05-22 17:49:50 +0000 +++ main/source/fido/pcbtoss.cpp 2012-05-29 15:25:16 +0000 @@ -334,8 +334,10 @@ if(area.AreaTag[0] == '\x0') return; - org = origins.getRec(area.OriginIndex); + if(area.AkaIndex == 0 || area.AkaIndex > akas.totRecs()) area.AkaIndex = 1; addr = akas.getRec(area.AkaIndex); + if(area.OriginIndex == 0 || area.OriginIndex > origins.totRecs()) area.OriginIndex = 1; + org = origins.getRec(area.OriginIndex); maxstrcpy(thisarea.Area_Name,area.AreaTag,sizeof(thisarea.Area_Name)); maxstrcpy(thisarea.origin,org.origin,sizeof(thisarea.origin));Hey, how are you doing?
Hey, how are you doing?
I found why some pcboard files, like dostime.c give a gp fault error
when compile on a modern os. it's the call: #pragma inline
I comennted them out
could you make us a pplc make file that works?
On Sat, 5 Jan 2013 14:06:39 -0800 (PST), VinylDoctor <vinyldoctorlv@gmail.com> wrote: >Hey, how are you doing? Still kicking. > I found why some pcboard files, like dostime.c give a gp fault error > when compile on a modern os. it's the call: #pragma inline Yes that tickles a bcc bug that shows up in NTVDM. > I comennted them out Yes that's a work around. > could you make us a pplc make file that works? If you have big $$$ :-D Seriously though, I have not even looked at it. But if you figured out the #pragma problem, you could probably do it yourself. See: Borland_C++_Version_3.1_Tools_and_Utilities_1992.pdf and study the section on the make utility. You can download the .pdf from bitsavers.been hacking since I last chatted.
been hacking since I last chatted.
fixing one error at a time like you said.
wont link. cant find llibce.lib
I looked everywhere, codebase, pcbkit, everywhere.
I think clark got me on another missing modual.
On Thu, 21 Feb 2013 14:18:14 -0800 (PST), VinylDoctor <vinyldoctorlv@gmail.com> wrote: >been hacking since I last chatted. >fixing one error at a time like you said. >wont link. cant find llibce.lib >I looked everywhere, codebase, pcbkit, everywhere. >I think clark got me on another missing modual. You need pcbkit_l.lib. I put that in a separate directory and never used it, so it's not in the zip archive I posted. You should have it though. Have you looked at pplc.mak in main\153\? Using grep, I can't find any mention of llibce.lib. I can't see why you need it.realized I was trying to used the wrong pcbkit_l.lib fixed that. now I get Error: Undefined symbol _MAIN in module SOURCE\ASM\C0.ASM
realized I was trying to used the wrong pcbkit_l.lib fixed that. now I get Error: Undefined symbol _MAIN in module SOURCE\ASM\C0.ASM
On Sunday, February 24, 2013 3:20:02 PM UTC-5, Efudd wrote: ... I appear to have finally built a working PPLC.EXE. I test compiled a random PPS that I found on the internet and that was successful. I'll try to package it all up into a makefile and post a link to it soon. -ethanks. what was causing the error?
thanks. what was causing the error?
On Sunday, February 24, 2013 9:14:01 PM UTC-5, VinylDoctor wrote: ...snip... > thanks. what was causing the error? Lots. I'm using the following layout: \PCBS\B\C31\.. \PCBS\PCBSRC\LIB\... \PCBS\PCBSRC\MAIN\... In main, create a file pplc.bat with the contents from here: http://pastebin.com/BNn1ZZuX In MAIN\153, create a file called PPLC.MAK with contents from here: http://pastebin.com/7Uu0u8c2 Edit MAIN\SOURCE\PPL\SCRMISC.CPP and add the following immediately after the first "#ifdef LIB" (in other words, inside that ifdef): --snip-- #if defined(__LARGE__) || defined (__COMPACT__) statustype far Status; #else statustype Status; #endof --snip-- I believe that is the only modification to the source I made. Once there, run \PCBS\DOBC31.BAT in a command window.. and then run pplc.bat That should create a working pplc.exe in MAIN\OBJ\PPL Let me know if if this works or doesn't... I may have missed a couple of other changes. I could diff it all, but I'm being lazy at the moment. Good luck! -eok, if I do that I get this:
On Sunday, February 24, 2013 9:14:01 PM UTC-5, VinylDoctor wrote: ...snip... > thanks. what was causing the error? Lots. I'm using the following layout: \PCBS\B\C31\.. \PCBS\PCBSRC\LIB\... \PCBS\PCBSRC\MAIN\... In main, create a file pplc.bat with the contents from here: http://pastebin.com/BNn1ZZuX In MAIN\153, create a file called PPLC.MAK with contents from here: http://pastebin.com/7Uu0u8c2 Edit MAIN\SOURCE\PPL\SCRMISC.CPP and add the following immediately after the first "#ifdef LIB" (in other words, inside that ifdef): --snip-- #if defined(__LARGE__) || defined (__COMPACT__) statustype far Status; #else statustype Status; #endof --snip-- I believe that is the only modification to the source I made. Once there, run \PCBS\DOBC31.BAT in a command window.. and then run pplc.bat That should create a working pplc.exe in MAIN\OBJ\PPL Let me know if if this works or doesn't... I may have missed a couple of other changes. I could diff it all, but I'm being lazy at the moment. Good luck! -ehmm, can you put up that file for download? maybe I have it in the wrong place. the scrmisc.cpp
On Sunday, February 24, 2013 7:20:47 PM UTC-8, Efudd wrote:
On Sunday, February 24, 2013 9:14:01 PM UTC-5, VinylDoctor wrote: ...snip... > thanks. what was causing the error? Lots. I'm using the following layout: \PCBS\B\C31\.. \PCBS\PCBSRC\LIB\... \PCBS\PCBSRC\MAIN\... In main, create a file pplc.bat with the contents from here: http://pastebin.com/BNn1ZZuX In MAIN\153, create a file called PPLC.MAK with contents from here: http://pastebin.com/7Uu0u8c2 Edit MAIN\SOURCE\PPL\SCRMISC.CPP and add the following immediately after the first "#ifdef LIB" (in other words, inside that ifdef): --snip-- #if defined(__LARGE__) || defined (__COMPACT__) statustype far Status; #else statustype Status; #endof --snip-- I believe that is the only modification to the source I made. Once there, run \PCBS\DOBC31.BAT in a command window.. and then run pplc.bat That should create a working pplc.exe in MAIN\OBJ\PPL Let me know if if this works or doesn't... I may have missed a couple of other changes. I could diff it all, but I'm being lazy at the moment. Good luck! -e
ok, if I do that I get this:spell #endif correctly.
Error scrmisc.cpp 639:
Unexpected end of file in conditional started on line 50
I put that code right after the first ifdeflib like you said.
On Monday, February 25, 2013 12:28:09 AM UTC-5, VinylDoctor wrote: > On Sunday, February 24, 2013 7:20:47 PM UTC-8, Efudd wrote: > > > On Sunday, February 24, 2013 9:14:01 PM UTC-5, VinylDoctor wrote: ...snip... > thanks. what was causing the error? Lots. I'm using the following layout: \PCBS\B\C31\.. \PCBS\PCBSRC\LIB\... \PCBS\PCBSRC\MAIN\... In main, create a file pplc.bat with the contents from here: http://pastebin.com/BNn1ZZuX In MAIN\153, create a file called PPLC.MAK with contents from here: http://pastebin.com/7Uu0u8c2 Edit MAIN\SOURCE\PPL\SCRMISC.CPP and add the following immediately after the first "#ifdef LIB" (in other words, inside that ifdef): --snip-- #if defined(__LARGE__) || defined (__COMPACT__) statustype far Status; #else statustype Status; #endof --snip-- I believe that is the only modification to the source I made. Once there, run \PCBS\DOBC31.BAT in a command window.. and then run pplc.bat That should create a working pplc.exe in MAIN\OBJ\PPL Let me know if if this works or doesn't... I may have missed a couple of other changes. I could diff it all, but I'm being lazy at the moment. Good luck! -e > > > > ok, if I do that I get this: > > Error scrmisc.cpp 639: > > Unexpected end of file in conditional started on line 50 > > I put that code right after the first ifdeflib like you said. spell #endif correctly. I re-typed it in my response, didn't do a cut and paste. :)hmm, fixed it. nope, same error.
On Sunday, February 24, 2013 9:14:01 PM UTC-5, VinylDoctor wrote:
...snip...
thanks. what was causing the error?
Lots.
I'm using the following layout:
\PCBS\B\C31\..
\PCBS\PCBSRC\LIB\...
\PCBS\PCBSRC\MAIN\...
In main, create a file pplc.bat with the contents from here: http://pastebin.com/BNn1ZZuX
In MAIN\153, create a file called PPLC.MAK with contents from here: http://pastebin.com/7Uu0u8c2
Edit MAIN\SOURCE\PPL\SCRMISC.CPP and add the following immediately after
the first "#ifdef LIB" (in other words, inside that ifdef):
--snip--
#if defined(__LARGE__) || defined (__COMPACT__)
statustype far Status;
#else
statustype Status;
#endof
--snip--
I believe that is the only modification to the source I made.
Once there, run \PCBS\DOBC31.BAT in a command window.. and then run pplc.bat
That should create a working pplc.exe in MAIN\OBJ\PPL
Let me know if if this works or doesn't... I may have missed a couple of other changes.
I could diff it all, but I'm being lazy at the moment.
On Sun, 24 Feb 2013 19:20:47 -0800 (PST), Efudd <jasonbrent@gmail.com> wrote: >On Sunday, February 24, 2013 9:14:01 PM UTC-5, VinylDoctor wrote: >...snip... >> thanks. what was causing the error? > >Lots. > >I'm using the following layout: > >\PCBS\B\C31\.. >\PCBS\PCBSRC\LIB\... >\PCBS\PCBSRC\MAIN\... > >In main, create a file pplc.bat with the contents from here: http://pastebin.com/BNn1ZZuX > >In MAIN\153, create a file called PPLC.MAK with contents from here: http://pastebin.com/7Uu0u8c2 > >Edit MAIN\SOURCE\PPL\SCRMISC.CPP and add the following immediately after >the first "#ifdef LIB" (in other words, inside that ifdef): > >--snip-- >#if defined(__LARGE__) || defined (__COMPACT__) >statustype far Status; >#else >statustype Status; >#endof >--snip-- > >I believe that is the only modification to the source I made. > >Once there, run \PCBS\DOBC31.BAT in a command window.. and then run pplc.bat > >That should create a working pplc.exe in MAIN\OBJ\PPL > >Let me know if if this works or doesn't... I may have missed a couple of other changes. >I could diff it all, but I'm being lazy at the moment. I don't have time to help with pplc.exe, but I'm willing to apply a diff and produce a new v0.004 source archive to replace v0.002. I suppose it should include the pcbkit library and whatever else is needed for making pplc.exe. Project feedback and/or ideas welcome.welp, ok, but can you use the build layout trifle setup? thats what I use and hate to have to start over.
I don't have time to help with pplc.exe, but I'm willing to apply a diff
and produce a new v0.004 source archive to replace v0.002. I suppose it
should include the pcbkit library and whatever else is needed for making
pplc.exe.
Project feedback and/or ideas welcome.
VinylDoctor, to the best of my awareness, the only difference between my >build layout and Trifle's is that I put "B" and "PCBSRC" under a subdirectory
On Monday, February 25, 2013 3:55:31 PM UTC-5, Trifle Menot wrote: ...snip... > > > I don't have time to help with pplc.exe, but I'm willing to apply a diff > > and produce a new v0.004 source archive to replace v0.002. I suppose it > > should include the pcbkit library and whatever else is needed for making > > pplc.exe. > > > > Project feedback and/or ideas welcome. I'll post or pastebin a diff from v0.002 soon. VinylDoctor, to the best of my awareness, the only difference between my build layout and Trifle's is that I put "B" and "PCBSRC" under a subdirectory "PCBS". Ain't that hard to type "mkdir PCBS" "move B PCBS" and "move PCBSRC PCBS". anyway... pplc.exe is buildable. I was unable to reuse/relink the library components built with the base PCBoard build for some reason. It could be that (and trifle, I believe you made those makefiles?) they are simply not being built with all of the subcomponents.... I started rebuilding with more subcomponents, but still ended up with linking failures against those libraries (missing symbols despite them being public symbols in those libraries). What I ended up doing, as you can see from the makefile, is manually piecing together all of the unique code pieces from the library that were necessary to build pplc.exe. I then combined those into "pcbkit_l.lib". I'm not sure what pcbkit was originally.. I don't have that in any of the sources I've seen so far. -ecrap. now I have to setup a speical system setup just to compile pplc.exe. I think I can see why no one whats to use the pcboard code. it will drive you bald.
I was unable to reuse/relink the library components built with the base >PCBoard build for some reason. It could be that (and trifle, I believe you >made those makefiles?) they are simply not being built with all of the >subcomponents.... I started rebuilding with more subcomponents, but still ended
up with linking failures against those libraries (missing symbols despite >them being public symbols in those libraries).
What I ended up doing, as you can see from the makefile, is manually piecing >together all of the unique code pieces from the library that were necessary >to build pplc.exe. I then combined those into "pcbkit_l.lib". I'm not sure >what pcbkit was originally.. I don't have that in any of the sources I've >seen so far.
crap. now I have to setup a speical system setup just to compile pplc.exe.
\di.bat
Sets up initial path. Modify as appropriate locally.
\dobc31.bat
Calls di.bat. Sets compiler path. Clears environment variables
which may have been set by some other compiler, such as MSVC.
Modify di and dobc31 as needed to use a common parent subdirectory, and
you should be good to go.
Let me know if that does not work. Maybe I missed something.
If you don't mind, I'd like to grab that PCBXDOT directory via some means.
At a minimum, just for completeness on my part, and it would allow me to
dump the public functions in that library.
All the build paths should be relative.
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 991 |
Nodes: | 10 (0 / 10) |
Uptime: | 119:56:56 |
Calls: | 12,958 |
Files: | 186,574 |
Messages: | 3,265,641 |