Debug your MSX with VSCode

صفحة 2/8
1 | | 3 | 4 | 5 | 6 | 7

بواسطة S0urceror

Master (220)

صورة S0urceror

16-07-2020, 23:42

Thom wrote:

Does it only work with Sjasmplus?

No, it supports sjasmplus, Savannah's z80asm, z88dk.

For other assemblers that generate list files with line numbers, addresses, labels, it supports regular expressions to extract the necessary information to make the debugger run.

Which assembler would you like to use? Maybe we can adapt it to support this as well.

بواسطة Thom

Paladin (711)

صورة Thom

17-07-2020, 10:58

S0urceror wrote:
Thom wrote:

Does it only work with Sjasmplus?

Which assembler would you like to use? Maybe we can adapt it to support this as well.

Glass, but I don't know if it generates list files.

بواسطة Metalion

Paragon (1629)

صورة Metalion

17-07-2020, 11:56

How does VSCode compare to Notepad++ ?
It seems that a lot of people are moving to VSCode nowadays ...

بواسطة Grauw

Ascended (10822)

صورة Grauw

17-07-2020, 12:36

Thom wrote:
S0urceror wrote:

For other assemblers that generate list files with line numbers, addresses, labels, it supports regular expressions to extract the necessary information to make the debugger run.

Which assembler would you like to use? Maybe we can adapt it to support this as well.

Glass, but I don't know if it generates list files.

Can you give an example of what kind of output you would expect from Glass?

بواسطة S0urceror

Master (220)

صورة S0urceror

17-07-2020, 12:38

Metalion wrote:

How does VSCode compare to Notepad++ ?

Don't know because I don't use Notepad++. What I do know is that VSCode is built from the ground up by Microsoft based on open source technology (Elektron, node.js, typescript). It runs on any OS and has a healthy marketplace with contributors from over the world.

In this marketplace you'll find Z80 assembly syntax-colouring, sjasmplus integration and support for any programming language you can think of. And of course Dezog which I have made compatible with OpenMSX.

بواسطة Briqunullus

Paladin (777)

صورة Briqunullus

17-07-2020, 12:59

Notepad++ is more of a single file editor, VSCode is more organized for projects. Yeah, I know, Notepad++ can handle a hell lot more complexity than just a single file, and VSCode can be used for single file projects as well, but this would be the different starting point of these two. And, yeah, I do use both and I appreciate both.

Back on topic, this is a great project. I will definitely give it a go!

بواسطة ToriHino

Paladin (927)

صورة ToriHino

17-07-2020, 13:23

What also works great in VSCode is the integration with GIT for versioning of the source files.

بواسطة Grauw

Ascended (10822)

صورة Grauw

17-07-2020, 13:36

Very off-topic guys. Start your own thread.

بواسطة DarkSchneider

Paragon (1030)

صورة DarkSchneider

17-07-2020, 19:20

Grauw wrote:
Thom wrote:
S0urceror wrote:

For other assemblers that generate list files with line numbers, addresses, labels, it supports regular expressions to extract the necessary information to make the debugger run.

Which assembler would you like to use? Maybe we can adapt it to support this as well.

Glass, but I don't know if it generates list files.

Can you give an example of what kind of output you would expect from Glass?

REL files Tongue

بواسطة Briqunullus

Paladin (777)

صورة Briqunullus

17-07-2020, 19:32

I have some trouble getting it to work. I have my asm file open in vscode and I have created a launch.json file in a .vscode folder. If I choose the run icon (or press ctrl+shift+D) then in the column on the left I get a message "Open a file which can be debugged or run."

Also, if I just choose Run->Start Debugging (or press F5) then VSCode wants me to select an environment. There is no OpenMSX, Dezog, or any other z80 option available.

Which step did I miss?

صفحة 2/8
1 | | 3 | 4 | 5 | 6 | 7