Page 2 of 3

Re: NABU PAC-MAN Source Code discussion thread

Posted: Sun May 28, 2023 2:36 pm
by labomb
So I've tweaked the pac-man source to the point where everything assembles and plink is down to a single undefined symbol. The symbol is NA2DEF and is referenced in LOGO.MAC. I'm guessing that the definition is likely in NA2LOGO.REL, which is included in the plink LPAC file, and further guessing that there may be some issue with that specific binary included with the source.

I know that the source for NA2LOGO is not available, but I'm curious if there may be another copy of the binary from some other disk/image? Or is there another approach that I should consider to resolve the missing definition?

Re: NABU PAC-MAN Source Code discussion thread

Posted: Sun May 28, 2023 10:29 pm
by DJ Sures
I’ll have to check the files for my Pac-Man build I did in the video where the map didn’t render correctly. I recall there was a file
I had trouble locating - think I found it in the 2049er source folder or something. After I already successfully unsuccessfully built Pac-Man I decided no more haha. I’ll post what I have when I’m in front of my pc this evening

Re: NABU PAC-MAN Source Code discussion thread

Posted: Sun May 28, 2023 11:35 pm
by LeoBinkowski
I haven't found the source to it either, but it still might be found on any disk containing source in the pile I have OR on the hard drive.

Re: NABU PAC-MAN Source Code discussion thread

Posted: Mon May 29, 2023 12:00 am
by DJ Sures
I have it. I’ll post it when I’m in front of the computer tonight
IMG_2516.png

Re: NABU PAC-MAN Source Code discussion thread

Posted: Mon May 29, 2023 12:31 am
by labomb
DJ Sures wrote: Mon May 29, 2023 12:00 am I have it. I’ll post it when I’m in front of the computer tonight
Awesome... thanks DJ!

Re: NABU PAC-MAN Source Code discussion thread

Posted: Mon May 29, 2023 1:07 am
by DJ Sures

Re: NABU PAC-MAN Source Code discussion thread

Posted: Mon May 29, 2023 1:10 am
by DJ Sures
Oh wait - i read your question incorrectly. You're not looking for NA2LOGO. You're looking for NA2DEF. I don't have that. But I also didn't have an issue building without that file - I don't think i saw a reference for it either.

Re: NABU PAC-MAN Source Code discussion thread

Posted: Mon May 29, 2023 2:17 am
by labomb
NA2DEF is the undefined symbol error that I'm getting (it's referenced in the LOGO.MAC source file). My guess was that it was defined in NA2LOGO.REL, which is included with Leo's github repository, but apparently plink doesn't find the definition in that file. There is no source for NA2LOGO, so I'm not completely sure that's where the definition is... but a grep of the source tree doesn't show any other reference to NA2DEF other than LOGO.MAC.

I'll take a look at your source and see if I can figure something out, but I would think that you would have seen the same error as well. Weird. Also, the pacmenu.mac source is in your repository, but not in Leo's, although it is in his doall.sub. I removed it to get as far as I did. Guessing I should I add it back.

Re: NABU PAC-MAN Source Code discussion thread

Posted: Mon May 29, 2023 9:20 pm
by LeoBinkowski
I do have pacmenu. Added it to my repo. however, it's wrong. it's old. It was pacmenu as it was before. PACMENU was a lib, there was a SUBMIT for it:

LIB
<PACMENU=
<MAIN,OPEN,ENDSCR,ANIMATE,PACLOGO,ENGLISH,SETUP,REVERSE/E
PLINK @LPAC.LNK

Re: NABU PAC-MAN Source Code discussion thread

Posted: Tue May 30, 2023 3:56 am
by DJ Sures
With the code base I assembled you can build my messy game. Just need to find out why the map isn’t rendering correctly. The logic worked. The menu worked. Shouldn’t take much effort thanks to Leo’s sources i assembled