| The following warnings occurred: | |||||||||||||||
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.1.34 (Linux)
|
![]() |
|
NeoGPC v1.1.0 - (11/9/2013) - Printable Version +- Freeplaytech Forum (https://forum.freeplaytech.com) +-- Forum: Neo Geo Pocket (https://forum.freeplaytech.com/forumdisplay.php?fid=1) +--- Forum: Software Development (https://forum.freeplaytech.com/forumdisplay.php?fid=4) +--- Thread: NeoGPC v1.1.0 - (11/9/2013) (/showthread.php?tid=87) |
RE: NeoGPC v1.1.0 - (11/9/2013) - mic_ - 11-12-2013 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. RE: NeoGPC v1.1.0 - (11/9/2013) - KeiDash - 11-12-2013 Excelent test and updates. I see that you work on VS with c++ project. You are sharing the code or will be possible in the future? RE: NeoGPC v1.1.0 - (11/9/2013) - Cthulhu32 - 11-13-2013 (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): 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 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 RE: NeoGPC v1.1.0 - (11/9/2013) - mic_ - 11-13-2013 Does it really need to be in that while loop when a ROM hasn't been loaded? Seems like the idle loop could be something like: Code: while (!romLoaded) {RE: NeoGPC v1.1.0 - (11/9/2013) - Cthulhu32 - 11-14-2013 (11-13-2013, 06:50 PM)mic_ Wrote: Does it really need to be in that while loop when a ROM hasn't been loaded? Heh I quietly added that as well after I posted Makes the most sense to me.
RE: NeoGPC v1.1.0 - (11/9/2013) - azoreseuropa - 11-15-2013 Code: NeoGPC SVN Changelog:Cool. Now, how do I run it ? Bio didn't showing up on the screen before the game started. The game works fine, thought. I put the ngpbios.bin in the same place as NeoGPC. the bios is 64kb if it is correct size. RE: NeoGPC v1.1.0 - (11/9/2013) - Cthulhu32 - 11-16-2013 (11-15-2013, 10:17 PM)bearmon2010 Wrote: I'll make a post when I have the bios working. Don't worry about my SVN comments so much, I'll release officially here when I'm ready to show off some more. RE: NeoGPC v1.1.0 - (11/9/2013) - azoreseuropa - 11-16-2013 (11-16-2013, 11:56 AM)Cthulhu32 Wrote:(11-15-2013, 10:17 PM)bearmon2010 Wrote: Ahh, I gotcha. One more thing.. is that ngpbios.bin correct and the size is 64kb ? Curiosity. Thanks. Cheers!
RE: NeoGPC v1.1.0 - (11/9/2013) - Cthulhu32 - 11-17-2013 (11-16-2013, 12:17 PM)bearmon2010 Wrote:(11-16-2013, 11:56 AM)Cthulhu32 Wrote:(11-15-2013, 10:17 PM)bearmon2010 Wrote: Yeah it is.... I should probably remove it from the SVN. I'm thinking once I get the bios working, I might make my own custom BIOS that does the core functionality but does not have the fancy boot-stuff.
RE: NeoGPC v1.1.0 - (11/9/2013) - azoreseuropa - 11-18-2013 (11-17-2013, 02:30 PM)Cthulhu32 Wrote:(11-16-2013, 12:17 PM)bearmon2010 Wrote:(11-16-2013, 11:56 AM)Cthulhu32 Wrote:(11-15-2013, 10:17 PM)bearmon2010 Wrote: I hope that you will get the bios working. Wait.. own custom bios ? Why dont you get the bios itself like the picture I posted here more accurate instead of your own custom bios? Correct me if I am wrong or misunderstood. |