Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NeoGPC v1.1.0 - (11/9/2013)
#53
(11-12-2013, 06:01 AM)mic_ Wrote: Nice. I tried out the latest version, and thought I'd mention a few bugs (running in Win7/64-bit):

* As soon as I start the emulator it starts using 20% or more CPU, before I've even loaded a ROM.
* The Load ROM dialog doesn't find any ROMs (I've tried naming my ROMs both .NGP and .NGPC). I have to actually type in the filenames in the "Filename:" field at the bottom of the dialog window.
* Trying to launch the debugger without having loaded a ROM crashes the emulator.

Just spotted the CPU issue, I wasn't giving back time to the CPU when it needed to happen. I borrowed my solution from FCEU, which I think makes sense. Basically the way it should work is
while ( 1 )
{
if ( time_left > fps_cycle)
{
// Do a full CPU/gfx/sfx audio
Sleep 10 ms
}
}

Assuming our cycles are 13.3333ms (60fps), then this gives back time to the CPU for roughly 10 of the 13.333 seconds, and Windows sleep is not accurate so we can almost guarantee it will be between 9 and 11 ms. So we still capture the CPU between time-span 11-13, but we should be pretty accurate right around the fps_cycle curve.

NeoGPC doesn't load ngp's right now, so all it will play is .ngc Smile ZIP support will come as well as ngp and looking for the ngpc naming scheme. Hmmm I haven't seen that crash, but its probably trying to disassemble uninitialized memory. I'll need to add a lot of checks in to make sure it can handle loading roms, unloading them, keeping the debugger open/close, all that good stuff.

KeiDash -
Its fully open source, you can download all the code from SVN here: http://code.google.com/p/neogpc/source/checkout
Reply


Messages In This Thread
NeoGPC v1.1.0 - (11/9/2013) - by Cthulhu32 - 10-30-2012, 04:07 AM
RE: NeoGPC (working title..) - by Flavor - 10-30-2012, 04:12 AM
RE: NeoGPC (working title..) - by mic_ - 10-30-2012, 06:42 AM
RE: NeoGPC (working title..) - by Morden - 10-30-2012, 07:10 PM
RE: NeoGPC (working title..) - by Cthulhu32 - 10-31-2012, 08:29 AM
RE: NeoGPC (working title..) - by Morden - 11-06-2012, 08:37 AM
RE: NeoGPC (working title..) - by Flavor - 11-06-2012, 03:58 AM
RE: NeoGPC (Latest 11-5-2012) - by Cthulhu32 - 11-06-2012, 03:01 PM
RE: NeoGPC (Latest 11-5-2012) - by Loïc - 11-09-2012, 12:20 AM
RE: NeoGPC (Latest 11-5-2012) - by Cthulhu32 - 11-09-2012, 06:17 AM
RE: NeoGPC (Latest 11-5-2012) - by fpcreator2000 - 11-09-2012, 07:26 AM
RE: NeoGPC (Latest 11-5-2012) - by Flavor - 11-10-2012, 07:08 AM
RE: NeoGPC (Latest 11-20-2012) - by Cthulhu32 - 11-21-2012, 01:37 PM
RE: NeoGPC (Latest 11-20-2012) - by Morden - 11-21-2012, 07:39 PM
RE: NeoGPC (Latest 11-20-2012) - by Flavor - 11-22-2012, 12:28 AM
RE: NeoGPC (Latest 11-20-2012) - by Cthulhu32 - 11-22-2012, 01:45 AM
RE: NeoGPC (Latest 11-20-2012) - by Cthulhu32 - 12-01-2012, 01:32 AM
RE: NeoGPC (Latest 11-20-2012) - by Flavor - 12-01-2012, 01:39 AM
RE: NeoGPC (Latest 11-20-2012) - by Cthulhu32 - 12-01-2012, 01:47 AM
RE: NeoGPC (Latest 11-20-2012) - by Loïc - 12-04-2012, 01:15 AM
RE: NeoGPC (Latest 11-20-2012) - by Cthulhu32 - 12-14-2012, 01:10 AM
RE: NeoGPC (Latest 11-20-2012) - by Flavor - 12-14-2012, 01:11 AM
RE: NeoGPC (Latest 11-20-2012) - by Cthulhu32 - 01-04-2013, 02:32 AM
RE: NeoGPC (Latest 11-20-2012) - by Cthulhu32 - 01-05-2013, 02:57 AM
RE: NeoGPC (Latest 11-20-2012) - by Flavor - 01-05-2013, 03:13 AM
RE: NeoGPC (Latest 11-20-2012) - by davidvaldivia - 01-08-2013, 01:13 AM
RE: NeoGPC v1.0.0 - by Cthulhu32 - 01-14-2013, 02:37 PM
RE: NeoGPC v1.0.0 - by Flavor - 01-18-2013, 12:50 AM
RE: NeoGPC v1.0.0 - by Cthulhu32 - 01-18-2013, 11:32 AM
RE: NeoGPC v1.0.0 - by Flavor - 02-01-2013, 01:22 AM
RE: NeoGPC v1.0.0 - by KeiDash - 01-22-2013, 04:04 AM
RE: NeoGPC v1.0.0 - by azoreseuropa - 03-06-2013, 01:19 AM
RE: NeoGPC v1.0.0 - by Tehcno - 03-06-2013, 11:16 AM
RE: NeoGPC v1.0.0 - by azoreseuropa - 03-18-2013, 06:18 AM
RE: NeoGPC v1.0.0 - by Cthulhu32 - 03-20-2013, 04:14 AM
RE: NeoGPC v1.0.0 - by azoreseuropa - 04-12-2013, 11:32 AM
RE: NeoGPC v1.0.0 - by Cthulhu32 - 06-05-2013, 02:38 PM
RE: NeoGPC v1.0.0 - by Morden - 06-06-2013, 08:51 AM
RE: NeoGPC v1.0.0 - by Flavor - 06-06-2013, 10:44 AM
RE: NeoGPC v1.0.0 - by Cthulhu32 - 09-03-2013, 08:31 AM
RE: NeoGPC v1.0.0 - by Flavor - 09-04-2013, 02:08 AM
RE: NeoGPC v1.0.0 - by Cthulhu32 - 09-04-2013, 11:12 AM
RE: NeoGPC v1.0.0 - by mic_ - 09-10-2013, 05:20 PM
RE: NeoGPC v1.0.0 - by Flavor - 09-10-2013, 11:58 PM
RE: NeoGPC v1.0.0 - by Cthulhu32 - 09-16-2013, 09:48 AM
RE: NeoGPC v1.0.0 - by mic_ - 09-16-2013, 07:08 PM
RE: NeoGPC v1.1.0 - by Cthulhu32 - 11-10-2013, 05:54 AM
RE: NeoGPC v1.1.0 - by azoreseuropa - 11-10-2013, 10:01 PM
RE: NeoGPC v1.1.0 - by Cthulhu32 - 11-11-2013, 11:08 AM
RE: NeoGPC v1.1.0 - by azoreseuropa - 11-11-2013, 10:59 PM
RE: NeoGPC v1.1.0 - (11/9/2013) - by mic_ - 11-12-2013, 06:01 AM
RE: NeoGPC v1.1.0 - (11/9/2013) - by Cthulhu32 - 11-13-2013, 07:07 AM
RE: NeoGPC v1.1.0 - (11/9/2013) - by KeiDash - 11-12-2013, 08:49 PM
RE: NeoGPC v1.1.0 - (11/9/2013) - by mic_ - 11-13-2013, 06:50 PM
RE: NeoGPC v1.1.0 - (11/9/2013) - by Cthulhu32 - 11-14-2013, 10:27 AM
RE: NeoGPC v1.1.0 - (11/9/2013) - by azoreseuropa - 11-15-2013, 10:17 PM
RE: NeoGPC v1.1.0 - (11/9/2013) - by Cthulhu32 - 11-16-2013, 11:56 AM
RE: NeoGPC v1.1.0 - (11/9/2013) - by azoreseuropa - 11-16-2013, 12:17 PM
RE: NeoGPC v1.1.0 - (11/9/2013) - by Cthulhu32 - 11-17-2013, 02:30 PM
RE: NeoGPC v1.1.0 - (11/9/2013) - by azoreseuropa - 11-18-2013, 07:14 AM
RE: NeoGPC v1.1.0 - (11/9/2013) - by Cthulhu32 - 12-31-2013, 12:45 PM
RE: NeoGPC v1.1.0 - (11/9/2013) - by Flavor - 01-01-2014, 05:07 AM
RE: NeoGPC v1.1.0 - (11/9/2013) - by Morden - 01-02-2014, 06:35 PM
RE: NeoGPC v1.1.0 - (11/9/2013) - by Cthulhu32 - 01-03-2014, 01:50 AM
RE: NeoGPC v1.1.0 - (11/9/2013) - by Morden - 01-03-2014, 08:03 AM
RE: NeoGPC v1.1.0 - (11/9/2013) - by mic_ - 01-07-2014, 10:57 PM
RE: NeoGPC v1.1.0 - (11/9/2013) - by azoreseuropa - 04-16-2014, 08:15 AM
RE: NeoGPC v1.1.0 - (11/9/2013) - by azoreseuropa - 07-12-2014, 01:48 AM
RE: NeoGPC v1.1.0 - (11/9/2013) - by Cthulhu32 - 10-15-2014, 02:05 PM
RE: NeoGPC v1.1.0 - (11/9/2013) - by azoreseuropa - 07-01-2015, 09:47 PM
RE: NeoGPC v1.1.0 - (11/9/2013) - by azoreseuropa - 09-11-2016, 11:22 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)