First step to learn MSX Assembly

Page 1/2
| 2

By DaikuMaryuGaiking

Expert (109)

DaikuMaryuGaiking's picture

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

Login or register to post comments

By Dolphin101546015

Champion (273)

Dolphin101546015's picture

27-04-2020, 20:29

SjAsm, or Glass from Grauw.
+ VSCode

By SjaaQ

Master (147)

SjaaQ's picture

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?

By Danjovic

Master (151)

Danjovic's picture

28-04-2020, 01:35

MSX Red Book is a must!

By Wolverine_nl

Paragon (1106)

Wolverine_nl's picture

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!

By albs_br

Master (147)

albs_br's picture

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?

By ToriHino

Hero (583)

ToriHino's picture

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).

By The Apeman

Expert (79)

The Apeman's picture

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?

By The Apeman

Expert (79)

The Apeman's picture

18-09-2020, 13:59

By albs_br

Master (147)

albs_br's picture

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.

Page 1/2
| 2