|
Atari coding BBS
Re: p2c routine? |
Posted by: earx
|
Mar,22.2005-19:48
|
for 060 you can do it much like the usual amiga c2p: shifts with orring.
for older processors you can use look-up tables: check out your planar bits:
aa......bb.....cc......dd.....
|
v
now the first 4 planar pixels are shifted + orred into a 16 bit word:
aaaabbbbccccdddd
|
v
and this we run through the look-up table to get the first four chunky pixels (4 bit)
abcdabcdabcdabcd.. repeat this shifted to get the full 16 pixels..
i think paranoid also did a p2c. you might be able to get some info from him too.
|
[All messages in this thread] [Start new thread]
What's the anti-troll code? That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
|