Beginner's ASM Tutorial: Multiplatform Z80 ASM development videos... with vampires!

The place for codemasters or beginners to talk about programming any language for the Spectrum.
AndyC
Microbot
Posts: 156
Joined: Mon Nov 13, 2017 5:12 am

Re: Beginner's ASM Tutorial: Multiplatform Z80 ASM development videos... with vampires!

Post by AndyC » Tue Jan 23, 2018 7:25 am

Yeah, I figured that was pretty much your line of thought. I was thinking more in terms of "If you're playing around in BASIC and the screen scrolls, then weird stuff like this happens, so just remember to do a MODE first" rather than necessarily an in-depth explanation of how you could use it in a game. Particularly be cause the advice of doing a POKE &C000,x to see the effect is a good thing, unless it's not where you think it is!
0 x

User avatar
Nomad
Manic Miner
Posts: 600
Joined: Thu Dec 28, 2017 12:38 pm

Re: Beginner's ASM Tutorial: Multiplatform Z80 ASM development videos... with vampires!

Post by Nomad » Wed Jan 24, 2018 3:33 am

I must admit I would love to be able to port crapchess to the MSX/CPC.

Are there any good books about assembly for the MSX, I found a few books but they were not so practical (much like the spectrum). If I can find a rom disassembly that goes into some detail how the system handled different tasks would be great. There also does not seem to be many assembly books in English for the msx. (well not on the net).

That is one thing the spectrum (and atari/commodore/apple ii) has going for it - lots of info out there. MSX is such a nice platform if I could only figure out how to use it :lol: CPC is more of a abusive relationship I think, I would have to think hard about attempting a port for that beast.
0 x

User avatar
keith56
Berk
Posts: 45
Joined: Mon Nov 13, 2017 9:23 pm

Re: Beginner's ASM Tutorial: Multiplatform Z80 ASM development videos... with vampires!

Post by keith56 » Wed Jan 31, 2018 3:28 am

If you're looking for MSX info, I think this is what you want:
http://www.konamiman.com/msx/msx-e.html#msx2th

I had a bit of an advantage, as I can read Japanese, so I was able to read through some of the Japanese language pdfs lurking around the net - but I think everything you need is in this English page

there's lots of great info on here - some great source code samples:
http://map.grauw.nl/resources/

I can't comment much on the MSX1, but the MSX2's graphics system is very different to the spectrum... converting my CPC sprite routines to spectrum was trivial, but it was a complete rethink on the MSX.. I THINK the same is true of the MSX1 GPU - but it's not something I've looked into.

I'll be releasing all the sourcecode of the new multiplatform 'ChbiAkumas' game when it's done - but if you're enthusiastic, message me, and I'll give you the code I have now, so you can see the routines I use for key/disk etc.

Finally, if you're looking at msx... ask on MSX.ORG - they've always helped me with advice!
2 x
Chibi Akuma(s) Comedy-Horror 8-bit Bullet Hell shooter for CPC - http://www.chibiakumas.com
「チビ悪魔」可笑しいゴシックSTG: http://www.chibiakuma.com
Chibi Akumas Episode 2:Confrontation for CPC ...Out Now!

User avatar
keith56
Berk
Posts: 45
Joined: Mon Nov 13, 2017 9:23 pm

Re: Beginner's ASM Tutorial: Multiplatform Z80 ASM development videos... with vampires!

Post by keith56 » Sat Feb 03, 2018 6:32 am

Lesson 2 of my Z80 Assembly tutorials is up!

Lots covered this time, including Copy/Fill with LDIR, using EQU to declare constants, Labels, and conditional jumps to make loops... all writing to the CPC screen so you can see the effect!

https://www.youtube.com/watch?v=QAvuyAzO_Uo

Each video has a matching text section on my website, and if you really can't type in the code - you can download the commented sourcecode as well!

http://www.chibiakumas.com/z80/#Lesson2
1 x
Chibi Akuma(s) Comedy-Horror 8-bit Bullet Hell shooter for CPC - http://www.chibiakumas.com
「チビ悪魔」可笑しいゴシックSTG: http://www.chibiakuma.com
Chibi Akumas Episode 2:Confrontation for CPC ...Out Now!

C.Born
Berk
Posts: 36
Joined: Sat Dec 09, 2017 4:09 pm

Re: Beginner's ASM Tutorial: Multiplatform Z80 ASM development videos... with vampires!

Post by C.Born » Sat Feb 03, 2018 8:23 pm

hi Keith,

may i say that you use a bit to much table lines? i work on 1920x1080 and i see a lot of red on black between fine white lines..
Image
0 x

User avatar
keith56
Berk
Posts: 45
Joined: Mon Nov 13, 2017 9:23 pm

Re: Beginner's ASM Tutorial: Multiplatform Z80 ASM development videos... with vampires!

Post by keith56 » Sat Feb 03, 2018 11:23 pm

No problem, I'll change the lines by next week!
0 x
Chibi Akuma(s) Comedy-Horror 8-bit Bullet Hell shooter for CPC - http://www.chibiakumas.com
「チビ悪魔」可笑しいゴシックSTG: http://www.chibiakuma.com
Chibi Akumas Episode 2:Confrontation for CPC ...Out Now!

User avatar
keith56
Berk
Posts: 45
Joined: Mon Nov 13, 2017 9:23 pm

Re: Beginner's ASM Tutorial: Multiplatform Z80 ASM development videos... with vampires!

Post by keith56 » Sun Feb 11, 2018 12:11 am

Lesson 3 is now online!

This time we'll make a little 8 bit calculator, with the user interface in basic, and the calculations in assembly!
https://www.youtube.com/watch?v=zPXmvoZz9Nk

Don't forget to check out the website, where you can see the lesson and get the sourcecode for the ASM and basic!... I've even added a more conventional 'Print mode' colorscheme for those who don't like Red on Black!

http://www.chibiakumas.com/z80/
0 x
Chibi Akuma(s) Comedy-Horror 8-bit Bullet Hell shooter for CPC - http://www.chibiakumas.com
「チビ悪魔」可笑しいゴシックSTG: http://www.chibiakuma.com
Chibi Akumas Episode 2:Confrontation for CPC ...Out Now!

User avatar
Nomad
Manic Miner
Posts: 600
Joined: Thu Dec 28, 2017 12:38 pm

Re: Beginner's ASM Tutorial: Multiplatform Z80 ASM development videos... with vampires!

Post by Nomad » Wed Feb 14, 2018 2:16 am

Hey Keith,

I have a 23" monitor, and the text in the videos is so tiny its unreadable. Is there not some way you can zoom or maximise the window when your showing the code?

Good on you for having a go at the tutorials but unless your watching it on some huge screen / projector I don't see how you can follow along.
0 x

User avatar
keith56
Berk
Posts: 45
Joined: Mon Nov 13, 2017 9:23 pm

Re: Beginner's ASM Tutorial: Multiplatform Z80 ASM development videos... with vampires!

Post by keith56 » Sun Feb 18, 2018 3:43 am

Z80 Programming Lesson 4 is now online, this time we'll cover the Stack, indirect registers (IX & IY) - write our own String printer - print a hex string and use the CPC call with parameters!

https://youtu.be/Lz_tD123fmw

As usual the same content is documented on my website - and you can get the sourcecode as well!
http://www.chibiakumas.com/z80/
1 x
Chibi Akuma(s) Comedy-Horror 8-bit Bullet Hell shooter for CPC - http://www.chibiakumas.com
「チビ悪魔」可笑しいゴシックSTG: http://www.chibiakuma.com
Chibi Akumas Episode 2:Confrontation for CPC ...Out Now!

User avatar
keith56
Berk
Posts: 45
Joined: Mon Nov 13, 2017 9:23 pm

Re: Beginner's ASM Tutorial: Multiplatform Z80 ASM development videos... with vampires!

Post by keith56 » Sun Feb 25, 2018 4:00 am

Another episode of my Z80 programming tutorial series, covering Bit operations like NOT AND and OR, as well as Bit shifting commands, the CARRY flag, and even giving an example of a program with self modifying code!

As usual the video has a matching Text based tutorial on the project website:
http://www.chibiakumas.com/z80/

https://youtu.be/lyoIaVKF_3A
1 x
Chibi Akuma(s) Comedy-Horror 8-bit Bullet Hell shooter for CPC - http://www.chibiakumas.com
「チビ悪魔」可笑しいゴシックSTG: http://www.chibiakuma.com
Chibi Akumas Episode 2:Confrontation for CPC ...Out Now!

Post Reply