Recent Posts

51
Thumby / Re: Doom
« Last post by henryg on February 10, 2024, 04:05:44 AM »
It actually was the spi rate!

here is the diff file of the only change I made and it started running. I messed around with some FRAME_PERIOD settings to find the best, one, but that will wait until after sleep. Prior to this change, no matter what I set FRAME_PERIOD or PARK_LINES to, it would not work. So I can now compile and mess with stuff on my own to get everything working as smoothly as possible for my devices.

I guess the only question I have left is if there there is an easy to way to build it into a single file with the whx, like the release on github?

Thank you sooo much for helping troubleshoot this even though you weren't able to replicate it.

--- ../src/pico/i_video.c.orig   2024-02-10 01:57:59.954548400 -0600
+++ ../src/pico/i_video.c   2024-02-10 02:43:46.964548400 -0600
@@ -438,7 +438,7 @@
 
     gpio_set_function(PICO_DEFAULT_SPI_SCK_PIN, GPIO_FUNC_SPI);
     gpio_set_function(PICO_DEFAULT_SPI_TX_PIN, GPIO_FUNC_SPI);
-    spi_init(spi0, 62500000);
+    spi_init(spi0, 62000000);
     spi_set_format(spi0, 8, SPI_CPOL_0, SPI_CPHA_0, SPI_MSB_FIRST);
 
     gpio_put(J_OLED_CS, 1);
52
Thumby / Re: Doom
« Last post by AncientJames on February 09, 2024, 05:11:42 PM »
For that last one, I lowered the spi transfer rate and turned off the frame syncing (although I doubt the transfer rate was a factor here). It sounds as though your device would work just with different settings for PARK_LINES and FRAME_PERIOD. Failing that, getting the frame period approximately right and skipping the sync trick doesn't look too bad.

If you're able to build your own version that's probably the way to go, since I don't have the hardware to test on.
53
Thumby / Re: Doom
« Last post by htmlgames on February 04, 2024, 03:38:28 PM »
Cool and thanks for update henryg.

Also, would it be possible to have a v1.1 for the uf2 single install please?
54
Thumby / Re: Doom
« Last post by henryg on February 04, 2024, 03:02:01 PM »
That worked! (The most recent doom_tiny.uf2). The sync needs tweaking, but I was able to play the game! What ended up being the problem and can I pull the updated code somewhere (didn't see it on GitHub)? Thank you so much for your effort troubleshooting this!
55
Thumby / Re: Doom
« Last post by htmlgames on February 04, 2024, 02:22:31 PM »
Hi  AncientJames,
  Thanks for supplying the updates, I think your close to solving this now. BTW I'm currently working on a project so cannot test the above latest files just yet....

I've noticed on the newer thumby grayscale py needs a fix in general - even those from thumby arcade.

 I'm not sure your project uses the grayscale py files that the thumby arcade uses, but I will mention the fix to that file with the changes for more recent thumby (and what I believe the person above may have as both having similar issues).

 It looks like during screen init you need to have a small delay for it to work. I did this 'hack' by using playBlocking cmd for this.
Grayscale arcade games now run 100% from the arcade once I modify that file.
(Search for pf in the attached file if you're interested)

edit'; here's the tumbyGS.cfg file contents from mine.
gsV3,timing,107,oled,0
56
Thumby / Re: Doom
« Last post by AncientJames on February 04, 2024, 12:17:32 AM »
OK, try this one and see how far it gets.
57
Thumby / Re: Doom
« Last post by henryg on February 03, 2024, 08:20:47 PM »
I got the splash image!!! The screen just went black after, but it at least got that far.
58
Never mind. The actual problem was QuickTime video player
59
Thumby / Re: Doom
« Last post by AncientJames on January 31, 2024, 12:16:31 AM »
I've built a version which puts the doom logo on screen for 2 seconds immediately on start, using conservative timings and no greyscale tricks. This might help establish where the problem is.
The uf2 file is attached here. It doesn't contain the whx data, but if you upload the 'single install' release first then this file, it should retain the data.



60
I think this is a new issue as I was able to make longer videos previously. I tried a few files & a reinstall. They all cut off at 1.5 hours of conversion. I'll try the same files on my PC tomorrow.

I'm trying to load some 5+ hour videos onto my TTV.
SMF spam blocked by CleanTalk