News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_m_dr_m

New! Binary diff of files

Started by m_dr_m, 15:09, 09 April 25

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

m_dr_m

Introduced in Orgams GG Beta I, the possibility to compare files (or file against memory area).
A quick way to check if two files are identical, or to show the differences otherwise.

Full doc Diff doc

norecess464

#1
    Few comments with GG-I:

    • Did the "line monitor" feature disappear? I'm referring to that handy one-liner memory dump I used to see while editing code after compile. That was really nice!
    • I just realized [mm] for commands (dump, disassemble...) can accept not only a fixed memory address (like &4000) but also a label! That's pretty cool.
    • I'd suggest adding support for color schemes. Let users choose from a few preset themes -- one with a black background, one that mimics the Amstrad blue/yellow, and so on -- and save the chosen settings either in the Nova or at the root of the mass storage.
    • When BASIC is restored, custom key tokens previously set are lost. For example, with the CATRUN ROM, |CATRUN is mapped to Control+TAB at startup, but this binding gets cleared after leaving Orgams, so I can't reuse the Control+TAB shortcut anymore.
    • I was curious to test the DIFF command.
      In the doc I can read "Either parameter can be a path to a file, enclosed in double quotes like for all filenames."
      So I tried the following:
    • Using Protext, I created a text file ARNAUD.TXT with content "Arnaud"
    • Then I created another one, ARNOLDO.TXT with content "Arnoldo"
    • In Orgams, I tried x"ARNAUD.TXT""ARNOLDO.TXT" (and other variations with spaces etc).
            But I got the error: "wrong parameter".
            Are there limitations? (cf. only binary files etc).

Thanks for all your hard work! I keep wondering when Orgams will be considered a full IDE, rather than just an assembler. ;)
My personal website: https://norecess.cpcscene.net
My current project is Sonic GX, a remake of Sonic the Hedgehog for the awesome Amstrad GX-4000 game console!

m_dr_m

Yeah! Thanks for your tests and feedback!

* Mini dump in editor: Must be activated with CTRL-V (as it is still not polished: the navigation is a bit slower and makes the status bar flicker). Also, it only works once the source has been successfully assembled.
* All commands accept full expressions!
* Color scheme: I'll add a basic file to flash the palette! The config file shall be for later.
* x"ARNAUD.TXT","ARNOLDO.TXT" (don't forget the comma, like for RSX commands)
* The only limitation is that files bigger than 64k are not supported for now.
* I've added bug#1bd. Should be fixed in beta J!

norecess464

Thanks! DIFF worked & Ctrl-V too 8)
My personal website: https://norecess.cpcscene.net
My current project is Sonic GX, a remake of Sonic the Hedgehog for the awesome Amstrad GX-4000 game console!

Powered by SMFPacks Menu Editor Mod