JC64dis Source menu

The Source menu has those choices:

Find memory address

It asks you to insert a 4 chars hex number and then it positionate the memory table in the row of that address.

Disassemble

It starts the Dasm disassember procedure that parse again the binary file and apply the modification to the source.
For speed up purpose only one passage is done when it generate the preview source, then another one is done when generate the source.
Two passes is always needed to apply one modification generated in one point to the previous passed one (like a jump in one point to a back location that were not already labeled), so the preview is always one step behind, but source windows has the code processed two times as there is no difference into the Dasm engine when generating a preview or source, but only a different output of collected data.
Since the actual state of disassembly is stored in the project you should find such difference in the first generation or when you mark a data area as code.
When the generation is done, the preview and source area will be updated but you will not lose the actual line position.

When you compile the source with Dasm remember to let it generate a binary without the two bytes of starting address as they are added automatically for PRG and are not needed for generating a SID again.

Find text in preview

It opens a standard windows for inserting a text and find it inside the preview area. It has many option, like mark up all match, go backward and forward, match regular expression, whole word and lower/upper case.

Export As of preview

Export the actual preview source into a file.

Find text in source

It opens a standard windows for inserting a text and find it inside the preview area. It has many option, like mark up all match, go backward and forward, match regular expression, whole word and lower/upper case.

Export As of source

Export the actual preview source into a file.


Back