Page 2 of 2

Re: Progress

Posted: Mon Dec 02, 2013 7:34 am
by Mobsie
Yes! is Amazing.
We also works on special VDP functions like vmemtomemcpyfast, vmemtomemcpyslow,vmemsetfast,vmemsetslow,set_write_vram_address,set_read_vram_adress.

With this set than is easy possible, possible is now, to handle with vdp ram like set the address and read or write. This is all people need to write each kind of soft / games.
Special functions for sprites follow for easy handling.

Re: Progress

Posted: Mon Dec 02, 2013 10:43 am
by @username@
Added joystate function. This mimics the BASIC JOY function.

Code: Select all

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <conio.h>
#include <creativision.h>

static const char Text[] = "Joysticks";

int main( void )
{
	unsigned char XSize, YSize;
	unsigned char c;
	
	clrscr();

	screensize(&XSize, &YSize);

	cputc(CH_ULCORNER);
	chline(XSize - 2);
	cputc(CH_URCORNER);

	cvlinexy(0,1,YSize-2);

	cputc(CH_LLCORNER);
	chline(XSize-2);
	cputc(CH_LRCORNER);

	cvlinexy(XSize-1, 1, YSize - 2);

	gotoxy((XSize - strlen(Text)) / 2, YSize / 2);
	cprintf("%s", Text);

	while (1)
	{
        gotoxy(9,14);
		c = joystate(JOY_LEFT_DIR);
        cputc(c+48);
		gotoxy(13,14);
		c = joystate(JOY_RIGHT_DIR);
		cputc(c+48);
		gotoxy(17,14);
		c = joystate(JOY_LEFT_BUTTONS);
		cputc(c+48);
		gotoxy(21,14);
		c = joystate(JOY_RIGHT_BUTTONS);
		cputc(c+48);
	}

	return 0;
}
I've also updated the cvwip in the setup guide. As before, download and overwrite.

Re: Progress

Posted: Tue Dec 03, 2013 4:13 pm
by @username@
Another little update, just to let you know we're not sleeping :)

The porting of the low-level Colecovision library is almost complete, so I thought I'd share the starfield demo with you.

Expect the code and library real soon!

Re: Progress

Posted: Wed Dec 04, 2013 4:17 pm
by @username@
Another day, another little bit forward.

Here's the cursor sprite demo!

Re: Progress

Posted: Thu Dec 05, 2013 9:50 pm
by @username@
Another update.

Bad news
Sadly, we are not officially part of CC65. I'm just too old to care whether code has tabs or spaces and so on, so blame it on me! You can still use my unofficial WIP though, so hopefully not a huge impact.

Good news
PkK is reviewing our version of his libcv and libcvu, so we should have a complete SDK real soon!

Re: Progress

Posted: Fri Dec 06, 2013 10:13 am
by Mobsie
this is no problem, people can use the version like is now.
I know Philipp, he from germany, is great that he look over the lib. He bring a lot ideas to the ColecoVision community and he was the first who solved all the timing problems.

Re: Progress

Posted: Mon Dec 09, 2013 12:32 pm
by @username@
CreatiVision SDK libraries

Source : http://sourceforge.net/projects/cvsdk/f ... 206.tar.gz

Doxygen docs : http://sourceforge.net/projects/cvsdk/f ... 206docs.7z

These are very much a work in progress. Number one on the todo list is to add the demo code.

Re: Progress

Posted: Tue Dec 10, 2013 9:00 pm
by Mobsie
great step! My friends are really happy with this, not need to learn 6502 to make CV stuff.