On Wednesday, December 19, 2012 9:26:42 AM UTC-7, Harry Potter wrote:
> I need a method to compare files other than
> programs. I want actually see which bytes are off.
This method could work for the C128 for files residing on disk.
First, for program files, enter the command BLOAD"file name". For sequential files with S!H!O!R!T file names follow the file name with a ",s".
Enter the command MONITOR.
The file is in BANK 0 starting at the beginning of load, given by $AC and $AD. You may want to append the PETSCI values in the beginning of load to the beginning of the file. The first byte is given by $AD & the second is given by $AC. The end of load is given by $AE and $AF. You may want the MONITOR to move the file to more apprpriate memory locations.
For the second file, enter the command BLOAD"file name",b1, for program files. Again, you will need to append ",s" to a sequential file name. The file will be in BANK 1 at locations between the beginning of load and the end of load.
To display the bytes where the files are in disagreement, use the MONITOR compare operation for the BANKS & memory locations occupied by the two files.
Should either file load into critical system locations, you may want to acquire "DAVES'S TERM" published in issues 26 to 31 of the LOADSTAR C 128 quarterly. DT allows access to the C128 MONITOR. You will have to learn some pecularities about DT like where DT loads files, Where the DT end of load is stored, and where DT resides in memory. I have forgotten this DT stuff. IIRC, I had to fuss with DT for a couple of weeks to discover these details. On a positive note, you won't need to play the beginning file games given by my previous section of this response.
Sometime in July 2002, comp.sys.cbm had a thread concerning an LS 128 auction on EBAY. The auctioner could be contacted at
Fender Tucker
443 Gladstone Blvd
Shreveport LA 71104
fen...@loadstar.com<
fen...@loadstar.com>