News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_BSC

Snapshot (.sna) file editing

Started by BSC, 21:45, 01 February 22

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

BSC

Is there any tool to create new or manipulate existing snapshot files? I want to inject some code into an existing snapshot, but RetroVirtualMachine (the emu I am currently using) only accepts v3 snapshots and those have a non-linear (chunked) format, so it's not trivial to inject something.

btw: I tried searching the forums but according to the search, the word "snapshot" has never been used yet ..


EDIT: rasm can do this, and very easily as well! :thumbsup:
** My SID player/tracker AYAY Kaeppttn! on github **  Some CPC music and experiments ** Other music ** More music on scenestream (former nectarine) ** Some shaders ** Some Soundtrakker tunes ** Some tunes in Javascript

My hardware: ** Schneider CPC 464 with colour screen, 64k extension, 3" and 5,25 drives and more ** Amstrad CPC 6128 with M4 board, GreaseWeazle.

eto

Quote from: BSC on 21:45, 01 February 22btw: I tried searching the forums but according to the search, the word "snapshot" has never been used yet ..

The forum search is broken, use Google with option site:cpcwiki.eu

https://www.google.com/search?q=snapshot+site%3Acpcwiki.eu&oq=snapshot+site%3Acpcwiki.eu

krusty_benediction

#2
Quote from: BSC on 21:45, 01 February 22Is there any tool to create new or manipulate existing snapshot files? I want to inject some code into an existing snapshot, but RetroVirtualMachine (the emu I am currently using) only accepts v3 snapshots and those have a non-linear (chunked) format, so it's not trivial to inject something.

Hello I maintain such kind of tools here: https://github.com/cpcsdk/rust.cpclib/releases
I'm starting to have free time from today ... so I can update it this weekend to add features you need. snapshot tool currently can add a byte at a specific address, but not a binary blob (in fact, it seems you can with -l option)

BSC

Quote from: krusty_benediction on 13:23, 02 February 22I'm starting to have free time from today ... so I can update it this weekend to add features you need. snapshot tool currently can add a byte at a specific address, but not a binary blob (in fact, it seems you can with -l option)

That's a very nice offering, but I am perfectly happy with the rasm way. But thanks for your xfer tool btw and keep it up!
** My SID player/tracker AYAY Kaeppttn! on github **  Some CPC music and experiments ** Other music ** More music on scenestream (former nectarine) ** Some shaders ** Some Soundtrakker tunes ** Some tunes in Javascript

My hardware: ** Schneider CPC 464 with colour screen, 64k extension, 3" and 5,25 drives and more ** Amstrad CPC 6128 with M4 board, GreaseWeazle.

Powered by SMFPacks Menu Editor Mod