question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

fasmg ez80 integration take 2 - support needed

See original GitHub issue

I’m back on trying to let the fasmg compiled code to be source level debugged by DeZog!

Last time I started two routes:

r1. Convert the source listing to a supported one (here the old details)

r2. Complete new native integration, where I was not able to finish the changes since it took more than expected (it is my first .ts project) and then I changed computer loosing all development environment setup and didn’t come back to finalize until now

Now, I would need some suggestion if to continue with route 1 or to continue with route 2.

For content:

r1. The current listing available from fasmg is in the “.lst” file. From it I was already extracting (with a php program) the “.sym” files in order to debug on no$zx and EightyOne, and for DeZog I created the conversion (with a python program) to the “.list” dezog compatible file

r2. I’ve rebased my old “draft” code changes on the new main line upstream (available to be seen in the fasmg-ez80 branch of my github fork)

Now:

r1. For the listing adaptation seems that the accepted structure has changed. In this case would be nice to have the details of the new format. And even nicer would be to have an “assembler neutral” (fully DeZog oriented) format in order everyone willing to integrate with DeZog would simply adapt this format (that taking into consideration the specifications in AddingNewAssemblers.md could be for example something like a series of lines “L|labelname|labelvalue” and “A|address|filename|linenumber”)

r2. To continue on the native integration I will surely need some more support than r2, and in case this would be suggested would be nice to get some feedback on my current changes (settings.ts and labels.ts)

Thank you in advance for the suggestions!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:23 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
maziaccommented, Feb 20, 2022

Found it: The path contained a space and I forgot to put it in parenthesis when passing to Zesarux. I uploaded a fix to the the DeZog repo.

1reaction
maziaccommented, Feb 17, 2022

Do I understand correctly: by modifying the fasmg include file one could basically create any output listing.

That would mean there would also be a 3rd implementation alternative: If the fasmg include file would create the same output list file/sld file as sjasmplus does, it could be used without any change in DeZog. Is this right?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Assembling eZ80 code with flat assembler g - Cemetech | Forum
1 seconds to assemble with fasmg, but .01 seconds to assemble with spasm. Also, fasmg does not support listing out-of-the-box. You can look...
Read more >
CALM extension of fasmg - flat assembler
The command set is very concise, at least for start. I needed just a dozen of commands to re-implement x86 macros, and whatever...
Read more >
Show posts - MateoConLechuga - CodeWalrus
The toolchain has been completely revamped and now uses jacobly's fasmg-ez80 tools to perform the assembling and linking stages that were once handled...
Read more >
[FR] Guide du langage C sur ez80 (TI-83 PCE/ 84+CE ... - TI-Planet
Help the community's calculator documentations by filling out your calculator info! ... You do not need to change the debug flag in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found