EASy68K
http://easy68k.com/EASy68Kforum/

Problem with EASyBIN saving data containing 0xE5 to S record
http://easy68k.com/EASy68Kforum/viewtopic.php?f=8&t=1598
Page 1 of 1

Author:  Plasmo [ Mon Jul 31, 2017 5:59 pm ]
Post subject:  Problem with EASyBIN saving data containing 0xE5 to S record

I experienced a problem with saving data to S record file using EASyBIN version 2.4.1: I'm porting CP/M 68K to EASy68K environment. During simulation with SIM68K, I captured a portion of 68000 memory image and save it as a binary file (I think the binary format is the only way data is saved). The image is in fact the CP/M 68K directory which contains large blocks of 0xE5 denoting unused directory entries. I can load the saved file using EASyBIN and the data looks fine, but if I try to save it as S record, the most data seems to save OK, but the large blocks of 0xE5 are saved as 0xFF. In fact, I think every occurrence of 0xE5 is replaced with 0xFF when saving to S record file.

I did a quick test:
start up EASyBIN and don't load any file
In the Binary Files block (field in the upper right corner) edit 'length' to 20
edit the data field with some random data but enter some 'E5'
save data out as binary file and then open the binary file again, the data should be the same.
Now, save data out as S record file and then open the S record file, you'll see all 'E5' are replaced with 'FF'

Author:  profkelly [ Mon Aug 07, 2017 3:58 pm ]
Post subject:  Re: Problem with EASyBIN saving data containing 0xE5 to S re

Thanks for the feedback. I'll take a look at the code. Might be a few days, I'm in the middle writing a chapter.

Author:  profkelly [ Mon Aug 14, 2017 1:42 pm ]
Post subject:  Re: Problem with EASyBIN saving data containing 0xE5 to S re

Corrected in EASyBIN v2.5.0

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/