General Category > Programming

Example Z80 assembly programs (was:ASM source code)

(1/35) > >>

arnoldemu:
New source:

http://www.cpctech.org.uk/source/normals.asm

Software scroll using LDI for copying the scroller.
Mode 1 font (2 bytes wide and 16 lines tall).

I will add to this thread as I release my example sources.

arnoldemu:
New source:

http://www.cpctech.org.uk/source/scrlrast.asm

A   simple single line scrolling horizontal split raster.

arnoldemu:
New source:


http://www.cpctech.org.uk/source/multinst.asm

Example shows how to load your own code into the multiface 2 ram. When the Stop button is pressed your code is executed. The multiface 2 menu is not shown.

arnoldemu:
New source

http://www.cpctech.org.uk/source/hardmess.asm

Horizontal message scroller. Uses hardware scroll (crtc reg 12 and 13).
Note: Code is not optimised, it is meant for example for others to learn.

arnoldemu:
New source

http://www.cpctech.org.uk/source/rotospr.asm

Source shows the type of sprites used in Mission Genocide, Ghosts and Goblins, Bubble Bobble, Ghouls and Ghosts.

Sprites are 3 colours (pen 0 is transparent). Background is 4 colours.
Sprites drawn using logical-OR and erased using logical-AND.

These are also known as "bitplane" sprites.

Navigation

[0] Message Index

[#] Next page

Go to full version
Powered by SMFPacks Reactions Mod
Powered by SMFPacks Alerts Pro Mod
Powered by SMFPacks Mentions Pro Mod