Search found 2 matches

by namco
Mon Dec 04, 2017 9:48 pm
Forum: Programming
Topic: ZXSpin Assembler
Replies: 22
Views: 349

Re: ZXSpin Assembler

Both ways work as long as the vertical axis is RSTd first followed the horizontal axis. I think that's why Jonathan uses them that was round, because we say X,Y and the ROM print uses the vertical cord first. That's fine! :) Oh and it's probably best to use brackets when seeing things like this: ld...
by namco
Mon Dec 04, 2017 9:04 pm
Forum: Programming
Topic: ZXSpin Assembler
Replies: 22
Views: 349

Re: ZXSpin Assembler

@R-Tape Beaten me to it, I was just about to mention that line (but not the solution).

However, comparing this code to mine (from a earlier game):

Code: Select all

ld a,(plx)
rst 16
ld a,(ply)
rst 16
Are the x and y values the wrong way around?