I'm super unsure if this really should be a part of hexyl, but let me explain:
I heavily use hexyl in my C64 developement process.
a comodore .prg files is prefixed with 2 bytes that are not actually part of the files content.
When loading a prg file to memory, the first two bytes pointing to the address in memory that file is loaded.
It would be super helpful if hexyl could set it's display-offset automatically.
i currently have a the following wrapper-script around hexyl to achive that:
Thank you. I think a wrapper script like you have is the best solution here. This seems a bit too specialized a use case in order for it to be integrated into hexyl. Thank you for sharing though!
I'm super unsure if this really should be a part of hexyl, but let me explain: I heavily use hexyl in my C64 developement process. a comodore
.prg
files is prefixed with 2 bytes that are not actually part of the files content. When loading a prg file to memory, the first two bytes pointing to the address in memory that file is loaded.It would be super helpful if hexyl could set it's display-offset automatically.
i currently have a the following wrapper-script around hexyl to achive that: