Blog about learning machine code for the MSX

Page 3/4
1 | 2 | | 4

By Daemos

Paragon (1948)

Daemos's picture

01-05-2021, 12:07

Awesome. It looks very clear and you put aalot of time in it. Now before you do your hello world program. Explain about the bios. Tell them that there are pieces of code located @0 to h4000 that you can call with your program, hence the call to & a2 in the hello world program.

By Pbk71

Expert (99)

Pbk71's picture

01-05-2021, 15:09

Quote:

Awesome. It looks very clear and you put aalot of time in it. Now before you do your hello world program. Explain about the bios. Tell them that there are pieces of code located @0 to h4000 that you can call with your program, hence the call to & a2 in the hello world program.

@Daemos: Thanks. I'm indeed planning to use the CHPUT Bios call for the "Hello world!" program.

By Pbk71

Expert (99)

Pbk71's picture

05-05-2021, 22:41

It's there... the second part of the "Hello world!" blog. Hope you like it and please let me know how I can improve it or if there are any errors that I need to correct.

Read it here: https://learningmsxmachinecode.blogspot.com/2021/05/2-hello-world-part-2-of-2-programming.html

By Daemos

Paragon (1948)

Daemos's picture

06-05-2021, 00:29

This simple tutorial would have saved me 1 year of my life. I saw a spell error somewhere halfway when you start talking about the call and return.

Your graphics and explanations are very well made. Do you teach? Almost have to because you lay down the concepts very well and ordered and as a bonus you add context to your explanations.

By bsittler

Master (228)

bsittler's picture

06-05-2021, 08:07

I really like this pair of posts! Nice work Smile

BTW I think there was a very minor typo of lable where label was intended, but overall quality seems really good. I hope you'll keep writing!

Thank you

By Pbk71

Expert (99)

Pbk71's picture

06-05-2021, 10:20

bsittler wrote:

I really like this pair of posts! Nice work Smile

BTW I think there was a very minor typo of lable where label was intended, but overall quality seems really good. I hope you'll keep writing!

Thank you

Thanks! I've corrected this typo. Ans I'm indeed planning to give these posts some follow ups. As with learning assembly the start takes a lot of time as there is a lot to explain. I hope that I can write a couple of shorter blogs now that cover some specific tasks, routines, techniques, BIOS calls, etc.

By Pbk71

Expert (99)

Pbk71's picture

06-05-2021, 10:46

Daemos wrote:

This simple tutorial would have saved me 1 year of my life. I saw a spell error somewhere halfway when you start talking about the call and return.

Your graphics and explanations are very well made. Do you teach? Almost have to because you lay down the concepts very well and ordered and as a bonus you add context to your explanations.

Thanks, I've used an English spelling checker and corrected some typos. I have indeed been teaching for a long time (about 25 years, now still working in ICT and education), nice that this is recognized Smile

By Daemos

Paragon (1948)

Daemos's picture

06-05-2021, 22:17

Quote:

nice that this is recognized

Offcourse that is Wink professional teachers directly recognize the work of other teachers.

By Pbk71

Expert (99)

Pbk71's picture

07-05-2021, 17:16

Daemos wrote:

Offcourse that is Wink professional teachers directly recognize the work of other teachers.

Big smile

By GreyWolf

Champion (400)

GreyWolf's picture

11-05-2021, 12:34

Pbk71, you can run .bin programs directly in WebMSX.

That's an example:
https://webmsx.org/?MACHINE=MSX1&DISK_FILES=https://sysadmin...

Page 3/4
1 | 2 | | 4