68K, PPC and Carbon run on MacOS 7-9 and X. A great tool that allows you to edit and analyze the contents for either the data or resource fork of any type of file. Then, we changed the 41 to a 40 (thus reducing the sum of the line by one) and added one to the 30 checksum at the end, making it 31.įinally, we saved this file, then drag and dropped into into Javascript Blocks Editor to prove it was locked. Allows editing of any size file in hexadecimal, decimal and ASCII. First we searched for the magic string - in this case the :10FCC000 before it is part of the memory address information that appears at the start of every intel-hex line. The attached hex file microbit-secret.hex has been locked, try dragging and dropping it into and you will see that it will not load it. Drag and drop the file onto the MICROBIT drive, and make sure your code works.It will pop up an orange message saying 'Sorry we could not recognize this file'. Save the file, then try and drag and drop it into - it should now be impossible for Makecode Editor to read it.Add one to it to make sure that the checksum is now correct. at the end of that line, look at the last two characters.Find the '41' part and change it to '40' - this reduces the total sum of the line by one, so.If you can't find this magic string, try searching for a shorter part of it such as 2FB82FA2BB, as it *might* span multiple lines. Search for the string 41140E2FB82FA2BB using the search feature of your text editor.Basically each line has a short header, and the last two characters of the line are a computed checksum formed by adding up all the data on that line. This is an intel-hex format file, the format of which is described in the links below. hex file in a text editor such as Notepad on windows, or TextEdit on a Apple Mac. hex file into the editor to view the original source program. hex file, perhaps you have written a program that you want students to download from the web or from your intranet and load it onto the micro:bit to work out what it does, but you don't want them to be able to 'cheat' and drag and drop the. Sometimes it is useful to be able to 'lock' a. You can find more infomation on the fomat and method on our developer site. hex file back into the editor it will reconstruct your source program for you to allow you to view and change it. The Makecode Editor attempts to embed a compressed version of the original program source code into the. Solution home Software (editors and apps) MakeCode Locking and unlocking Makecode Editor.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |