Search found 11 matches

by Fes
Sun Sep 14, 2008 12:09 am
Forum: bsnes Dev Talk
Topic: L(L|[A]R)(k) parser
Replies: 12
Views: 10032

The only way you're going to get O(n) complexity is with an LL(k) grammar, which infix arithmetic is not (at least not with implicit order of operations). So one way or another you'll be dealing with longer worst case running time. On the plus side, this means that you can relax a little bit about t...
by Fes
Sat Sep 13, 2008 10:21 pm
Forum: bsnes Dev Talk
Topic: L(L|[A]R)(k) parser
Replies: 12
Views: 10032

I wasn't able to help much with the v-sync thing, but this is an area I actually have experience with, so let's see if I can't help. Just to get a clear picture, is this something you want to get done as quickly as possible, or more of a learning excersize? If the former, YACC/bison/ANTLR/GPB/etc wo...
by Fes
Wed Aug 20, 2008 3:38 am
Forum: bsnes Dev Talk
Topic: bsnes v0.034 released
Replies: 140
Views: 74522

Speaking of mario kart, it appears as if the horizon on the lower screen is off by a few scanlines now. I checked with earlier versions, and the change seems to have been between 033 and 034. Anyone else notice this/can confirm?
by Fes
Wed Aug 20, 2008 12:03 am
Forum: bsnes Dev Talk
Topic: bsnes v0.034 released
Replies: 140
Views: 74522

Been away for a few days and I come back to find this awesome breakthrough. :) Here's my settings using WIP 05 with mario allstars + world: Output freq: 48000 Input skew: -168 Latency: 75 Works fantastically now, great job! A quick hunch about lowering latency... This build still uses maximum drift,...
by Fes
Thu Aug 14, 2008 2:05 am
Forum: bsnes Dev Talk
Topic: bsnes vsync development thread
Replies: 133
Views: 73429

I'm not terribly experienced with this kind of thing, but I definitely agree that steady v-sync makes a world of difference in the experience of a game, so to my mind it's a worthy goal to push through this wall. I'll try to help in my own meager way, and to that end, here's my thoughts. As has been...
by Fes
Thu Aug 14, 2008 12:53 am
Forum: bsnes Dev Talk
Topic: bsnes v0.034 released
Replies: 140
Views: 74522

Have example expressions that trigger the warning? Here's the full list of the warnings of this type I encountered. src\ui\interface.cpp(34) : warning C4805: '==' : unsafe mix of type 'intmax_t' and type 'bool' in operation src\ui\settings/videosettings.cpp(94) : warning C4805: '!=' : unsafe mix of...
by Fes
Wed Aug 13, 2008 9:56 pm
Forum: bsnes Dev Talk
Topic: bsnes v0.034 released
Replies: 140
Views: 74522

Thanks for the fixes; I'll keep my eye out for anything else. A few warnings I forgot to mention: Several assorted warnings about mixing bool with integral types in comparisons and applying unary '-' to them. Added warning suppression flags for 4804 and 4805. Not all code paths in dictionary::import...
by Fes
Wed Aug 13, 2008 7:00 am
Forum: bsnes Dev Talk
Topic: bsnes v0.034 released
Replies: 140
Views: 74522

First off, great release. I've always found video/audio sync interesting, so I thought "hey, why not tinker around with it and see how badly I can break things?"I'm quite rusty at C++ (to put it mildly), but I thought I'd try anyway; might be fun, and at least make for a funny story. So I ...
by Fes
Thu Apr 10, 2008 10:15 pm
Forum: bsnes Dev Talk
Topic: bsnes v030 released
Replies: 150
Views: 79201

Heh, actually I just tried that a few minutes ago. Great minds and all that. Unfortunately, it had no effect. At least as I understand it though, tab order isn't guaranteed to work both ways under all conditions, so if focus is indeed arriving at some errant control, the tab order could very well be...
by Fes
Thu Apr 10, 2008 9:47 pm
Forum: bsnes Dev Talk
Topic: bsnes v030 released
Replies: 150
Views: 79201

That's my hunch as well. I haven't done much win32 development (more of a .NET guy myself), but my debugging sense is tingling, saying something is going funny with input focus. It just feels too deterministic and consistent to be random buffer filling. And just to clarify, the behavior happens afte...
by Fes
Thu Apr 10, 2008 2:08 am
Forum: bsnes Dev Talk
Topic: bsnes v030 released
Replies: 150
Views: 79201

It looks like you've found a fix for the keyboard beeping issue, but I just thought I'd jump in with an observation I made in 0.30, as this is the issue that caused me to search the forums in the first place. At first I thought it was odd that it seemed to start happening at a random time after havi...