NABU PAC-MAN Source Code discussion thread
- LeoBinkowski
- Posts: 168
- Joined: Tue Mar 28, 2023 4:23 pm
- Location: nabu.ca
- Contact:
NABU PAC-MAN Source Code discussion thread
This is the official NABU PAC-MAN Source code discussion thread.
The Youtube video describing the code is here:
The Source code is here: https://github.com/LeoBinkowski/NABU/nabu-pacman
Fire a full spread of questions!
The Youtube video describing the code is here:
The Source code is here: https://github.com/LeoBinkowski/NABU/nabu-pacman
Fire a full spread of questions!
- LeoBinkowski
- Posts: 168
- Joined: Tue Mar 28, 2023 4:23 pm
- Location: nabu.ca
- Contact:
- productiondave
- Posts: 117
- Joined: Tue Mar 28, 2023 10:01 pm
Re: NABU PAC-MAN Source Code discussion thread
Okay, I'll go first.
This compiles on CP/M and results in a com file. Does it have to be converted into a nabu file?
How much of the operating system calls are used? I'm assuming they are not present in cloudcpm for example.
I'm quite interested in the task manager stuff. It would be neat to see how that's done in assembly. I can see how you're integrating with it, but I wanna peek under the hood.
I wonder what it would take to port pacman over to the Z80-Retro and if I should even bother trying. That OS dependency is the tricky but I think.
This compiles on CP/M and results in a com file. Does it have to be converted into a nabu file?
How much of the operating system calls are used? I'm assuming they are not present in cloudcpm for example.
I'm quite interested in the task manager stuff. It would be neat to see how that's done in assembly. I can see how you're integrating with it, but I wanna peek under the hood.
I wonder what it would take to port pacman over to the Z80-Retro and if I should even bother trying. That OS dependency is the tricky but I think.
Rock On!
~ productiondave
https://github.com/linuxplayground/nabu-games
https://www.reddit.com/r/beneater/
~ productiondave
https://github.com/linuxplayground/nabu-games
https://www.reddit.com/r/beneater/
- LeoBinkowski
- Posts: 168
- Joined: Tue Mar 28, 2023 4:23 pm
- Location: nabu.ca
- Contact:
Re: NABU PAC-MAN Source Code discussion thread
You can use the CABUILD.COM from the z80 example to make a NABU loadable PAK file.
CABUILD PACMAN.COM 110
is what I used. See the example in the version 7 video:
The z80 example:
https://github.com/LeoBinkowski/NABU/tr ... 80-example
CABUILD PACMAN.COM 110
is what I used. See the example in the version 7 video:
The z80 example:
https://github.com/LeoBinkowski/NABU/tr ... 80-example
- LeoBinkowski
- Posts: 168
- Joined: Tue Mar 28, 2023 4:23 pm
- Location: nabu.ca
- Contact:
Re: NABU PAC-MAN Source Code discussion thread
Can't go without posting this either:
- productiondave
- Posts: 117
- Joined: Tue Mar 28, 2023 10:01 pm
Re: NABU PAC-MAN Source Code discussion thread
Yeah, but I was wondering if there is a way to build the game so it runs on cpm.
Rock On!
~ productiondave
https://github.com/linuxplayground/nabu-games
https://www.reddit.com/r/beneater/
~ productiondave
https://github.com/linuxplayground/nabu-games
https://www.reddit.com/r/beneater/
- LeoBinkowski
- Posts: 168
- Joined: Tue Mar 28, 2023 4:23 pm
- Location: nabu.ca
- Contact:
Re: NABU PAC-MAN Source Code discussion thread
Sadly, I only know the NABU IOS building way.
We used to be able to test CP/M COM files directly using MCP 1.8, which was a version of CP/M that included the IOS hooks. After we changed to used NABU PCs and CP/M, we would only test them exclusively using CABUILD, because that made it an exact representation of software that ran on the cycle.
After documenting all this crap, I'll take a peek a how to build and debug stuff in new environments.
We used to be able to test CP/M COM files directly using MCP 1.8, which was a version of CP/M that included the IOS hooks. After we changed to used NABU PCs and CP/M, we would only test them exclusively using CABUILD, because that made it an exact representation of software that ran on the cycle.
After documenting all this crap, I'll take a peek a how to build and debug stuff in new environments.
- LeoBinkowski
- Posts: 168
- Joined: Tue Mar 28, 2023 4:23 pm
- Location: nabu.ca
- Contact:
Re: NABU PAC-MAN Source Code discussion thread
I took your suggestion on the youtube post, Dave:
- productiondave
- Posts: 117
- Joined: Tue Mar 28, 2023 10:01 pm
Re: NABU PAC-MAN Source Code discussion thread
Nice. I love this one.
Rock On!
~ productiondave
https://github.com/linuxplayground/nabu-games
https://www.reddit.com/r/beneater/
~ productiondave
https://github.com/linuxplayground/nabu-games
https://www.reddit.com/r/beneater/
Re: NABU PAC-MAN Source Code discussion thread
Lol!!!! I almost spit out my beer. That’s hilarious