- 2 Posts
- 5 Comments
iliketurtiles@programming.devOPto
C Programming Language@programming.dev•How can I force the entry-point to be at start of .text?English
2·2 months agoOh I see, many thanks.
iliketurtiles@programming.devOPto
C Programming Language@programming.dev•How can I force the entry-point to be at start of .text?English
1·2 months agoI don’t know what a .map file is, will look into that. This does work, when I
objdumpit _start is at 0x0. But I’m curious if there is a better solution, I’d like to learn how it’s properly done.
iliketurtiles@programming.devto
Linux@programming.dev•Developer patches Wine to make Photoshop 2021 & 2025 run on Linux — Adobe Creative Cloud installers finally work thanks to HTML, JavaScript and XML fixesEnglish
11·2 months agoThere should be bounties to encourage getting specific software working on wine.
And maybe even projects for coordinating work to fix issues wine has with specific software. Something like a wine-adobe-cc community on GitHub where everyone interested can come together.
iliketurtiles@programming.devto
Linux@lemmy.ml•Share a script/alias you use a lotEnglish
3·9 months agoHere’s a script I use a lot that creates a temporary directory, cds you into it, then cleans up after you exit. Ctrl-D to exit, and it takes you back to the directory you were in before.
Similar to what another user shared replying to this comment but mine is in bash + does these extra stuff.
#!/bin/bash function make_temp_dir { # create a temporary directory and cd into it. TMP_CURR="$PWD"; TMP_TMPDIR="$(mktemp -d)"; cd "$TMP_TMPDIR"; } function del_temp_dir { # delete the temporary directory once done using it. cd "$TMP_CURR"; rm -r "$TMP_TMPDIR"; } function temp { # create an empty temp directory and cd into it. Ctr-D to exit, which will # delete the temp directory make_temp_dir; bash -i; del_temp_dir; } temp
thanks for the reply. my goal is in fact to take what is at address 0xf0 and store it at 0x400. I know it resembles another beginner error but it’s not this time :)
the example code I’ve given looks pretty contrived but I’ll be using this to write startup code for a microcontroller, and the values starting at src are initial values in flash I need to copy over to dest which is SRAM.