NASM - The Netwide Assembler

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 [2]

Author Topic: Byte Editor Project  (Read 1507 times)

greco558

  • Jr. Member
  • *
  • Offline Offline
  • Posts: 23
Re: Byte Editor Project
« Reply #15 on: August 16, 2016, 01:50:29 PM »

 Made Changes to DwordToHex procedure to allow a little more flexibility when calling.
It now receives where to store conversion in edi and what to covert in eax.

I also change the location tracker which shows byte you are currently on in the top left of display to Green, it will now turn red when you navigate Phantom cursor to last byte in file or beyond.

I am working on undo of changed sectors even after you write changes to file and close program.

Best Regards
John
Logged

greco558

  • Jr. Member
  • *
  • Offline Offline
  • Posts: 23
changed StrToDword Procedure
« Reply #16 on: August 20, 2016, 01:16:50 PM »

Hi All,

Here is last update for a while, added g=goto key, so if you have a big file and you want
to goto sector 2,000, you do not have to press n=next sector key 2,000 times.
You press g key and enter sector you want to jump to.

Program was getting long broke it up into smaller files of related procedures.
Also updated masm32 assembly Windows version on Masm32 forum.

Fixed bug in sector jump routine StrToDword procedure.

Changed StrToDword Procedure to find end of string passed to it so all you do
is pass it string in ESI

Best Regards
John
« Last Edit: August 22, 2016, 11:33:04 AM by greco558 »
Logged

greco558

  • Jr. Member
  • *
  • Offline Offline
  • Posts: 23
Re: Byte Editor Project
« Reply #17 on: August 30, 2016, 02:22:03 PM »

Updated program added Search Mode to search file for Hex Word or Dword entered by user.
See README file for use.


Best Regards
John
Logged

greco558

  • Jr. Member
  • *
  • Offline Offline
  • Posts: 23
Re: Byte Editor Project
« Reply #18 on: August 30, 2016, 03:49:39 PM »

Just a quick update to search mode you can search for Byte, Word or Dword.

Changed prompt to read Enter BYTE/WORD/DWORD >

Regards
John
« Last Edit: August 30, 2016, 04:50:03 PM by greco558 »
Logged

greco558

  • Jr. Member
  • *
  • Offline Offline
  • Posts: 23
Byte Editor Project Update
« Reply #19 on: January 28, 2017, 08:43:06 PM »

 Updated byte Editor. Changed mark byte to remain from sector to sector highlighting the Hex
byte you entered until you hit c key to clear mark or m key and enter new hex byte to highlight.

 Another quick update for anyone interested, added decimal value of byte in lower right of screen
above the binary value.

All source code files & makefile included.


BR
John
« Last Edit: February 14, 2017, 12:39:37 PM by greco558 »
Logged

greco558

  • Jr. Member
  • *
  • Offline Offline
  • Posts: 23
Re: Byte Editor Project
« Reply #20 on: February 14, 2017, 12:43:41 PM »

Updated to check for Terminal screen size on startup to make sure Terminal is set to a minimum
of 80x25 so Byte editor displays properly.

Used TIOCGWINSZ.




BR
John
Logged

0xDEADBEEF

  • Jr. Member
  • *
  • Offline Offline
  • Posts: 7
Re: Byte Editor Project
« Reply #21 on: March 11, 2017, 01:34:57 AM »

Wow John!

Thats really a great piece of software, what you have created here! Unfortunately, currently I can not help in any way to improve it but I will take a close look at it to see how things work. Even how the binaries it self look, hehe :)
Really incredible work!

Thanks a lot =)
Logged

greco558

  • Jr. Member
  • *
  • Offline Offline
  • Posts: 23
Re: Byte Editor Project
« Reply #22 on: March 12, 2017, 07:07:07 PM »

0xDEADBEEF,

Thanks for the kind words, I started as a project to improve my assembly language programming.

It started out very basic as a simple hex dump program and I slowly add features.


Best Regards,
John
Logged
Pages: 1 [2]