Hi all!
I just bought my first MSX computer, a Philips NMS 8245.
Now I am looking to code some demos in assembler. I have experience from the commodore machines (VIC20, C64 etc.) and also some Z80 from doing stuff for the TI-83 calculator.
I have found a nice crossassembler called TNIAsm and I am ready to go!
However, I have a hard time finding info on how to get started. I don't even know which address to assemble my stuff to, or how to produce a file that I can test in emulator first, and then on the real thing.
The demos I've run so far come as .dsk files with the executables as .COM. Is that the easiest way to go, assemble to a .COM file and then create a .DSK that the emu can run, and then write to a 720kb disk for test on the MSX?
What about the 'BIN' format I've seen some references to?
Also, does anyone have some simple Z80 skeleton code that shows how to get a screen (text mode or graphic mode) set up and update it using the VDP?
I mean, a good start for me would be to get the MSX version of this C64 code going:
ldx #$00 loop: txa sta $0400,x inx bne loop
That is, output all 256 possible characters to screen!
I would guess the MSX variant would be something like
VDP code to enable text screen
Loop:
VDP one char at the time to graphics memory location XXX
jmp loop