Greemngreek wrote
So to blacken the first 16 pixels,
@SCREEN
M=65536
Doesn't seem right..
It's not! But not because of that. 65536 = 1 0000 0000 0000 0000 in binary. You want to put 1111 1111 1111 1111 instead, which is -1.
So M=-1 would work fine. But if you want to put another value, for example 123, you'll have to first store it in D and then do that
@123
D=A
@SCREEN
M=D
Also, remember that you can put only positive values with @val. So you'll need additional commands to put negative ones.