First step to learn MSX Assembly

Página 1/2
| 2

Por DaikuMaryuGaiking

Expert (120)

Imagen del 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

Login sesión o register para postear comentarios

Por Dolphin101546015

Champion (311)

Imagen del Dolphin101546015

27-04-2020, 20:29

SjAsm, or Glass from Grauw.
+ VSCode

Por SjaaQ

Master (209)

Imagen del 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?

Por Danjovic

Master (191)

Imagen del Danjovic

28-04-2020, 01:35

MSX Red Book is a must!

Por Wolverine_nl

Paragon (1149)

Imagen del 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!

Por albs_br

Champion (296)

Imagen del 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?

Por ToriHino

Paladin (710)

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

Por The Apeman

Master (137)

Imagen del 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?

Por The Apeman

Master (137)

Imagen del The Apeman

18-09-2020, 13:59

Por albs_br

Champion (296)

Imagen del 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.

Página 1/2
| 2