nesdev.com
http://forums.nesdev.com/

Nintaco -- NES-Famicom-Dendy Emulator
http://forums.nesdev.com/viewtopic.php?f=3&t=15609
Page 5 of 5

Author:  zeroone [ Sat May 27, 2017 8:36 am ]
Post subject:  Re: Nintaco -- NES-Famicom-Dendy Emulator

jblazing wrote:
I'm gonna post to hope and see if the dev even sees this.

A problem that I seem to be having is with the C api. Whenever I try to run getPixels(api,pixels) in the FrameListener, once the function escapes the program will segfault. I made sure to make the array size is 256 * 240, I have tried both dynamically allocated memory and array on the stack, both cause a segfault.

I am using the latest versions of both the api and the emulator from 5/1/17 .

Code: https://pastebin.com/mUgsjDQu


The getPixels bug has been fixed. The updated version of nintaco.c has been zipped up here.

Author:  zeroone [ Sun Aug 20, 2017 4:38 pm ]
Post subject:  Re: Nintaco -- NES-Famicom-Dendy Emulator

I posted a new build containing a small round of patches.

Author:  zeroone [ Sun Oct 15, 2017 2:30 pm ]
Post subject:  Re: Nintaco -- NES-Famicom-Dendy Emulator

I posted a new build with another round of bug fixes including some light gun related patches. A test program I wrote to evaluate those changes evolved into this small fun project.

Author:  Yodak [ Thu Oct 19, 2017 2:13 pm ]
Post subject:  Re: Nintaco -- NES-Famicom-Dendy Emulator

Tis FIRE!!! I like playing with your software. I have started learning Java just for it. Now i'm trying to make remote graphic interface. It requires using setGamepad() function. But when i try to use it from simple loop within interface Nintaco freezes. When i try to call it from some method that uses ControllersListener interface like controllersProbed() without the loop it works, but I loose sweet input data. And parameters don't seem to work...

Attachments:
buttonmash.rar [4.93 KiB]
Downloaded 7 times

Author:  zeroone [ Thu Oct 19, 2017 8:38 pm ]
Post subject:  Re: Nintaco -- NES-Famicom-Dendy Emulator

Yodak wrote:
Tis FIRE!!! I like playing with your software. I have started learning Java just for it. Now i'm trying to make remote graphic interface. It requires using setGamepad() function. But when i try to use it from simple loop within interface Nintaco freezes. When i try to call it from some method that uses ControllersListener interface like controllersProbed() without the loop it works, but I loose sweet input data. And parameters don't seem to work...


Store the inputs in class variables. When controllersProbed() is called, invoke writeGamepad() with parameters based on the inputs stored in the class variables.

Author:  Yodak [ Sun Oct 22, 2017 12:19 pm ]
Post subject:  Re: Nintaco -- NES-Famicom-Dendy Emulator

Thank you very much!:mrgreen: That was so simple! I wasted so much time trying to figure it out. Though now it's pure fun and awesomeNESs!!!

Author:  radishes [ Thu Oct 26, 2017 9:19 am ]
Post subject:  Re: Nintaco -- NES-Famicom-Dendy Emulator

Has anyone had success running Nintaco on a Raspberry Pi? The program loads on my Pi 3, but I get a black screen upon loading any ROM. I haven't looked for any logs or ways to track errors yet, but I'll look into that later tonight. But in the meantime, does anyone have any tricks for successful Nintacoing on a Raspberry Pi?

Author:  zeroone [ Mon Oct 30, 2017 9:44 am ]
Post subject:  Re: Nintaco -- NES-Famicom-Dendy Emulator

radishes wrote:
Has anyone had success running Nintaco on a Raspberry Pi? The program loads on my Pi 3, but I get a black screen upon loading any ROM. I haven't looked for any logs or ways to track errors yet, but I'll look into that later tonight. But in the meantime, does anyone have any tricks for successful Nintacoing on a Raspberry Pi?


Anything in the log file within the /system subdir?

Page 5 of 5 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/