FullBlownHexEditor

Goals

  • Amazingly fast.
  • Could work for memory, files, sectors, table editor (e.g. raster, with live result)…

See more context here: [*http:/https://www.cpcwiki.eu/forum/applications/monogams-to-behave-more-like-a-file-based-hex-editor/ monogams-to-behave-more-like-a-file-based-hex-editor]

Roadmap

Display full page

It would work like hackeur's dump.

The difference with monogams dump:

  • Lines of 16 bytes rather than 8
  • Graphical dump optional (more important is proper screen width for super fast display. See v1 below)
  • Can go up

Either v0 or v1 could be done.

v0 Reuse monagams routines

Prerequisites:

  • [madram] Import directive.
  • [madram] Export 'dump_one_line' in its own module.

v1 Ultra fast display routine

Prerequisite:

  • [hicks] Study screen format.

We want:

  • (1) Display address, 16 hexa bytes, 16 ascii.
  • (2) Having visual marker after 8 bytes (and maybe 4).
  • (3) Make sure we can use INC L for hexa byte display (to display both quartets at once). Can play with CTRC's reg1 to achieve that, but sadly cannot use R1=32 trick (or could we? Version without address in prefix, but instead: shown in status bar, plus markers e.g. every &xx00, &xx40, &xx80, &xxc0).

(3) Must remains true after scrolling.

(1) + (2) could be:

a/ Same spacing every time, pointillés to see after 8 bytes.
Width = 69 chars. **/!\ Warning. We might want to have another prefix in address (bank or rom numbers), in which case it would take 72 or even 74 chars).

9e00 40 40 40 40 40 40 40 40.40 40 40 40 40 40 40 40 @@@@@@@@@@@@@@@@
9e10 40 40 40 40 40 40 40 40.40 40 40 40 40 40 40 40 @@@@@@@@@@@@@@@@
9e20 40 40 40 40 40 40 40 40.40 40 40 40 40 40 40 40 @@@@@@@@@@@@@@@@
9e30 40 40 40 40 40 40 40 40.40 40 40 40 40 40 40 40 @@@@@@@@@@@@@@@@
9e40 40 40 40 40 40 40 40 40.40 40 40 40 40 40 40 40 @@@@@@@@@@@@@@@@
9e50 40 40 40 40 40 40 40 40.40 40 40 40 40 40 40 40 @@@@@@@@@@@@@@@@
[...]

b/ Double spacing mid way.

9e00 40 40 40 40 40 40 40 40  40 40 40 40 40 40 40 40 @@@@@@@@@@@@@@@@
9e10 40 40 40 40 40 40 40 40  40 40 40 40 40 40 40 40 @@@@@@@@@@@@@@@@
9e20 40 40 40 40 40 40 40 40  40 40 40 40 40 40 40 40 @@@@@@@@@@@@@@@@
9e30 40 40 40 40 40 40 40 40  40 40 40 40 40 40 40 40 @@@@@@@@@@@@@@@@
9e40 40 40 40 40 40 40 40 40  40 40 40 40 40 40 40 40 @@@@@@@@@@@@@@@@
9e50 40 40 40 40 40 40 40 40  40 40 40 40 40 40 40 40 @@@@@@@@@@@@@@@@
[...]

Hexa Display routine

  • 16 routines (one) by leading quartet.

See todo #Fb for some suggestions. http://orgams.wikidot.com/todos#toc17

Navigation + edition

Reuse gedeihen for that (already handle cursor, hexa entering, …).

Sauf mention contraire, le contenu de cette page est protégé par la licence Creative Commons Attribution-ShareAlike 3.0 License