Once you get uncompiled/disassembled sourcecode it is rather difficult to work out what it is doing, unless you have a really good memory of the structure of the original source.
The variables would be fairly easy to work out for things you have coded yourself, but still pretty hard when working on someone elses code.
Thanks Lonewolf10, I completely agree. Having pulled apart more 680xx code than is good for anyone (I really must get out more
) what you end up with is still pretty unintelligible. Even with the AMOS Pro sources, it's very hard to follow what the author's intent was without a lot of hard work mapping out what the code's doing. Without the sources (asm or AMOS) it's
very,
very difficult.
So let's try and lay this myth to rest. An AMOS decompiler is very unlikely to be built, ever. There may be some benefit in
disassembling some programs that really need bugs fixing. But even that is a lot of hard work with, sometimes, no worthwhile result.
So, as I replied to rednova, your source files are gold. Treat them as such. Personally I back up my system each day to separate drives (on the basis that it's unlikely that more than one drive will fail at once
). When I'm writing stuff, you may have noticed that I liberally use "version numbers" embedded in the file names (eg. the on-going docs for the AMOS Loader/Interpreter). This is not just for regression to previous versions if I need them. It's because I want as many copies strewn around my drives as possible. If I'm making major changes,
files get backed up at every change point. Until you get a hard drive crash (or a load of soggy, unreadable floppies - which is what happened to my Amiga library at a mate's place when it got flooded) you won't realise how important this is! I won't admit to sobbing for days 'cos I'm a bloke
, but it's gut-wrenching.
So don't learn the lesson the hard way. Always keep your old stuff and move it to fresh media every few years. You never know when you may need it again (some of my PC backups go back to the 90s).