Search found 3218 matches

by Zepper
Fri Oct 02, 2020 2:43 pm
Forum: NESemdev
Topic: RockNES 5.64 -released on October 2nd 2020-
Replies: 2
Views: 2135

Re: RockNES 5.64 -released on October 2nd 2020-

Here we go.
New version before my wedding (tomorrow). ^_^;;
by Zepper
Tue Sep 22, 2020 2:24 pm
Forum: NES Music
Topic: Sound Nes Megaman 4
Replies: 5
Views: 837

Re: Sound Nes Megaman 4

Thank you very much for your answer, so in this case how should I start to learn to change the music from scratch in the megaman 4 nes rom? I have several documents but I need to know how to start learning in order to change them. It's not an easy task. You must create an environment for editing 65...
by Zepper
Tue Sep 22, 2020 6:48 am
Forum: NESemdev
Topic: Is there a logic to instruction timings?
Replies: 7
Views: 1179

Re: Is there a logic to instruction timings?

The error of counting cycles, plus the wrong assignment of number of cycles (a cycle table to be exact) while the CPU is running. Needless to say, but for each CPU read/write, the PPU runs for 3 cycles in NTSC mode. Depending on the addressing mode, as Q said, the instruction will take a certain amo...
by Zepper
Sun Sep 20, 2020 6:53 am
Forum: NESemdev
Topic: VBL Clear time
Replies: 3
Views: 649

Re: VBL Clear time

It's how you adjust a ruler over the timeline of events. I have no problems in my emulator even if I don't set my PPU timing as precisely as +1 or -1 "idle cycle". Why? Because the "inner works" (CPU instruction level, flags) are more complex than anything else.
by Zepper
Fri Sep 18, 2020 6:22 pm
Forum: General Stuff
Topic: How to limit 60 FPS in a loop?
Replies: 8
Views: 1455

Re: Emulation refresh rate of 60hz?

If you want to emulate the NTSC NES at exactly 60Hz and have accurate timing, then you'll need to slow the CPU down to 1.78683MHz. Let me rephrase my question. I want to know how to limit 60 FPS in a loop. If you have a situation where the emulated system is 60Hz, and your display is 60Hz, using an...
by Zepper
Fri Sep 18, 2020 5:58 pm
Forum: General Stuff
Topic: How to limit 60 FPS in a loop?
Replies: 8
Views: 1455

Re: Emulation refresh rate of 60hz?

What are you trying to solve by using an arbitrary 60Hz that isn't locked to the screen, instead of using whatever the screen is locked to? What do you mean?? Well, once a game frame is rendered by the PPU (the 256x240 image), it calls a function to control the refresh rate. Usually, vsync() works ...
by Zepper
Fri Sep 18, 2020 5:32 pm
Forum: General Stuff
Topic: How to limit 60 FPS in a loop?
Replies: 8
Views: 1455

How to limit 60 FPS in a loop?

Ages ago , I asked about 60hz framerate with Allegro's timer . Some machines do, but mine don't (for some unknown reason, it locks at 50hz). So, I ended up using Allegro's vsync() until today. I've found here another way of creating a 60hz refresh rate. It worked, but I noted a problem when the gam...
by Zepper
Thu Sep 17, 2020 7:46 am
Forum: NES Graphics
Topic: Is $08 "brown" or "olive" ? Why does it vary so much from screen to screen?
Replies: 29
Views: 7706

Re: Is $08 "brown" or "olive" ? Why does it vary so much from screen to screen?

bngrybt wrote:
Tue Sep 15, 2020 10:47 am
Just in case you feel like being even more confused about the concept of brown...

https://www.youtube.com/watch?v=wh4aWZRtTwU
Awesome!
by Zepper
Mon Sep 07, 2020 7:06 pm
Forum: nesdevWiki
Topic: Availability of source code column on list of known emulators
Replies: 1
Views: 3131

Re: Availability of source code column on list of known emulators

Hi! I'm curious about examining some source code of some existing emulator written in my favorite programming language. Therefore I plan to do quick research to check whether there is source code available for emulators that you enlisted in the wiki, I'm also going to check what are programming lan...
by Zepper
Sun Sep 06, 2020 8:11 pm
Forum: NES Graphics
Topic: Is $08 "brown" or "olive" ? Why does it vary so much from screen to screen?
Replies: 29
Views: 7706

Re: Is $08 "brown" or "olive" ? Why does it vary so much from screen to screen?

according to which site? that color is much more what $08 looks like on my tv.. but every "accurate" emulator and lcd display includes way more green Again? https://www.colorhexa.com/808000 where are these RGB values coming from? Who says $08 is 523000? What does 808000 have to do with anything? Yo...
by Zepper
Sun Sep 06, 2020 7:40 pm
Forum: NES Graphics
Topic: Is $08 "brown" or "olive" ? Why does it vary so much from screen to screen?
Replies: 29
Views: 7706

Re: Is $08 "brown" or "olive" ? Why does it vary so much from screen to screen?

frantik wrote:
Sun Sep 06, 2020 12:58 pm
Zepper wrote:
Sat Sep 05, 2020 6:03 am
Color $08 according to this site:
RGB #523000 color description : Very dark orange [Brown tone].
according to which site? that color is much more what $08 looks like on my tv.. but every "accurate" emulator and lcd display includes way more green
Again?
https://www.colorhexa.com/808000
by Zepper
Sat Sep 05, 2020 6:03 am
Forum: NES Graphics
Topic: Is $08 "brown" or "olive" ? Why does it vary so much from screen to screen?
Replies: 29
Views: 7706

Re: Is $08 "brown" or "olive" ? Why does it vary so much from screen to screen?

Color $08 is NOT olive, since the color tones (or shades) have blue, a green value nearby the blue value, and high red. I tested 3 NES palettes, and they don't bring blue (value $00). Red and green are very nearby, which doesn't match the olive tones. Look at the image below. https://i.ibb.co/K7q2Yw...
by Zepper
Fri Sep 04, 2020 2:42 pm
Forum: NESemdev
Topic: [SOLVED] VRAM reads (2007h)
Replies: 4
Views: 1385

Re: VRAM reads (2007h)

Ouch. :oops: :oops:
by Zepper
Fri Sep 04, 2020 2:17 pm
Forum: NESemdev
Topic: [SOLVED] VRAM reads (2007h)
Replies: 4
Views: 1385

Re: VRAM reads (2007h)

lidnariq wrote:
Fri Sep 04, 2020 11:04 am
Why do you have that >>10 there?
Access to the nametables 0, 1, 2, 3 (2000h, 2400h, 2800h, 2C00h) - mirroring.
The value is ANDed with 3, but is this correct?
by Zepper
Fri Sep 04, 2020 9:04 am
Forum: NESemdev
Topic: [SOLVED] VRAM reads (2007h)
Replies: 4
Views: 1385

[SOLVED] VRAM reads (2007h)

Hello folks. 1. I'm aware of this previous topic , but it's not crystal clear to me. 2. Yup, my emulator is getting error #6 on Blargg's vram_test (Palette read should also read VRAM into read buffer). So, where's the problem here? tempaddr=ppu_address&0x3FFF; _clock_2007(); if(tempaddr >= 0x3F00) {...