Jump to content
rbairos

Movie Cart

Recommended Posts

1 hour ago, rbairos said:


Okay, I'll shift that dummy line.

Reason I have org's everywhere is the hardware version of this was implemented with a 1K dual-port ram.
It monitored line A7 to determine which of the eight 128-byte regions it was in, to know what to update.
The emulator also monitors A7 for the same reason.
Didn't know about the ALIGN macro, though I still have to be very specific where everything lives.

Stay tuned..
 

 

The time-counter OSD for the movie files @Andrew Davie has created are messed up when compared to your files, @rbairos. In Stella as well as the Gopher2600 port. Why would that be?

 

on edit: added screenshots.

 

* using the latest core.bin so the gap is present. But it is also the case with the previous core.bin

 

pix_core_circle_20210912_131202_double_1.jpg

 

pix_knockonwood_20210912_131219_double_1.jpg

Edited by JetSetIlly

Share this post


Link to post
Share on other sites
14 minutes ago, Thomas Jentzsch said:

@stephena Can you incorporate the changes into Stella?

@rbairos Do you expect more changes? Stereo maybe?

I still need to fix that offset.

Stereo is a few more changes as I have different kernel for updating during overscan.

I'll create a pull request when it's ready

Share this post


Link to post
Share on other sites
4 minutes ago, JetSetIlly said:

 

The time-counter OSD for the movie files @Andrew Davie has created are messed up when compared to your files, @rbairos. In Stella as well as the Gopher2600 port. Why would that be?

 

 

It may not have the same font installed on his mac that is used during encoding.

Share this post


Link to post
Share on other sites
14 minutes ago, rbairos said:

It may not have the same font installed on his mac that is used during encoding.

Gotchya. The Volume bars and labels are part of the hardware/emulation but the time code is part of the encoding.

Share this post


Link to post
Share on other sites

I suspect a bug in stella implementation...?   Late in the "Kong" MVC, the movie starts exhibiting significant corruption.

Some stella frames...  we're looking at the horizontal lines/corruption

 

 

743066473_ScreenShot2021-09-12at10_54_05pm.thumb.png.afccd400e584b580f0238c2a71f68326.png

1746207711_ScreenShot2021-09-12at10_53_59pm.thumb.png.d6c047f8855abb8634d72d93e639e058.png

1358151548_ScreenShot2021-09-12at10_53_50pm.thumb.png.1048462352fa3cd9971f5da0594bc294.png

 

 

The reason I think the MVC file is OK is because Gopher displays the same without corruption (e.g., the last frame of the movie...)

stella...

1676162286_ScreenShot2021-09-12at10_55_53pm.thumb.png.fac4dd6f969fdb80d54bfe3a9a415d18.png

gopher...

 

1369869387_ScreenShot2021-09-12at10_59_49pm.thumb.png.a516d8b323a1954007a408ff3f86e430.png

Share this post


Link to post
Share on other sites
14 minutes ago, Andrew Davie said:

I suspect a bug in stella implementation...?   Late in the "Kong" MVC, the movie starts exhibiting significant corruption.

Some stella frames...  we're looking at the horizontal lines/corruption

 

 

743066473_ScreenShot2021-09-12at10_54_05pm.thumb.png.afccd400e584b580f0238c2a71f68326.png

1746207711_ScreenShot2021-09-12at10_53_59pm.thumb.png.d6c047f8855abb8634d72d93e639e058.png

1358151548_ScreenShot2021-09-12at10_53_50pm.thumb.png.1048462352fa3cd9971f5da0594bc294.png

 

 

The reason I think the MVC file is OK is because Gopher displays the same without corruption (e.g., the last frame of the movie...)

stella...

1676162286_ScreenShot2021-09-12at10_55_53pm.thumb.png.fac4dd6f969fdb80d54bfe3a9a415d18.png

gopher...

 

1369869387_ScreenShot2021-09-12at10_59_49pm.thumb.png.a516d8b323a1954007a408ff3f86e430.png

 

Interesting. Although we should be careful because the version of Gopher2600 you've tried there is using the older core.bin from last week. Whereas Stella is using the newer core.bin from today. Pull this branch of Gopher2600 for a true comparison https://github.com/JetSetIlly/Gopher2600/tree/moviecart

 

That said, you might be right. This the last frame with the new core.bin

 

crt_kong_20210912_141228_double_1.thumb.jpg.0f13d94b83627b3534e9279d098da276.jpg

Edited by JetSetIlly

Share this post


Link to post
Share on other sites
32 minutes ago, JetSetIlly said:

 

Whereas Stella is using the newer core.bin from today. Pull this branch of Gopher2600 for a true comparison https://github.com/JetSetIlly/Gopher2600/tree/moviecart

 

I must admit to not knowing how to grab that branch.  git clone didn't work with that URL....

I can see the branch with the browser.

 

Nevermind.

Edited by Andrew Davie

Share this post


Link to post
Share on other sites
3 hours ago, Thomas Jentzsch said:

@stephena Can you incorporate the changes into Stella?

@rbairos Do you expect more changes? Stereo maybe?


It works!!

I've created a pull request for the background enhancements.
I'll redo the examples with background soon.

Deferring the stereo audio for now, as I'd have to rejig the overscan audio portion as well. Not a large task though.

 

  • Like 1

Share this post


Link to post
Share on other sites
3 hours ago, JetSetIlly said:

Gotchya. The Volume bars and labels are part of the hardware/emulation but the time code is part of the encoding.


Yah, it's kinda funny but the whole project was designed with a low-power microcontroller hardware cart in mind.   If the end result means different timecode fonts based on geographic location where it was created, that's kinda neat actually.
 

Share this post


Link to post
Share on other sites
12 minutes ago, rbairos said:

It works!!

I had a look-see. It's a remarkable thing - congratulations!

Who woulda thought it would be possible to have such quality.

  • Like 1

Share this post


Link to post
Share on other sites

Super-low-priority request, but I'd love it if subtitles could be an optional extra in the encoding.

I see them appearing in a scrolling line where the volume/brightness controls are, and toggled on/off by some switch on the console.

Share this post


Link to post
Share on other sites
4 hours ago, Andrew Davie said:

Here's another test ROM that's much larger... (Kong vs Dinosaurs)

https://www.dropbox.com/s/1x4xte4056ulrtb/kong.mvc?dl=0

 

Edit: and another (Knock on Wood - Amii Stewart)

https://www.dropbox.com/s/na24ontc5pfp4mr/knockonwood.mvc?dl=0

 


So Kong:
Looks great.
Timecode is mixed up from the start.
I see the bad background cells near the end (as the woman emerges from the lake)

Knock on Wood:
Also awesome.
Timecode looks good, but different font.
Doesn't seem to breakup.

Probably an issue with the encode is my first guess.

*However* I notice the stella emulator outputs some stray pixels in the OSD text, and forward right fails, only when I compile in release vs debug.
Haven't investigated, but something definitely weird there.

 

Share this post


Link to post
Share on other sites
1 minute ago, rbairos said:


Probably an issue with the encode is my first guess.
 

If an issue with the encode, then hard to explain why Gopher seems to display OK.

Not thoroughly tested, but at least the last frame of kong is confirmed good on kong and bad on stella.

Share this post


Link to post
Share on other sites
3 minutes ago, Andrew Davie said:

Super-low-priority request, but I'd love it if subtitles could be an optional extra in the encoding.

I see them appearing in a scrolling line where the volume/brightness controls are, and toggled on/off by some switch on the console.

Yes absolutely.
Im trying to keep the number of SD blocks per frame at 5*512, as the SD card bandwidth using SPI was low, but I think we'd still be under.
It could be decoded and scrolled directly in TouchDesigner during encoding likely, much like the existing timecode text.

Also well as SAP.
Right now, Im only using half of each byte for the audio in the file.
The upper nibble could be used for alternate audio.
When I first encoded Star Wars, silver screen edition, it defaulted to an Italian soundtrack.
I contemplated exposing that.

Also important is a PAL setting.


 

Share this post


Link to post
Share on other sites
3 minutes ago, Andrew Davie said:

If an issue with the encode, then hard to explain why Gopher seems to display OK.

Not thoroughly tested, but at least the last frame of kong is confirmed good on kong and bad on stella.

Oh, does it play well throughout on Gopher??
That might be related to my strange production-only compile issues with Stella.

I thought it may be the encoding as it's always starts in the exact same spot.
 

Edited by rbairos

Share this post


Link to post
Share on other sites
16 minutes ago, rbairos said:


I thought it may be the encoding as it's always starts in the exact same spot.
 

I am not setup with the correct branch of gopher to check/confirm behaviour definitively on that emulator.

 

Share this post


Link to post
Share on other sites
12 minutes ago, Andrew Davie said:

I am not setup with the correct branch of gopher to check/confirm behaviour definitively on that emulator.

New moviecart core pushed to master branch of Gopher2600, @Andrew Davie

 

For future reference, after you've cloned a repository (git clone <url>) you can pull another branch with "git pull origin <branch>". After that you can checkout the branch with "git checkout <branch>"

 

@rbairos It looks and sounds fantastic!

  • Like 1

Share this post


Link to post
Share on other sites

Feature idea: Encoding with the intention that the TV is to be viewed on it's side. By doing this, you could get a picture wider than it is tall and closer to the normal TV ratio.

 

Additional idea: a single bit in the cartridge that indicates the orientation of the encoding. It wouldn't do anything on the hardware (except maybe an LED indicator) but it could be used by emulators to rotate the TV output automatically.

  • Like 1

Share this post


Link to post
Share on other sites

I'm encoding "Princess Bride" - I thought these were amusing.

They're the moviecart rendering of a NES baseball game being played in the movie....

 

1161822252_ScreenShot2021-09-13at3_17_45am.thumb.png.cb91e442c9c25c0fb9c658e23063035e.png

1273373697_ScreenShot2021-09-13at3_17_43am.thumb.png.74fdfbba542e88a3330156c15fe62185.png

 

  • Like 2

Share this post


Link to post
Share on other sites
1 hour ago, Andrew Davie said:

Super-low-priority request, but I'd love it if subtitles could be an optional extra in the encoding.

I see them appearing in a scrolling line where the volume/brightness controls are, and toggled on/off by some switch on the console.

Yes but not just in English, all languages please and let's not forget the DVDs directors cuts as well. Lol... 😀 (sorry my attempt at humor)

  • Like 1

Share this post


Link to post
Share on other sites
18 minutes ago, Andrew Davie said:

I'm encoding "Princess Bride"

 

When I was your age, DVDs were called Moviecarts!

  • Like 1
  • Haha 2

Share this post


Link to post
Share on other sites

I wonder if picture quality would improve if we keep the PF color active for the whole sprite area. So that we have no black gaps, but colored ones. This would increase color saturation, but also decrease contrast.

 

Here is my demo doing what I described.

 

image.thumb.png.6af6bbea0ee6b70f2ec4e0314a30aad6.png

movie_kernel_v3.bin

Share this post


Link to post
Share on other sites
1 hour ago, rbairos said:

...forward right fails, only when I compile in release vs debug.
Haven't investigated, but something definitely weird there.

That clearly indicates a coding error.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...