Hi-Def NES HDMI Adapter for the NES

Discuss hardware-related topics, such as development cartridges, CopyNES, PowerPak, EPROMs, or whatever.

Moderators: B00daW, Moderators

teknix1
Posts: 11
Joined: Tue Apr 25, 2017 7:48 am

Re: Hi-Def NES HDMI Adapter for the NES

Post by teknix1 » Tue Apr 25, 2017 8:00 am

Hi Kevin,

Thank you so much for making the Hi-Def NES, definitely the best thing since sliced bread!

One thing I find could help improve the image quality a bit, would be to fix the missing pixel at the top of alternating frames. It eventually fixes itself a few lines down and that's usually covered by overscan but on HD TVs you can and want to see the full screen. The result is a wavy dozens of lines at the top... See attached screenshot.

I have scanned through this topic and couldn't find anything about it, there's so much info in here. Has this been reported already? My sincere apologies if it has. And if not, I would be very grateful if a fix could be implemented.

Again thanks for making such an amazing product!
Nic
Attachments
Wavy first rows
Wavy first rows

philenotfound
Posts: 9
Joined: Sun Oct 16, 2016 1:03 pm

Re: Hi-Def NES HDMI Adapter for the NES

Post by philenotfound » Tue Apr 25, 2017 8:08 am

IMG_20170425_170442.jpg
Is this the result of the mentioned palette screwiness?
That is on a NTSC Rev. G PPU with a Famicom Adapter.

Bratwurst
Posts: 23
Joined: Fri Jun 12, 2015 10:20 am

Re: Hi-Def NES HDMI Adapter for the NES

Post by Bratwurst » Tue Apr 25, 2017 8:31 am

kevtris wrote:I might be able to stuff a few more palettes in, like 2-3 more. which ones should I include? This is probably the last thing I can add because the ROM inside is full up too. This design is using literally every resource available on the FPGA now.
If you're not using any of these yet, here are some potential considerations.

http://www.firebrandx.com/nespalette.html

MobiusStripTech
Posts: 1
Joined: Tue Apr 25, 2017 9:28 am

Re: Hi-Def NES HDMI Adapter for the NES

Post by MobiusStripTech » Tue Apr 25, 2017 9:34 am

I know I have had a number of customers request the nes classic palette. I agree with everyone who has pointed out using firebrandx palettes. I don't know of anyone that actually uses the black and white so if one had to be removed to make room, I would vote for that one.

flamepanther
Posts: 10
Joined: Sat Dec 03, 2005 3:32 pm

Re: Hi-Def NES HDMI Adapter for the NES

Post by flamepanther » Tue Apr 25, 2017 9:47 am

kevtris wrote:I might be able to stuff a few more palettes in, like 2-3 more. which ones should I include? This is probably the last thing I can add because the ROM inside is full up too. This design is using literally every resource available on the FPGA now.
1st choice: "NTSC Hardware"
http://www.firebrandx.com/nespalette.html
Closest possible to the actual output of an NES console.

2nd choice: "Hybrid"
http://rgbsource.blogspot.com/2016/11/n ... e.html?m=1
Strikes a gorgeous balance between accurate(ish), dark, muddy, direct-capture colors and too-bright oversaturated emulator colors. It's prettier than the real thing without looking weird in Castlevania and Mega Man 2.

3rd choice: "PVM Style"
http://www.firebrandx.com/nespalette.html
Simulates the look of an NES on a PVM over composite.

I can't speak for others, but I'd happily give up the black-and-white palette to make room, if needed. I wouldn't miss the X-ray filter if it made room for something useful either.

RGBSource
Posts: 3
Joined: Thu Sep 29, 2016 12:13 pm

Re: Hi-Def NES HDMI Adapter for the NES

Post by RGBSource » Tue Apr 25, 2017 12:59 pm

kevtris wrote:I might be able to stuff a few more palettes in, like 2-3 more. which ones should I include? This is probably the last thing I can add because the ROM inside is full up too. This design is using literally every resource available on the FPGA now.
It would be excellent if you could add HYBRID and NESCAP palettes to the Hi-Def NES!

http://rgbsource.blogspot.com/2016/11/n ... lance.html

Great Hierophant
Posts: 769
Joined: Tue Nov 23, 2004 9:35 pm

Re: Hi-Def NES HDMI Adapter for the NES

Post by Great Hierophant » Tue Apr 25, 2017 1:03 pm

Would it be possible to add a custom palette entry or two that you could burn to the firmware with a small special utility? That way anyone could add any palette they liked, all it has to be is 192 byte file.

User avatar
kevtris
Posts: 504
Joined: Sat Oct 29, 2005 2:09 am
Location: Indianapolis
Contact:

Re: Hi-Def NES HDMI Adapter for the NES

Post by kevtris » Tue Apr 25, 2017 6:47 pm

philenotfound wrote:
IMG_20170425_170442.jpg
Is this the result of the mentioned palette screwiness?
That is on a NTSC Rev. G PPU with a Famicom Adapter.
yes, that is it. This should be fixed now. for good, I hope. I haven't tried it on a twin famicom, but I do have one here. not sure if I will have time to open it up and put the mod on for testing though. Modding the twin fami is tricky because the way it handles power is... weird. it really should have the power system redone. The problem is they use a discrete regulator, and the power switch does not turn the power on and off. It controls the base drive to the pass transistor! I don't know why they did this. The heatsink is obnoxiously large, too.
/* this is a comment */

User avatar
kevtris
Posts: 504
Joined: Sat Oct 29, 2005 2:09 am
Location: Indianapolis
Contact:

Re: Hi-Def NES HDMI Adapter for the NES

Post by kevtris » Tue Apr 25, 2017 8:57 pm

looks like I fixed the "wigglin' pixels" PAL problem too. This was caused by capturing the data at the wrong place. Jason sent me 5 sets of PAL chips, 3 sets of laser H rev chips, and a weird ebay sourced counterfeit CPU for testing.

4/5 sets of PAL chips had the wiggling pixel issue (As people have shown earlier in the thread) where leading edges of solid colour areas have a wiggling border. This is fixed now for 5/5 sets of PAL chips I have here.

The address line filter fix fixed the 3 laser H rev PPUs showing bad palettes/tiles, and several of the PAL chips had this issue too- but that is all fixed as well!

The counterfeit CPU interestingly works perfectly fine, and has looped noise and the duty cycles don't appear to be swapped. I am not sure who made it. It doesn't have ejector pin marks on it, so it's not the UMC chip and not a legit chip. The non-rev CPUs don't have ejector pins either, but this chip has looped noise so I don't think it's one of those. The chip gets a bit hotter than a regular E/G/H rev CPU, too. The chip is blacktopped, then laser marked "RP2A03E" (lol). I don't think they were using laser marking in the mid 80's! I heard of people buying these off ebay and getting PAL chips instead of NTSC ones. This chip is definitely NTSC, I ran the "flowing palette" demo and it worked properly so the timing is right.
/* this is a comment */

lidnariq
Posts: 9705
Joined: Sun Apr 13, 2008 11:12 am
Location: Seattle

Re: Hi-Def NES HDMI Adapter for the NES

Post by lidnariq » Tue Apr 25, 2017 9:04 pm

Could be a rebadged TA-03N... I remember reading that they ran hot but were otherwise quite accurate 2A03G copies.

User avatar
kevtris
Posts: 504
Joined: Sat Oct 29, 2005 2:09 am
Location: Indianapolis
Contact:

Re: Hi-Def NES HDMI Adapter for the NES

Post by kevtris » Wed Apr 26, 2017 12:31 am

Well here it is, after 14 months!

http://blog.kevtris.org/blogfiles/HiDef ... 20beta.nes

Changes:

* Audio DC level restoration to fix some monitors that'd be silent or have other weird audio volume issues.
* FDS channel redone to be hopefully more accurate.
* DPCM fixed to allow retriggering.
* Address bus filtering fixed so that graphical/palette glitches should be a thing of the past.
* PAL pixel capturing fixed.
* 4 new palettes added.
* Removed interpolation and associated menu. I needed the logic gates in the FPGA to fix the other things.

I tested 5 sets of PAL chips- 1 set always worked, but the other 4 had minor to very severe "speckling". These are all working perfectly now.
I tested 3 sets of "laser H rev" parts as found in the newest AV famicoms (I think) and they are all working perfect now as well.

This should fix all the problems people had I hope.

This update is a beta because I am not 100% sure I didn't break something else relating to DPCM, so if I did please let me know.

The four new palettes are:

Firebrand X NTSC
Firebrand X PVM D93
RGBSOURCE Hybrid
RGBSOURCE NESCAP

The original 4 palettes are still in there of course.

Hope that's enough because this thing is fulllllllll up. There is absolutely no room left anywhere. I have scavenged it all. btw,
the xray mode is "free" so it doesn't use any logic elements. It's the internal decisions being made about the HQX stuff. It's basically detecting edges.
/* this is a comment */

kjetil_f
Posts: 36
Joined: Tue Jun 07, 2016 11:43 pm

Re: Hi-Def NES HDMI Adapter for the NES

Post by kjetil_f » Wed Apr 26, 2017 2:19 am

kevtris wrote:Well here it is, after 14 months!

http://blog.kevtris.org/blogfiles/HiDef ... 20beta.nes
This is good news. Hope this can help the Pal-consoles. Any special way to update the firmware, or is it just to put the .nes-file into my Everdrive and start it up?

Johnpv
Posts: 2
Joined: Tue Apr 25, 2017 7:23 am
Location: New Jersey

Re: Hi-Def NES HDMI Adapter for the NES

Post by Johnpv » Wed Apr 26, 2017 3:20 am

AWESOME! Thanks for fitting 4 new palettes in there, that's super fantastic. Can't wait to get out of work, get home, and get this new firmware on there!

Thanks again for this awesome mod!

teknix1
Posts: 11
Joined: Tue Apr 25, 2017 7:48 am

Re: Hi-Def NES HDMI Adapter for the NES

Post by teknix1 » Wed Apr 26, 2017 7:13 am

Awesome work, thanks for your hard work Kev!

Any chance someone could comment on my wavy lines (missing pixel) issue at the top of the image? Are people not having the same problem? If so, is it just not bothering you or is there a way to make it better?

Thanks
Nic

Zantony
Posts: 2
Joined: Wed Jul 27, 2016 6:03 am

Re: Hi-Def NES HDMI Adapter for the NES

Post by Zantony » Wed Apr 26, 2017 7:25 am

I'm having trouble updating from 2.25. I'm using an (unfortunately) knockoff/clone EverDrive. Loading the HidefNES firmware update ROM leads to a gray screen and HidefNES's firmware update process fails the integrity check.

Just an FYI in case anyone else is in a similar position. Suppose it's time I upgraded to a legit EverDrive.

Post Reply