Login
Back to forumSee the full topicGo to last reply

Posted By

Csabo
on 2011-09-11
15:28:42
 Re: Draw a single pixel in assembler

Sent by email.

Drawing a single pixel is not that hard. Two main steps: get the pointer to the pixel (it's just math), change the byte at that address by adding a bit (OR operation). In my code I cheated a bit, X can only take a value from 0-255 (not 0-319).

Let me know if something is unclear!



Back to top


Copyright © Plus/4 World Team, 2001-2024