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.

z88dk: Support for parsing Z88DK `v2.2` .lis files. (Fixed in 3.0)

See original GitHub issue

Hello.

The format of .lis files output by Z88DK v2.2 has changed since v2.1, and it seems that src/labels/z88dklabelparser.ts can no longer parse them.

I found the commit of this change.

Fix https://github.com/z88dk/z88dk/issues/1928: wrong list file output in macro expansions

https://github.com/z88dk/z88dk/commit/6041db21e4eb2976c2087243aad12669e5f0e96e#diff-e988a5e1d968568901902c7d253057c98fb629ebdfdec7298dcc2e16a85b0765

Effect on z88dklabelparser.ts:

image

  • Line numbers are right-aligned.
  • The address is changed from 4-digit to 6-digit.
  • Missing address to the left of the label.

I did not know how to handle the backward compatibility and could not handle it myself. 😢

Best regards.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:24 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
maziaccommented, Nov 19, 2022

Thanks for your tests. It’s always nice to see it working in other projects.

And thanks for verification on develop branch.

Is it OK to close this issue (for 3.0)?

1reaction
maziaccommented, Nov 16, 2022

Sorry for my lack of clarity. I know that it is the machine name, but which machine name should I use / have you used.

Read more comments on GitHub >

github_iconTop Results From Across the Web

z88dk/changelog.txt at master - GitHub
The development kit for over a hundred z80 family machines - c compiler, assembler, linker, libraries. - z88dk/changelog.txt at master · z88dk/z88dk.
Read more >
z88dk v1.99B Released - z88dk forums
* --list will generate ".lis" files for each source file in a compile to a binary. The ".lis" file is an assembly listing...
Read more >
sdcc-user Mailing List for Small Device C Compiler (Page 7)
My SDCC version is 3.9.0Your help is appreciated. #include <stdint.h>#include <stm8s.h> #define F_CPU 2000000UL#define LED_PIN 3 void delay_ms(uint16_t ms); ...
Read more >
NewLib Platform Embedded - z88dk/z88dk GitHub Wiki
If the ORG of the compile is set to address 0, the compiler will automatically generate the z80 restarts and im1, nmi interrupt...
Read more >
asm-code-lens | vscode language server that enables ... - kandi
Implement asm-code-lens with how-to, Q&A, fixes, code snippets. kandi ratings - Low support, 11 Bugs, No Vulnerabilities.
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