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

My hardware: ** 1985 Schneider CPC 464 with CTM644 (originally a GT65), dk'tronics 64k extension, 3" and 5,25 disk drives, A/B drive switch, Multiface 2, custom Amsdos-ROM with integrated SMon, switchable 6128 ROM, reset and pause switches. ** Amstrad CPC 6128 with CTM (same as above), M4 board, GreaseWeazle.

10 print"This is no signature.": goto 10

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

My hardware: ** 1985 Schneider CPC 464 with CTM644 (originally a GT65), dk'tronics 64k extension, 3" and 5,25 disk drives, A/B drive switch, Multiface 2, custom Amsdos-ROM with integrated SMon, switchable 6128 ROM, reset and pause switches. ** Amstrad CPC 6128 with CTM (same as above), M4 board, GreaseWeazle.

10 print"This is no signature.": goto 10

Powered by SMFPacks Menu Editor Mod