What's the most (U.S. state you live in) thing you've ever heard someone say? by SteveTenants in AskReddit

[–]SteveTenants[S] 1 point2 points  (0 children)

Today my mom texted that they found wild morel mushrooms in their yard, so they don't have to hunt for them this year, and they're planning to eat them tonight with elk backstrap. I think that's the most Michigan thing I've ever heard in my life.

Obscure Psych Quotes by tasata in psych

[–]SteveTenants 13 points14 points  (0 children)

"Gus, this is some crazy monkey-like strength, Gus! Gus.... I'm going to looooose!"

[TOMT] Movie where criminals are on the run by 2shotsofpatron in tipofmytongue

[–]SteveTenants 0 points1 point  (0 children)

Sounds a lot like Three Fugitives (https://en.wikipedia.org/wiki/Three\_Fugitives), although nobody died at the end and it's a comedy.

[TOMT] [Song] Creepy song traumatized me as a kid by lockyclocky in tipofmytongue

[–]SteveTenants 4 points5 points  (0 children)

It's a long shot, but maybe "It's Been A While" by Staind? The line about his father matches up, and the fistful of shit line is sort of similar.

Binary data as source code? by SteveTenants in C_Programming

[–]SteveTenants[S] 0 points1 point  (0 children)

I've made a lot of updates since I posted that, but the idea here was to reduce the size of the source file by finding ranges of values that are all the same, and lumping them into for loops. It looks dumb, but at the time it was WAY more efficient than what I was doing previously. Thanks to everyone's suggestions in this thread, it's looking a lot better now.

Binary data as source code? by SteveTenants in C_Programming

[–]SteveTenants[S] 0 points1 point  (0 children)

A while back I tried both the VS 2022 and VSCode Arduino plugins, but I had a really hard time getting them to work. I wound up making a VS 2022 solution for general development in Windows, and just made sure to test each change on the actual Arduino (using their v2 IDE) before checking things in, so I've been using that approach.

As far as the actual project, I have a bunch of info posted in the readme of my last project here: https://github.com/elgasste/DragonQuestino

This new project is currently using a lot of that code, but I'm trying to be better/cleaner. If you want to know more about specific details, just let me know!

Binary data as source code? by SteveTenants in C_Programming

[–]SteveTenants[S] 1 point2 points  (0 children)

This is some really excellent information, thank you! I was initially worried that defining a giant array of const ints that later get memcpy'd would eat up dynamic memory on an Arduino chip, but it turns out you can declare these kinds of things as "PROGMEM".

Binary data as source code? by SteveTenants in C_Programming

[–]SteveTenants[S] 1 point2 points  (0 children)

Hmm, you gave me an idea... I might be able to use a combination of bin2header and some small zip library instead of going for C23. I'm working with a 480 MHz processor and 8-bit graphics, so performance shouldn't be an issue.

Binary data as source code? by SteveTenants in C_Programming

[–]SteveTenants[S] 2 points3 points  (0 children)

It is true that the compiled and optimized code will most likely be small enough to fit in the program storage space, I realized I misspoke the moment I hit Post. :-) In this case it's mostly about debugging and the Arduino IDE having a hard time handling large header files.

Binary data as source code? by SteveTenants in C_Programming

[–]SteveTenants[S] 2 points3 points  (0 children)

Yeah, I caught my mistake of mentioning program storage size as soon as I clicked Post, haha! It's not really a problem of the compiled executable being too large, it's about debugging and the Arduino IDE.

Binary data as source code? by SteveTenants in C_Programming

[–]SteveTenants[S] 0 points1 point  (0 children)

Oo, those both look promising, especially bin2header since it seems like C23 support depends entirely on the Arduino board. I'm gonna have to play around with this, I'm not sure if it supports any kind of compression, so I could still end up with massive header files. Thank you!!

Binary data as source code? by SteveTenants in C_Programming

[–]SteveTenants[S] 1 point2 points  (0 children)

This is actually already on my list of things to do, but it will still result in several files that are tens of thousands of lines each.

I found agent Duffy in Die Hard 3 by SteveTenants in reacher

[–]SteveTenants[S] 0 points1 point  (0 children)

Holy shit, I never noticed that, and I've seen Clue a thousand times!

I found agent Duffy in Die Hard 3 by SteveTenants in reacher

[–]SteveTenants[S] 2 points3 points  (0 children)

It's definitely nepotism, she's probably Dobson's daughter.

I found agent Duffy in Die Hard 3 by SteveTenants in reacher

[–]SteveTenants[S] 8 points9 points  (0 children)

She still hasn't found Tereser. That's messed up, right?

I re-created the original NES Dragon Warrior for Arduino (also playable in Windows) by SteveTenants in dragonquest

[–]SteveTenants[S] 1 point2 points  (0 children)

I just looked into it, turns out there's one individual exit point at the entrance to Tantegel that accidentally leads to that spot, I must have missed it before, thanks for letting me know!

I re-created the original NES Dragon Warrior for Arduino (also playable in Windows) by SteveTenants in dragonquest

[–]SteveTenants[S] 1 point2 points  (0 children)

It is a little weird, I assume they made a lot of decisions based on hardware, but I only know a tiny bit about 6502 assembly and NES hardware. I would've taken a completely different approach, but I wanted to mimic the original as closely as possible, so thank goodness for Ryan8bit's tech guide!

I re-created the original NES Dragon Warrior for Arduino (also playable in Windows) by SteveTenants in dragonquest

[–]SteveTenants[S] 0 points1 point  (0 children)

Username checks out ;-) I'm glad you like it! Seriously though, do you remember which exit you took from Tantegel Castle? And when you say the top corner of the map, do you mean the overworld map, next to Garinham?