Author Topic: Hi-Def NES - a 1080p HDMI mod kit!  (Read 10586 times)

thesteve

  • Hero Member
  • *****
  • Posts: 2952
Re: Hi-Def NES - a 1080p HDMI mod kit!
« Reply #15 on: November 18, 2014, 02:34:05 PM »
then you have no need for it

EvilEvoIX

  • Hero Member
  • *****
  • Posts: 1895
Re: Hi-Def NES - a 1080p HDMI mod kit!
« Reply #16 on: November 19, 2014, 01:39:14 AM »
This looks great but I think I just want a component mod for me through my CRT TV.


Quote from: ProfessorProfessorson
I already dropped him a message on there and he did not reply back, so f*ck him, and his cunt wife.

ishiyakazuo

  • Full Member
  • ***
  • Posts: 106
Re: NESHD - a 1080p HDMI mod kit!
« Reply #17 on: November 19, 2014, 03:43:15 AM »
I saw this mod on a website today... my problem is I don't play on LCD or Plasma. I much prefer playing on a CRT the way these games were originally designed to be played on.
I've got a CRT with HDMI on it... they do exist ;)  I'm not sure Duck Hunt would work with this on it (in fact, if it doesn't output 480i/576i, I'm fairly sure it wouldn't).

EvilEvoIX

  • Hero Member
  • *****
  • Posts: 1895
Re: Hi-Def NES - a 1080p HDMI mod kit!
« Reply #18 on: November 19, 2014, 05:12:43 AM »
I saw this mod on a website today... my problem is I don't play on LCD or Plasma. I much prefer playing on a CRT the way these games were originally designed to be played on.
I've got a CRT with HDMI on it... they do exist ;)  I'm not sure Duck Hunt would work with this on it (in fact, if it doesn't output 480i/576i, I'm fairly sure it wouldn't).

I do to, is a Sony Wega with HDMI and has a 4:3 aspect ratio but here is the issue:

Any time I use HDMI the screen is locked into a widscreen format meaning bars on top and bottom.  Anyway around that?


Quote from: ProfessorProfessorson
I already dropped him a message on there and he did not reply back, so f*ck him, and his cunt wife.

Game-Tech.US

  • Sr. Member
  • ****
  • Posts: 250
Re: Hi-Def NES - a 1080p HDMI mod kit!
« Reply #19 on: November 20, 2014, 02:26:55 AM »
Copy of Kevin's nesdev post:

I got the HQ2X/3X/4X scaling working now and made an example video of the HQ3X at 720p. I cannot record 1080p unfortunately so I can't capture the 4X one in video.



There's no audio because I needed the room for the scaler. Because space constraints have been hit, I am going to stuff another board with a bigger part that fortunately has the same pinout, hopefully alleviating my space issues.

With this bigger part, I should be able to get VRC7 in there too. (VRC7 is around 1300 LEs, while the HQX scaler is 2230 and the 65C02 core is 1320).

Medic_wheat

  • Hero Member
  • *****
  • Posts: 2854
Re: Hi-Def NES - a 1080p HDMI mod kit!
« Reply #20 on: November 20, 2014, 06:15:15 AM »
Copy of Kevin's nesdev post:

I got the HQ2X/3X/4X scaling working now and made an example video of the HQ3X at 720p. I cannot record 1080p unfortunately so I can't capture the 4X one in video.



There's no audio because I needed the room for the scaler. Because space constraints have been hit, I am going to stuff another board with a bigger part that fortunately has the same pinout, hopefully alleviating my space issues.

With this bigger part, I should be able to get VRC7 in there too. (VRC7 is around 1300 LEs, while the HQX scaler is 2230 and the 65C02 core is 1320).

Oh if only I spoke engineering.  Sigh.

All these words and numbers sounds impressive though.

Game-Tech.US

  • Sr. Member
  • ****
  • Posts: 250
Re: Hi-Def NES - a 1080p HDMI mod kit!
« Reply #21 on: November 22, 2014, 01:46:25 AM »
From Kevtris:

I just posted my first update video evar on this project using my new camera.


Game-Tech.US

  • Sr. Member
  • ****
  • Posts: 250
Re: Hi-Def NES - a 1080p HDMI mod kit!
« Reply #22 on: November 24, 2014, 01:18:23 AM »
From Kevtris:

Here's some example scanline tests from the scanline generator I was working on tonight. I have finished scalers 100% and that is done, so I started on the scanline generators.

http://blog.kevtris.org/blogfiles/hdmi/ ... es/latest/

I ran into a problem which I knew I'd have on 1080p (and PAL modes). That is, each NES scanline requires a non-integer number of scanlines on the HDMI display. Namely at 1080p, each NES scanline needs 4.5 HDMI scanlines.

This means that the height of each subsequent NES scanline alternates 4/5/4/5/4/5 HDMI lines.

To counter this (you can see an example of what this type looks like, see below) I came up with a scan line generator that "free runs" in relation to the NES video, instead of trying to "scanline" each NES line on the HDMI display. The results of this method are in the above /latest/ directory.

There's also a scanline generator that is tied to the actual NES scanlines, but it can look bad (especially on PAL) due to the afore-mentioned problem. Those are here:

http://blog.kevtris.org/blogfiles/hdmi/scanlines/

the filename describes how "Deep" the scanline effect is. 0 = no scanlines at all, FF = maximum.

Game-Tech.US

  • Sr. Member
  • ****
  • Posts: 250
Re: Hi-Def NES - a 1080p HDMI mod kit!
« Reply #23 on: November 30, 2014, 01:33:02 AM »
Latest news from Kevtris:

I have finished the FPGA side pretty much of this project now. In the last few days I have added:

* scanline generators (two kinds- NES locked and free run)

* menu! menu now lets you set up all of the video parameters from the controller.

* MMC5 audio (totally new core)
* VRC6 audio (heavily rewrote)
* FDS audio (totally new core)
* N106 audio (some rewriting)
* sunsoft5B audio (some rewriting)
* VRC7 (some rewriting)

* Audio FIR filter (2 stage)

The audio stuff is ported from the FPGA NES project and have been gone over again to fix bugs, update old code and all that. Some of it was early verilog I had written and it was ugly so it got rewritten.

The FPGA resources are now totally used up:

* logic elements: 98%
* pins: 100%
* PLLs: 100%
* multipliers: 2 left
* blockrams: 100%

This means that the scanline generators are going to have to stay as they are but I think it should be fairly usable. I tried a bunch of "NES locked" scanline generator ideas people mentioned in here and on the IRC channel but they all looked pretty bad and noticeable, unfortunately.

Setting the 1080p mode to 3x scanlines (a "scanline" every 3 HDMI lines) which is higher resolution than the NES and then using one of the scalers looks fairly passable. If you want "real" scanlines, then 720p or 480p modes will need to be used. PAL systems will have to use the free run mode most likely since the scaling on them is non-integer due to hardware restrictions between the PPU frame and the HDMI frame.

All expansion audio is implemented and works now. The VRC7 needs some slight tweaking but seems to be pretty close. At the time I implemented this I didn't know about the ADSR control bit so I will add that.

I have each source separate, and relative volumes of all channels are adjustable against each other. I still need to write a boatload of menu code to allow you to adjust all the parameters though (relative volumes) but the hardware side is all done at least.

Each chip and in some cases sub channels are all individually pannable. This includes the original NES channels (all are pannable individually), VRC6 (individually pannable), MMC5 (same), and the others are pannable as a unit. VRC7 has 2 outputs that can be panned individually left/right, each being a set of 3 channels.

There's a FIR filter to cut out most of the aliasing from the audio and works quite decent. Looped noise sounds pretty decent. There's still a tiny bit of aliasing on very very very high frequency squares but this is unavoidable. The only time I could hear it was when I used a program that let me manually poke the sound registers.

I will release another update video soon outlining some of the new features I added in the last week.

Game-Tech.US

  • Sr. Member
  • ****
  • Posts: 250
Re: Hi-Def NES - a 1080p HDMI mod kit!
« Reply #24 on: December 01, 2014, 02:43:23 AM »
Video of Kevin putting together the 1st prototype board using stencil and solder paste, his vacuum tool, and his reflow oven.
« Last Edit: December 13, 2014, 03:44:49 PM by Game-Tech.US »

Game-Tech.US

  • Sr. Member
  • ****
  • Posts: 250
Re: Hi-Def NES - a 1080p HDMI mod kit!
« Reply #25 on: December 01, 2014, 09:49:18 AM »
News from Kevtris:

I have put up a video outlining all of the features of the Hi Def NES adapter's video functionality now it's here:



I show off the scanlines, stretching, interpolation and scalers.

thesteve

  • Hero Member
  • *****
  • Posts: 2952
Re: Hi-Def NES - a 1080p HDMI mod kit!
« Reply #26 on: December 02, 2014, 09:23:59 AM »
looks good

Game-Tech.US

  • Sr. Member
  • ****
  • Posts: 250
Re: Hi-Def NES - a 1080p HDMI mod kit!
« Reply #27 on: December 02, 2014, 10:32:45 AM »
More info from Kevin:
The hdmi mod does not stop people using the analog audio from the NES- it still is there coming out of the CPU and is unaffected.  If people want to keep using it (and even powerpak expansion audio or cart audio on famicoms) this will still work as normal.

I just recreate (rather than digitizing) the audio so I have it in digital form.  Someone also asked the sample rate.  It's 16 bit, 48KHz since this seems to be the "standard" on HDMI.  I could emit 96KHz 24 bit but then no one could hear the audio.

Punch

  • Hero Member
  • *****
  • Posts: 3278
Re: Hi-Def NES - a 1080p HDMI mod kit!
« Reply #28 on: December 02, 2014, 12:13:15 PM »
He hooks up directly to the PPU right? I wonder if he could bypass/duplicate sprite rendering (emulating it on the FPGA instead) to eliminate horizontal sprite limitations (with the option to enable/disable obviously).

Game-Tech.US

  • Sr. Member
  • ****
  • Posts: 250
Re: Hi-Def NES - a 1080p HDMI mod kit!
« Reply #29 on: December 08, 2014, 01:53:55 AM »
News from Kevtris:

Well the audio update video has been posted showing off all of the expansion audio capabilities, along with cropping.




Enjoy! (yeah the sunsoft 5B was a lot quieter than it should'a been. that's why there is a gain control!)

Going to work on palettes next and flesh out the rest of the menu next.