41-MCODE: Copying X-Mem Files
|
03-14-2014, 06:37 AM
(This post was last modified: 03-14-2014 06:39 AM by Ángel Martin.)
Post: #2
|
|||
|
|||
RE: 41-MCODE: Copying X-Mem Files
Because ASCII files are structured in Records, it's possible that the previous code messes up the destination file when both file sizes are not the same: it will copy registers until reaching the minimum of both sizes, which may leave out an EOR character for the last register.
Here's a safer version that requires both files having the same size - you can choose which one suits you better. Use it safely for all file types, like-to-like and same sizes. Code:
Cheers, 'AM PS. I tried to attach the RAMPAGE ROM image but it appears that file type isn't allowed any longer, ditto with MOD files - is that intended? "To live or die by your own sword one must first learn to wield it aptly." |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
41-MCODE: Copying X-Mem Files - Ángel Martin - 03-13-2014, 04:49 PM
RE: 41-MCODE: Copying X-Mem Files - Ángel Martin - 03-14-2014 06:37 AM
RE: 41-MCODE: Copying X-Mem Files - Ángel Martin - 03-15-2014, 09:52 AM
|
User(s) browsing this thread: 2 Guest(s)