Progress

Talk about programming CreatiVision (except games programming). Projects of homebrew hardware are also welcome.
User avatar
Mobsie
Posts: 708
Joined: Fri Jun 13, 2008 10:38 am
Location: Weinheim, Germany

Re: Progress

Post by Mobsie » Mon Dec 02, 2013 7:34 am

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.
User avatar
@username@
Posts: 320
Joined: Tue Oct 22, 2013 6:59 pm
Location: Scotland

Re: Progress

Post by @username@ » Mon Dec 02, 2013 10:43 am

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.
You do not have the required permissions to view the files attached to this post.
User avatar
@username@
Posts: 320
Joined: Tue Oct 22, 2013 6:59 pm
Location: Scotland

Re: Progress

Post by @username@ » Tue Dec 03, 2013 4:13 pm

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!
You do not have the required permissions to view the files attached to this post.
User avatar
@username@
Posts: 320
Joined: Tue Oct 22, 2013 6:59 pm
Location: Scotland

Re: Progress

Post by @username@ » Wed Dec 04, 2013 4:17 pm

Another day, another little bit forward.

Here's the cursor sprite demo!
You do not have the required permissions to view the files attached to this post.
User avatar
@username@
Posts: 320
Joined: Tue Oct 22, 2013 6:59 pm
Location: Scotland

Re: Progress

Post by @username@ » Thu Dec 05, 2013 9:50 pm

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!
User avatar
Mobsie
Posts: 708
Joined: Fri Jun 13, 2008 10:38 am
Location: Weinheim, Germany

Re: Progress

Post by Mobsie » Fri Dec 06, 2013 10:13 am

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.
User avatar
@username@
Posts: 320
Joined: Tue Oct 22, 2013 6:59 pm
Location: Scotland

Re: Progress

Post by @username@ » Mon Dec 09, 2013 12:32 pm

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.
User avatar
Mobsie
Posts: 708
Joined: Fri Jun 13, 2008 10:38 am
Location: Weinheim, Germany

Re: Progress

Post by Mobsie » Tue Dec 10, 2013 9:00 pm

great step! My friends are really happy with this, not need to learn 6502 to make CV stuff.
Post Reply