Welcome | |
---|---|
Welcome to a320
You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today! |
Moderator: Moderators
akibal wrote:How about the game 'Blood'?
flaviobello wrote:wow!! bloody!! gueroche cruo!! man, i just love those cultists of blood, best FPS ever n ever!
i found about this
http://h3g3m0n.wordpress.com/2007/03/17 ... der-linux/
with one is better, dosbox ot qemu? with MSDOS on dingoo, abandonwares like old duke nuken, dungerous dave, or even commander keen will work?
sorry for my noobies questions, i never used linux, and i know nothing about codding
zear wrote:Man, I should check the forums more often.
Didn't know you ported duke3d Joyrider, so I ported it myself (with the same resutls, 8bpp screen/color glitches).
I recorded a short video so you guys can see how it looks like:
http://www.youtube.com/watch?v=p84Nv2zDXsk
The second part features the game spout, which actually runs fine. I'm gonna release it soon when I find some free time (probably tomorrow).
BTW I got the same problems with xrick and powder..
#include <stdlib.h>
#include <stdint.h>
uint16_t* clut_create_RGB332() {
uint16_t* tempOut = (uint16_t*)malloc(256 << 1);
if(tempOut == NULL)
return NULL;
uintptr_t r, g, b, i;
for(i = 0, r = 0; r < 8; r++) {
for(g = 0; g < 8; g++) {
for(b = 0; b < 4; b++, i++) {
tempOut[i] = ((r << 13) | (r <<10)) & 0xF800;
tempOut[i] |= (g << 8) | (g << 5);
tempOut[i] |= (b << 3) | (b << 1) | (b >> 1);
}
}
}
return tempOut;
}
void buffer_convert(uint8_t* inBuffer, uint16_t* inClut, uint16_t* outBuffer) {
if((inBuffer == NULL) || (inClut == NULL) || (outBuffer == NULL)
return;
uint8_t* tempIBuff = inBuffer;
uint16_t* tempOBuff = outBuffer;
uint16_t* tempOBuffEnd = ((uintptr_t)outBuffer + (320 * 240 * 2));
while(tempOBuff < tempOBuffEnd) {
*(tempOBuff++) = inClut[*(tempIBuff++)];
*(tempOBuff++) = inClut[*(tempIBuff++)];
*(tempOBuff++) = inClut[*(tempIBuff++)];
*(tempOBuff++) = inClut[*(tempIBuff++)];
*(tempOBuff++) = inClut[*(tempIBuff++)];
*(tempOBuff++) = inClut[*(tempIBuff++)];
*(tempOBuff++) = inClut[*(tempIBuff++)];
*(tempOBuff++) = inClut[*(tempIBuff++)];
*(tempOBuff++) = inClut[*(tempIBuff++)];
*(tempOBuff++) = inClut[*(tempIBuff++)];
*(tempOBuff++) = inClut[*(tempIBuff++)];
*(tempOBuff++) = inClut[*(tempIBuff++)];
*(tempOBuff++) = inClut[*(tempIBuff++)];
*(tempOBuff++) = inClut[*(tempIBuff++)];
*(tempOBuff++) = inClut[*(tempIBuff++)];
*(tempOBuff++) = inClut[*(tempIBuff++)];
}
}
Users browsing this forum: No registered users and 2 guests