jonathanpeppers / dotnes

.NET for the NES game console
MIT License
620 stars 17 forks source link

Question #28

Closed amir16yp closed 3 months ago

amir16yp commented 3 months ago

Hey, I really like what you did with this project here. I was trying to port some examples that use neslib from this repo, specifically example2. I saw that some functions aren't really implemented, specifically pal_spr which is why i cant compile it.

In this this line you define addresses for the functions, only a few are really implemented. I'm no assembly wizard, but can i ask what are those addresses and would it hard to just find the rest of them and get them implemented? Thanks in advance.

jonathanpeppers commented 3 months ago

If you go to 8bitworkshop.com, and just load hello.c for the NES, the disassembly has the addresses. There is also another spot to put the number of arguments.

I would share screenshots, etc. but Iā€™m on vacation this week with no computer. šŸ˜€

Iā€™m also open if someone comes up with a better idea, too. šŸ‘

amir16yp commented 3 months ago

im working on adding the rest of the addresses + the num of arguments for each one. will send a pull request soon, but not all of them would work immediately, some of them that i tested get an opcode error, so i assume that would require further work.