Search found 323 matches

by blargg
Wed Apr 22, 2009 1:46 am
Forum: Gaming Discussion
Topic: |Wii| Zelda: Twilight Princess help...
Replies: 33
Views: 9734

Save, reset, reload at beginning of temple, then go trigger whatever water flow you were supposed to.
by blargg
Wed Apr 08, 2009 9:31 pm
Forum: Emulators
Topic: Effective emulator design.
Replies: 126
Views: 41198

If rendering more than is shown on screen, it would be hard to avoid having enemies suddenly appear quite a bit away from the edges. Lots of games also only maintain a small portion of the background at a time. Perhaps the emulator could detect scrolling, and remember pixels that scroll off screen a...
by blargg
Tue Apr 07, 2009 9:30 am
Forum: Tech Talk
Topic: Filling up a Hard Drive
Replies: 27
Views: 10664

First, what can it be filled with? It's almost always media: video, audio, images. Bloated software and games will consist mostly of these internally. Also, the only illegal content is that which is illegal to possess, no matter how it was obtained. Movies, music, and images are in general are not i...
by blargg
Mon Apr 06, 2009 9:33 am
Forum: Emulators
Topic: Effective emulator design.
Replies: 126
Views: 41198

Gil_Hamilton wrote:What's your point?

His point is that you're an idiot for engaging in discussion (I only know this because I got the point a while back in the linked discussion about binary).
by blargg
Sat Apr 04, 2009 11:43 am
Forum: Emulators
Topic: Effective emulator design.
Replies: 126
Views: 41198

Pretty sure the PS1 was the first home system with 3D hardware. Not very GOOD 3D hardware, mind you, but... it had it. And you'd be wrong. The PS1 is completely 2D. [snip Wikipedia quote] Hmmm, this feels like deja-vu. Ah yes, a ROM doesn't contain binary data, even if you can look at it with a mic...
by blargg
Fri Apr 03, 2009 3:51 am
Forum: Emulators
Topic: Effective emulator design.
Replies: 126
Views: 41198

I never said we should write VLIW code. We should have a system to run emulation in a VLIW-like manner. As it allows concurrency of the multiple CPUs we need to emulate at once. I'm sorry but I actually have no good idea what you're saying, because you're being incredibly vague. Do you really have ...
by blargg
Tue Mar 31, 2009 5:24 am
Forum: Emulators
Topic: Effective emulator design.
Replies: 126
Views: 41198

But I'm sorry, I just don't like keeping things secret. I can't verify what's really happening -- you can say you emulated this right, and you may even really believe you have, but say you miss a subtle bug and the game just so happens to look correct. It's like security through obscurity. The best ...
by blargg
Tue Mar 31, 2009 2:37 am
Forum: Emulators
Topic: SNES emulation speed
Replies: 45
Views: 23109

byuu doesn't need no silly cross-module optimization when everything is compiled as a single translation unit (courtesy of #include)! Or at least it was that way last time I checked.
by blargg
Mon Mar 30, 2009 12:40 am
Forum: Emulators
Topic: SNES emulation speed
Replies: 45
Views: 23109

Would really be nice if C++ blurred the static / run-time system a bit more, so that you could pass boolean variables as template parameters, rather than requiring a dispatcher that doubles in size (n^2) for each added parameter. You could generate the function pointer table below automatically, if...
by blargg
Wed Mar 25, 2009 11:04 pm
Forum: Emulators
Topic: SNES emulation speed
Replies: 45
Views: 23109

Overflow isn't worth it, since the instructions which modify it are relatively rare. Here's how my Java-based 6502 emulator handles them. It properly handles any of the four combinations of N and Z by having two bits for N, which are ORed together to find the real N; the second copy is 8 bits shifte...
by blargg
Tue Mar 24, 2009 10:49 pm
Forum: Development
Topic: SPC700 address modes
Replies: 9
Views: 6443

Things wrap on 256-byte boundaries because it was cheaper to use an 8-bit adder rather than a 16-bit one. But where does this wrapping occur except for direct page? The point of direct page is speed and compact encoding, so you want a small 256-byte page. If you don't want wrapping, you can use the ...
by blargg
Tue Mar 24, 2009 6:27 am
Forum: Development
Topic: SPC700 address modes
Replies: 9
Views: 6443

Anomie's SPC700 doc should cover everything. He also has more docs.
by blargg
Mon Mar 16, 2009 6:39 pm
Forum: Development
Topic: Function for calculate FPS
Replies: 4
Views: 4229

Count the number of frames that occur within a one-second interval. The result is the frames per second. :)
by blargg
Mon Mar 16, 2009 4:48 am
Forum: Emulators
Topic: SNES emulation speed
Replies: 45
Views: 23109

I've written several CPU emulators in Java and I settled on using int for everything except the arrays representing memory. For those, I use byte, and mask with 0xFF everywhere (and have obscure bugs on those few places I forget to...). There's little reason to use shorter types to restrict the numb...
by blargg
Sun Mar 15, 2009 4:27 am
Forum: Insane Chatter
Topic: Drivers that don't know all the traffic rules:
Replies: 44
Views: 16213

If you go too slowly through the intersection, you also increase the risk of someone colliding with you, since you're in it for longer. 5 MPH is pretty damn slow. And in parking lots, I didn't think normal traffic laws applied, since it's private property. Not that one should following anything diff...
by blargg
Sat Mar 14, 2009 11:38 pm
Forum: Insane Chatter
Topic: Drivers that don't know all the traffic rules:
Replies: 44
Views: 16213

Obviously the proper solution is to avoid buying groceries. No buy = no out = no milk spilled. Simple.
by blargg
Tue Mar 03, 2009 4:54 pm
Forum: Tech Talk
Topic: So I did some assembly programming:
Replies: 15
Views: 5571

text n. 1.a. The original words of something written or printed, as opposed to a paraphrase, translation, revision, or condensation. b. The words of a speech appearing in print. 2. The body of a printed work as distinct from headings and illustrative matter on a page or from front and back matter i...
by blargg
Wed Feb 25, 2009 2:12 am
Forum: Forum
Topic: A major apology
Replies: 52
Views: 36169

This post intentionally left blank
by blargg
Tue Feb 24, 2009 2:28 am
Forum: Forum
Topic: Posting interval changed to 30 seconds
Replies: 25
Views: 19280

adventure_of_link wrote:Post editing, how about this?

Use the preview, Link!
by blargg
Mon Feb 23, 2009 11:32 pm
Forum: Forum
Topic: [url] tag doesn't recognize news: URLs
Replies: 19
Views: 16057

The reason it doesn't blindly convert is because it is possible to insert javascript that way, just so you know. So someone could insert a link that was <a href="javascript:...">? How is that any different than a link to another page which has said javascript on it? Either way, the link m...
by blargg
Mon Feb 23, 2009 1:19 am
Forum: Forum
Topic: [url] tag doesn't recognize news: URLs
Replies: 19
Views: 16057

Just to be clear, I'm not commenting on automatic conversion of URLs to links, which I too don't really care for, since it clutters the text with the full URL. I'm commenting on explicit use of the [url]tag, and how it fails to work with URLs using protocols other than http, https, and ftp. In other...
by blargg
Sun Feb 22, 2009 10:22 pm
Forum: Forum
Topic: [url] tag doesn't recognize news: URLs
Replies: 19
Views: 16057

The ftp:// link example in my first post works fine, without http:// being inserted. It looks more like the code that determines whether the [url= tag is valid requires that it have a double slash near the beginning of the URL, even though the format seems more along the lines of <protocol>:<protoco...
by blargg
Sun Feb 22, 2009 9:40 pm
Forum: Forum
Topic: [url] tag doesn't recognize news: URLs
Replies: 19
Views: 16057

blarg, its news:// its a URI dude. Dude, did you even read the RFC I linked to? 3.6. NEWS The news URL scheme is used to refer to either news groups or individual articles of USENET news, as specified in RFC 1036. A news URL takes one of two forms: news:<newsgroup-name> news:<message-id> Just for r...
by blargg
Sun Feb 22, 2009 7:06 am
Forum: Forum
Topic: [url] tag doesn't recognize news: URLs
Replies: 19
Views: 16057

[url] tag doesn't recognize news: URLs

The [url] tag doesn't recognize URLs using the news: protocol. Below are uses of url with the indicated text. For example, the first one is [open square bracket]url=http://example.com/[close square bracket]. http://example.com/ https://example.com/ ftp://example.com/ [url=news:alt.test]news:alt.test...
by blargg
Fri Feb 20, 2009 8:49 pm
Forum: bsnes Dev Talk
Topic: C++ permissions : creating read-only variables
Replies: 8
Views: 18008

but we can get rid of any potential copy overhead anyway: [snip code returning reference to contained info_t struct] Yes, I didn't want to encourage premature optimization. But since it's been exposed, I'll add that this can even handle cases where some members are calculated only when info is call...