How to code in assembly and wich tool to do it ?

Por sergio max

Rookie (24)

imagem de sergio max

19-08-2018, 05:53

Please help me I code the RADIOLA VG5000µ in assembly but I want to know how to do it with msx. The phisical msx is a sony 501F HB.

the target is cassette tape for my code in assembly.

my develeppement site : VG5000µ

Por Metalion

Paragon (1509)

imagem de Metalion

19-08-2018, 09:52

Your request is not very clear.
You're trying to program on the VG5000 or on the MSX ?
Ta demande n'est pas très claire.
Tu cherches à programmer sur le VG5000 ou sur le MSX ?

(french translation added because it could help to better understand the problem)

Por Manuel

Ascended (18785)

imagem de Manuel

19-08-2018, 10:50

I think he has been coding on the 5000 and now wants to start coding for MSX.

Por sergio max

Rookie (24)

imagem de sergio max

19-08-2018, 12:33

j'ai programmé en assembler sur VG5000µ et je cherche a faire la même chose sur MSX. Pouvez vous m'aider a trouver les outils et la façon dont on injecte du code assembler dans le msx par la cassette car j'ai un msx HITBIT 501F HB. merci


Enlighted (5918)

imagem de NYYRIKKI

19-08-2018, 12:35

Ok, let's give few tips to have something to start with... but indeed the question could be a bit more specific.

Developing directly to physical MSX with tape only is pretty much no go... Therefore leaving the physical system only for final testing sounds a lot more better plan.

openMSX is the technically best emulator around although the user interface sucks a big time. How ever it is the technical details that count... This emulator is very accurate and it can do all the tricks that you can imagine and all of those that you can't as well. Most of the time the biggest problem is that the feature you are looking for is mentioned in developer version of one of the user manuals foot note on page 752. How ever you should select this because features will not get small during development and it will even warn you if you do something stupid like write VDP too fast or write wrong value to PSG you definitely should not.

Yet again even after moving to emulators the development directly to cassette sounds still a bit bad idea... I mean you CAN do it, but it is a bit rocky road... You know... You need to write your own make file to compile the binary, place it inside cassette container, mount the cassette container in to emulators cassette drive, make the emulator to load your binary and preferably even tweak the emulator to skip real time loading so that you don't have to listen two minutes (or so) of beeping each time you change one detail.

In real life I would suggest developing for disk... If you can live with the fact that you can't put your code much higher than $E000 then this should be quite an easy option to take. You can use openMSX "dir as disk" feature to insert the directory where you compile your binary directly to MSX disk drive. All the changes to the virtual disk will be replicated both directions in real time. If you just add AUTOEXEC.BAS called text file saying 10 BLOAD"MYPROG.BIN",R your program will even automatically start each time you boot the MSX emulator. When you are done with the development you can just take your BIN-file and copy it to cassette for final testing.

Por meits

Scribe (6500)

imagem de meits

19-08-2018, 13:04

@sergio max: Three days ago you opened the exact same topic here. Please keep the conversation within one thread.