Greed/Z80 Assembly: Difference between revisions

m
Fixed syntax highlighting and removed duplicate header.
(Z80 assembly version of Greed)
 
m (Fixed syntax highlighting and removed duplicate header.)
 
Line 1:
=={{header|Z80 Assembly}}==
 
This code will run on an MSX computer under MSX-DOS. It needs an MSX that supports the 80-column text mode,
which pretty much means an MSX2.
 
<langsyntaxhighlight lang="z80">;; MSX version of Greed - needs 80 column system and MSX-DOS.
;; Assembles using Sjasm
;;; RAM locations
Line 549 ⟶ 547:
dirs: equ hilite+1 ; 8 bytes; N NE E SE S SW W NW
score: equ dirs+8 ; Score, 2-byte integer
field: equ 1000h ; Field location</syntaxhighlight>
</lang>
9,482

edits