First step to learn MSX Assembly

Pagina 1/2
| 2

Door DaikuMaryuGaiking

Expert (109)

afbeelding van DaikuMaryuGaiking

27-04-2020, 19:55

Hello.
I finally decided to take time to seriously learn the MSX assembly.
So I need to know which tools to use for editing and compilation. As well as books for those who start from scratch.

Thanks. Smile

Aangemeld of registreer om reacties te plaatsen

Van Dolphin101546015

Champion (273)

afbeelding van Dolphin101546015

27-04-2020, 20:29

SjAsm, or Glass from Grauw.
+ VSCode

Van SjaaQ

Master (147)

afbeelding van SjaaQ

27-04-2020, 21:00

You will need documentation as well. Start out with either DOS calls (http://map.grauw.nl/resources/dos2_functioncalls.php) or BIOS calls (http://map.grauw.nl/resources/msxbios.php). You will be needing to know what every instruction does (http://z80.info/zip/z80cpu_um.pdf).

Create a program that waits for a key and outputs it value onscreen.

Later on you need to know about the VDP, PSG and other stuff. You can find all that at the Grauw site).

What language should books be?

Van Danjovic

Master (151)

afbeelding van Danjovic

28-04-2020, 01:35

MSX Red Book is a must!

Van Wolverine_nl

Paragon (1108)

afbeelding van Wolverine_nl

28-04-2020, 11:11

DaikuMaryuGaiking wrote:

Hello.
I finally decided to take time to seriously learn the MSX assembly.
So I need to know which tools to use for editing and compilation. As well as books for those who start from scratch.
Thanks. Smile

Great descision!
There are allot of other tools as well to try.
If you are hardcore MSX developer, you can go and develop on an MSX for MSX, using WBASS assembler for instance, or Compass.
For cross developing the aforementioned Glass is one, it required JAVA just like sJasm. Or tniASM is a dos console assembler.
Also a good reference which is also in PDF's on the internet is https://www.konamiman.com/msx/msx-e.html#msx2th
Here is a rather complete tutorial website of the creator of the game Chibi Akumas
https://www.chibiakumas.com/z80/
And there are also irc channels which have dedicated MSX developers on them like #mxsdev on rizon.net

I personally use Visual Studio Code, or Vscode in short. with tniASM 1.0a.
Also a make file, so in Vscode it assembles the asm file and outputs debugging info and starts up openMSX emulator with the generated file for testing.(also always test in certain stages of your projects on real machines if possible)
Have fun!

Van albs_br

Master (147)

afbeelding van albs_br

18-09-2020, 04:09

Quote:

it assembles the asm file and outputs debugging info and starts up openMSX emulator with the generated file for testing.

Could you explain better how to do it? Maybe provide the make file? Would it run on tniasm 0.45?

Van ToriHino

Hero (587)

afbeelding van ToriHino

18-09-2020, 07:45

Check out this thread for more information on how to setup an environment ready to debug from Visual Studio Code (it also provides a link to a tutorial video).

Van The Apeman

Expert (79)

afbeelding van The Apeman

18-09-2020, 12:12

Just in case I want to do some hacking on my MSX itself, Compass looks awesome. Where can I buy it?

Van The Apeman

Expert (79)

afbeelding van The Apeman

18-09-2020, 13:59

Van albs_br

Master (147)

afbeelding van albs_br

18-09-2020, 16:37

Quote:

Check out this thread for more information on how to setup an environment ready to debug from Visual Studio Code (it also provides a link to a tutorial video).

I've seen it before, Dezog looks great, but don't work with tniAsm, and I'm not willing to change assembly syntax at this point.

Pagina 1/2
| 2