+mizapf Posted August 13 Share Posted August 13 For what it's worth, you may be the first one to actually trip over the maximum open file count. 🎉🙌 2 Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515507 Share on other sites More sharing options...
Gary from OPA Posted August 14 Share Posted August 14 (edited) 1 hour ago, mizapf said: For what it's worth, you may be the first one to actually trip over the maximum open file count. 🎉🙌 Old BBS programs that used ext. Basic would need to do a call files(6) or higher. Of course the higher numbers reduces amount of free vdp ram. But not all devices use that, tipi and horizon doesn't matter number of open files. Edited August 14 by Gary from OPA 1 Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515540 Share on other sites More sharing options...
Cheung Posted August 14 Author Share Posted August 14 (edited) On 8/12/2024 at 6:58 PM, Tursi said: As for the speedup at level 9... that is a bit weird. I can't see anything in a cursory examination of the program, but just from listening to it, it sort of sounds the same speed as after you get a power pill? (Am I imagining that? Or maybe there's a bug in that check?) Looks like JS99er does the same thing on level 9, would be interesting to see if hardware does it also. Have an updated release with your suggestions coming up. Edited August 14 by Cheung Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515592 Share on other sites More sharing options...
Cheung Posted August 14 Author Share Posted August 14 (edited) All, I updated the binaries to only open 3 files at a time and made the changes that @Tursi suggested WRT control keys. I also added a Joystick option that must be set in the CONFIGURE menu. I tested it on Classic99 and JS99er and did what I could to get the Key and Joystick optimized for JS99er (Classic99 doesn't seem to be as finicky WRT controls). I also was able to finally reach level 9 on JS99er (with some extra lives added) and learned that it has the same performance boost starting on level 9. Anyone running on real metal and can reach level 9, please let us know if this is also the case for a physical machine. YOU WILL NEED TO PLACE THE PMRES.DSK FILE IN ONE OF THE MACHINE'S DISK DRIVES TO PLAY THE GAME. OPTIONALLY,YOU CAN RUN THE 2 PMINSTALL PROGRAMS, IN ORDER, WHICH WILL CREATE THE RESOURCE FILE ON THE DRIVE YOU SELECT. Also, for those using real TIs, let me know how long it takes to load at the start and in between levels, if you will. a rough estimate is fine, I just want to gauge if the wait is unbearable. If anyone knows how I can add the updated files to this original/first post in the thread, please let me know, thanks. PACMAN++.bin PMINSTALL.bin PMRES.dsk Edited August 14 by Cheung 4 1 Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515617 Share on other sites More sharing options...
+OLD CS1 Posted August 14 Share Posted August 14 1 hour ago, Cheung said: If anyone knows how I can add the updated files to this original/first post in the thread, please let me know, thanks. You have to be a subscriber or the thread has to be in the development subforum. 2 Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515645 Share on other sites More sharing options...
JohnCG Posted August 14 Share Posted August 14 Just tried your new Pacman. The first screen worked fine. The second screen had a glitch. The over sized dot could not be harvested. 20240814_093812.mp4 Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515800 Share on other sites More sharing options...
JohnCG Posted August 14 Share Posted August 14 Sorry. I'm running on a TI console with a CF7+. Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515803 Share on other sites More sharing options...
Cheung Posted August 14 Author Share Posted August 14 (edited) Not sure what that's about. Does this always happen? What's a CF7? Edited August 14 by Cheung Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515834 Share on other sites More sharing options...
Cheung Posted August 14 Author Share Posted August 14 (edited) 1 hour ago, JohnCG said: Sorry. I'm running on a TI console with a CF7+. I also see that it's not displaying the levels on the right side display. Not sure what could be causing this, I can try updating again to not use disk # above 3 as someone has said that's not permitted for compiled programs. Did you run the PMINSTALL programs or just use the provided resource file? Do all the intro screens work properly (Configure, Instructions, Score's, Splash)? I'm assuming this problem always occurs? Edited August 14 by Cheung Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515846 Share on other sites More sharing options...
OX. Posted August 14 Share Posted August 14 Is there a way to wrap the game up in a single cart or disk image? Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515873 Share on other sites More sharing options...
Cheung Posted August 14 Author Share Posted August 14 (edited) 17 minutes ago, OX. said: Is there a way to wrap the game up in a single cart or disk image? I tried to put the PMINSTALL programs and game on a single cartridge image but the utility I was using won't allow more than 4 banks to be used. I *could* include the game object file in the DSK and that would allow you to load it from the same DSK image Edited August 14 by Cheung 1 Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515885 Share on other sites More sharing options...
+mizapf Posted August 14 Share Posted August 14 This is how the start screen looks in MAME. Also, the power pills look somewhat disturbed; initially they are round, but once they blink, they change between empty and some undefined shape. Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515891 Share on other sites More sharing options...
Cheung Posted August 14 Author Share Posted August 14 (edited) 3 minutes ago, mizapf said: This is how the start screen looks in MAME. Also, the power pills look somewhat disturbed; initially they are round, but once they blink, they change between empty and some undefined shape. Weird. I'll try updating to use only up to #3 for the open files. If that's not corrupting the data somehow, I don't know what else it could be. Does this have 32K expansion? Did you try running it on real hardware yet? Edited August 14 by Cheung Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515892 Share on other sites More sharing options...
JohnCG Posted August 14 Share Posted August 14 Hello. I just tried it again using my PEB. The numbers in the maze blocks Pacman but the ghosts can pass through. I used the install files. 20240814_120410.mp4 1 Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515897 Share on other sites More sharing options...
JohnCG Posted August 14 Share Posted August 14 I also tried it with my CF7. Same problem different location. 20240814_121146.mp4 Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515898 Share on other sites More sharing options...
Cheung Posted August 14 Author Share Posted August 14 8 minutes ago, JohnCG said: Hello. I just tried it again using my PEB. The numbers in the maze blocks Pacman but the ghosts can pass through. I used the install files. Yeah it makes sense that Pacman is blocked but the ghosts pass through since Pacman's movement checks what character is in front of it but the ghosts just run on routes. But the problem is those extra characters on the screen. I'm updating the program (again) to use file numbers of #3 and less and I did find one issue in the XB where there's a missing space between INPUT and the # in INPUT#3:A$ which compiles fine and seems to run fine on everything else but you never know if this somehow screwed things up. Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515902 Share on other sites More sharing options...
HOME AUTOMATION Posted August 14 Share Posted August 14 (edited) Will there be TRICKS! Edited August 14 by HOME AUTOMATION 2 Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515907 Share on other sites More sharing options...
+mizapf Posted August 14 Share Posted August 14 59 minutes ago, Cheung said: Weird. I'll try updating to use only up to #3 for the open files. If that's not corrupting the data somehow, I don't know what else it could be. Does this have 32K expansion? Did you try running it on real hardware yet? I don't have a real TI-99/4A to test, just a Geneve. However, I noticed that the problem again relates to the choice of the disk controller. With the DDCC-1 (which I also have as real hardware), I do not see a "LOADING..." text, and the result is already broken in CPU memory after loading. With the HFDC, the BwG, or the Corcomp, the output is OK. Again, interesting, since the controllers should behave the same on the DSR level. 1 Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515915 Share on other sites More sharing options...
Cheung Posted August 14 Author Share Posted August 14 50 minutes ago, mizapf said: However, I noticed that the problem again relates to the choice of the disk controller. With the DDCC-1 (which I also have as real hardware), I do not see a "LOADING..." text, and the result is already broken in CPU memory after loading. I've updated the code to not use file # above 3 and recompiled all three executables. I also updated the RMRES.dsk file to include the compiled object file as well as the PM-X and PM-E files. PACMAN++.bin PMINSTALL.bin PMRES.dsk 2 Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515940 Share on other sites More sharing options...
Cheung Posted August 14 Author Share Posted August 14 1 hour ago, HOME AUTOMATION said: Will there be TRICKS! No trickses,hobitses. There is a "rest" spot on Maze 1 where the ghosts do not go. Let me know if you find it. 1 2 Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515950 Share on other sites More sharing options...
Cheung Posted August 14 Author Share Posted August 14 (edited) 5 hours ago, JohnCG said: Just tried your new Pacman. The first screen worked fine. The second screen had a glitch. The over sized dot could not be harvested. Updated files can be found here: https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#comment-5515940 Let me know how long it takes to load in the beginning between mazes. A video of it would be much appreciated. Edited August 14 by Cheung Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515953 Share on other sites More sharing options...
Cheung Posted August 14 Author Share Posted August 14 2 hours ago, OX. said: Is there a way to wrap the game up in a single cart or disk image? Updated DSK file can be found here: https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#comment-5515940 2 Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515954 Share on other sites More sharing options...
+mizapf Posted August 14 Share Posted August 14 57 minutes ago, Cheung said: I've updated the code to not use file # above 3 and recompiled all three executables. I also updated the RMRES.dsk file to include the compiled object file as well as the PM-X and PM-E files. Yes, that seems to solve it. The power pills are also OK now. One thing that I noticed: When the ghosts return to their home after being caught, they seem to take somewhat longer ways, in particular when you catch them near the end of the power phase. I once saw one of the ghosts run around and thought it would never return (while the others were already chasing me), but it eventually found its way home. Edit: Here is the RPK with the latest PACMAN++.bin file. pacman++.rpk 2 Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515959 Share on other sites More sharing options...
Cheung Posted August 14 Author Share Posted August 14 (edited) 9 minutes ago, mizapf said: Yes, that seems to solve it. The power pills are also OK now. One thing that I noticed: When the ghosts return to their home after being caught, they seem to take somewhat longer ways, in particular when you catch them near the end of the power phase. I once saw one of the ghosts run around and thought it would never return (while the others were already chasing me), but it eventually found its way home. Yes, they don't take an optimum path. In order to increase performance, I have the ghosts follow routes as opposed to have some kind of "AI" direct them. I've written Pacman in other languages for the PC using AI directed ghosts, but for the TI I didn't want to take the performance hit of always having to perform at least 2, maybe 3 GCHAR for each ghost every turn to decide where to go. It's quicker to just have it move to a point. I tried to minimize the route back to Ghost HQ by determining which end of the route it's closer to (it's circular and ends where it begins) and then go to either the end or beginning depending on which had fewer points (not less distance). So often the Ghosts take an inefficient way home. They're paid the same either way, so they don't really care. Edited August 14 by Cheung 1 Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5515962 Share on other sites More sharing options...
HOME AUTOMATION Posted August 14 Share Posted August 14 4 hours ago, Cheung said: There is a "rest" spot on Maze 1 where the ghosts do not go. Let me know if you find it. Ha-ha, second place I checked! Thanx! 4 Quote Link to comment https://forums.atariage.com/topic/370835-pacman-is-now-available-finally/page/2/#findComment-5516041 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.