|
Post by greco558 on Jul 28, 2016 18:25:58 GMT 1
Hi Peter, I am glad you are finding my program useful! I made some minor changes to bring it more in alignment with my Assembly language version. Changed the display of decimal numbers down the left side of display to HEX to match HEX numbers across top of display. Also added diplay of 8 bit binary of byte phantom cursor is currently on. I use a string array as a lookup table for binary conversion of byte. Best Regards John Attachments:editbyte.bac (22.39 KB)
|
|
|
Post by greco558 on Aug 3, 2016 20:07:43 GMT 1
Hi All, Added u-key for undo see below. (u)key will undo Byte changes highlited in RED or WHITE as long as you stay in that sector if you move to previous or next sector undo is lost. The Bytes in RED have NOT been written to file yet and can be undone by navigating to RED Byte and pressing (u key). The Bytes in WHITE have been written to file but you can still undo them by navigating to byte in WHITE and pressing(u key) which will turn byte to Red again indicating undo changes have not been saved to file. Press (w key) to save Red undo changes to file. Best Regards John Attachments:editbyte.bac (24 KB)
|
|
|
Post by basica on Aug 3, 2016 20:52:43 GMT 1
John, Thanks for this update. It seems a very handy addition. Regards, basica (I like color coding like this )
|
|
|
Post by greco558 on Aug 30, 2016 18:10:12 GMT 1
Hi All, I have coded my byte editor in Assembly language, it has a search function, which I am still trying to figure how I will incorporate into my BaCon version. I like the new Search Mode Function so until I have a working BaCon Version, I am attaching the Assembly version written in Flat Assembler. When I have the BaCon Version worked out I will post it. All Assembly files, binary file and README file on how to use are included. Best Regards John
|
|
|
Post by vovchik on Sept 2, 2016 10:10:59 GMT 1
Dear greco558, Ncie, but I get the following: fasm editbin.asm edbyte flat assembler version 1.67.18 (16384 kilobytes memory) editbin.asm [102]: format ELF executable 3 error: extra characters on line.
And no make file, so I am using your binary, which works. With kind regards, vovchik
|
|
|
Post by greco558 on Sept 3, 2016 0:47:37 GMT 1
Hi vovchik,
I think the problem is fasm version you are using, it assembles with no errors using fasm version 1.71.54.
If you want to use the older version I believe it will work by removing the 3 from line 102. so instead of the line reading format ELF executable 3 change to format ELF executable
Best Regards John
|
|
|
Post by vovchik on Sept 3, 2016 8:46:10 GMT 1
Dear John,
That was it! Thanks. Assembled instantaneously and works!
With kind regards, vovchik
|
|
|
Post by greco558 on Jan 26, 2017 22:09:53 GMT 1
I finally got around to making some changes in the BaCon Version of editbyte that I have been wanting to make. I have been busy writing some assembly binaries for 16bit OS, I felt like I went back in time, it was fun. I added sector number in top left of screen. I also changed the mark byte routine, you can set the hex byte you want highlighted by pressing m key and entering hex byte value or ASCII char, the byte you entered will always be highlighted from sector to sector until you clear the highlight with c key or you press m to highlight another hex byte. This now saves you from having to check each sector when you move thru file. You just set the byte you are looking for and as you move from sector to sector your byte will be highlighted if it is in that sector. Best Regards John Attachments:editbyte.bac (24.07 KB)
|
|
|
Post by greco558 on May 4, 2017 0:11:30 GMT 1
Hi All, Finally had some time to get back to programming in one of my favorite programming languages BaCon. Made a cosmetic change to editbyte program to use UTF8 box characters to draw the display. Found a small bug when converting hex values 80 and above, extra digits would be added causing the binary conversion to be incorrect for top 4 bits. Fix is at line 334 in BaCon file. Changed the inside box to single line left outside box double line like the look better. 05/07/2017 Best Regards John Attachments:editbyte.bac (25.61 KB)
|
|