Jump to content



Photo
- - - - -

Have A Nice Day!


  • Please log in to reply
87 replies to this topic

#1 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 09 March 2007 - 04:09 AM

This topic will be used to talk about my addins. (I dont want to open a topic for an addin...)

Today I have 3 questions:
  • Do you think a file explorer and a file zipper is useful?
  • What kind of addin would you like to use?
  • Any addin idea?
About the CAS system, it isnt the thing I can do for FX becau i dont have time. (But I can try when I have time)
About TxtReader, I can make an addin that only need under 32*11*sizeof(char) bytes RAM to run (You can open a 10k txt file and need only <1k bytes to read it).

#2 eew

eew

    Casio Freak

  • Members
  • PipPipPipPip
  • 139 posts
  • Gender:Female
  • Location:Netherlands

  • Calculators:
    recent calculators:
    Casio fx-9860G SD
    Casio fx-82ms

    old calculators:
    HP 41C (1979)
    TI SR-40 (1976)
    Commodore [unkown type] (-+1970)

Posted 09 March 2007 - 12:19 PM

A explorer and a zipper wouldn't be usefull, you can do it 10 times more easy whit a pc.

#3 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 09 March 2007 - 12:42 PM

Yes... so what should be useful? EE-Pro?

#4 eew

eew

    Casio Freak

  • Members
  • PipPipPipPip
  • 139 posts
  • Gender:Female
  • Location:Netherlands

  • Calculators:
    recent calculators:
    Casio fx-9860G SD
    Casio fx-82ms

    old calculators:
    HP 41C (1979)
    TI SR-40 (1976)
    Commodore [unkown type] (-+1970)

Posted 09 March 2007 - 02:13 PM

What's EE-Pro?

#5 Xerxes

Xerxes

    Casio Freak

  • Members
  • PipPipPipPip
  • 130 posts
  • Gender:Male

Posted 10 March 2007 - 12:14 AM

What do you think about a chess program? There are some C sources available, if you not have enough time making your own program.

#6 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 10 March 2007 - 02:45 PM

Ah, Chess... Maybe ;)

#7 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 12 March 2007 - 03:50 PM

Before build a chess i must test a little thing, try this: http://www.casiocalc...amp;load_that=1

#8 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 12 March 2007 - 04:30 PM

Does it work?

#9 Xerxes

Xerxes

    Casio Freak

  • Members
  • PipPipPipPip
  • 130 posts
  • Gender:Male

Posted 12 March 2007 - 06:36 PM

Yes it works, but the grayscale flickers a bit.

Are you going to write your own chess program or do you want to use a chess source in c?

#10 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 12 March 2007 - 06:46 PM

"use a chess source" :P

@Xerxes: You should download it again

When playing you can press [Option] to see the fps, in the emu it's ~80-90, how about in the real calc?

#11 eew

eew

    Casio Freak

  • Members
  • PipPipPipPip
  • 139 posts
  • Gender:Female
  • Location:Netherlands

  • Calculators:
    recent calculators:
    Casio fx-9860G SD
    Casio fx-82ms

    old calculators:
    HP 41C (1979)
    TI SR-40 (1976)
    Commodore [unkown type] (-+1970)

Posted 12 March 2007 - 08:00 PM

47-48

It doesn't look like grayscales, it is fast flasing number of pixles, you can see it refresh form above.

P.S after runnig it my calculator came whit a low battery popup (after 1,5 month :unsure: )

#12 kucalc

kucalc

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Gender:Male
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly

    Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 12 March 2007 - 11:23 PM

That's because it's not true grayscales. :lol: It's just a amateur flicker trick, like what the community in Planet-Casio have been doing for a while. The only way we are going to get grayscales, is if we rewrite our own display functions. Current drawing functions are too slow to be used for grayscales. You'll have to wait until I release the functions for doing so. Wait till you see my re-make of Pong in TRUE grayscales. :D

#13 Xerxes

Xerxes

    Casio Freak

  • Members
  • PipPipPipPip
  • 130 posts
  • Gender:Male

Posted 12 March 2007 - 11:57 PM

As kucalc wrote, its only a flicker trick and so I think its better to not use grayscales anymore until he had a better solution. :)

@eew:
If your batteries are low too fast, better use this instead.

#14 kucalc

kucalc

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Gender:Male
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly

    Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 13 March 2007 - 12:02 AM

As kucalc wrote, its only a flicker trick and so I think its better to not use grayscales anymore until he had a better solution. :)


Yes, that is correct. The graphics in SLIPPY flicker WAY too much since the drawing routines are too slow. The EPSILON hardware project may be the only way of getting true grayscales.

haha, i've used the timer to procedure grayscale but in the PC it doesnt works :(


" Timers alone won't get you greyscales." Yes, but it prevent flicked.


Flick trick used in SLIPPY:
Posted Image

And what about the use of timers you said that you were able to use? Disassembly of your program does not indicate use of the SH3 timers. Also, please follow the terms and give credit to EPSILON (ex. the FPS).

If your batteries are low too fast, better use this instead.


Rechargeable batteries rock!!!! I've been using rechargeable batteries for my calculators for three years now and never had to buy another pack of batteries since then.

#15 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 13 March 2007 - 03:58 AM

Hey kucalc, I didnt use your timer!

Disassembly of your program does not indicate use of the SH3 timers


I used SH3Timer.

it here: http://www.esnips.co...f6d433/SH3Timer

#16 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 13 March 2007 - 04:14 AM

here is my source code:

extern "C" {
#include "fxlib.h"
#include "stdlib.h"
#include "stdio.h"
}
#include "string.h"
//typedef unsigned char byte;

#include "SH3Timers.h"
#include "GaumerieLib\GaumerieLib.h"
////////////////////////////////////////////////////////////////////////////////
//BITMAP scrN[1024]  = {0x00};
//BITMAP scrNG[1024] = {0x00};
BITMAP buf1[1024] = {0x00};
BITMAP buf2[1024] = {0x00};

GBitmap2 buffer = {128, 64, buf1, buf2};
BITMAP *screen[] = {buf1,buf2};
////////////////////////////////////////////////////////////////////////////////
//*********************************************************************//
unsigned char ucda1[6] = {0x78,0xac,0xd4,0xac,0xd4,0x78,};
unsigned char ucda2[6] = {0x78,0xfc,0xfc,0xfc,0xfc,0x78,};
GBitmap2 b_da={6,6,ucda1,ucda2};
//*********************************************************************//
unsigned char ucpl1[6] = {0x30,0x48,0x30,0x48,0xcc,0x30,};
unsigned char ucpl2[6] = {0x30,0x48,0x30,0x78,0xfc,0x30,};
GBitmap2 b_pl={6,6,ucpl1,ucpl2};
//*********************************************************************//
unsigned char ucxu1[6] = {0x30,0x48,0xb4,0xb4,0x48,0x30,};
unsigned char ucxu2[6] = {0x0,0x0,0x30,0x30,0x0,0x0,};
GBitmap2 b_xu={6,6,ucxu1,ucxu2};
//*********************************************************************//
unsigned char ucthung1[6] = {0x78,0xe4,0xf4,0xdc,0xfc,0x78,};
unsigned char ucthung2[6] = {0x0,0x0,0x0,0x0,0x0,0x0,};
GBitmap2 b_thung={6,6,ucthung1,ucthung2};
//*********************************************************************//
BITMAP ucphadc2[6] = {0x0,0x78,0x78,0x78,0x78,0x0,};
BITMAP ucphadc1[6] = {0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,};
GBitmap2 b_phadc={6,6,ucphadc1,ucphadc2};
//*********************************************************************//
GBitmap2 b_clr={6,6,ucthung2,ucthung2};
GBitmap2* bitmaps[]={&b_da,&b_xu,&b_thung,&b_phadc,&b_pl,&b_clr};
//*********************************************************************//
#define GetKey IsKeyDown
void CopyToScreen(unsigned char * kd,unsigned char t=IMB_WRITEKIND_OVER)
{	
	GRAPHDATA d;
	DISPGRAPH sss;d.width=128;d.height=64;d.pBitmap=kd;
	sss.x=0;	sss.y=0;	sss.GraphData=d;	sss.WriteModify=IMB_WRITEMODIFY_NORMAL; sss.WriteKind=t;
	Bdisp_WriteGraph_VRAM(&sss);
}

class SLIPPY_CLASS
{
	private:
		int lvl,level[10][16],px,py;
	public:
		virtual signed play();
		void dDraw();
	int Logo();
		void load_level(int lvl),move(int dx,int dy);
		void win();
};	
const unsigned int LuaFont_offset_table[] = {
0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 
32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 
64, 68, 70, 74, 80, 84, 89, 94, 96, 99, 102, 106, 112, 115, 120, 122, 
127, 132, 136, 141, 146, 151, 156, 161, 166, 171, 176, 178, 181, 185, 190, 194, 
198, 203, 208, 213, 218, 223, 228, 233, 238, 243, 247, 252, 257, 262, 268, 273, 
278, 283, 288, 293, 298, 304, 309, 314, 320, 325, 330, 335, 339, 344, 348, 352, 
356, 358, 363, 368, 373, 378, 383, 387, 392, 397, 400, 404, 408, 411, 417, 422, 
427, 432, 437, 441, 446, 450, 455, 460, 466, 471, 476, 481, 485, 487, 491, 496, 
498, 503, 508, 513, 518, 523, 528, 533, 539, 544, 550, 555, 560, 564, 570, 576, 
581, 586, 591, 596, 601, 606, 611, 615, 620, 625, 632, 637, 641, 646, 651, 656, 
661, 665, 669, 671, 675, 680, 685, 690, 695, 699, 704, 709, 711, 715, 720, 725, 
730, 735, 740, 745, 750, 755, 761, 766, 771, 775, 781, 786, 790, 794, 799, 804, 
809, 814, 819, 824, 829, 836, 841, 846, 851, 855, 859, 864, 869, 874, 879, 884, 
889, 895, 897, 902, 907, 912, 917, 924, 929, 936, 941, 947, 953, 959, 963, 969, 
974, 978, 982, 986, 992, 994, 998, 1002, 1006, 1010, 1013, 1018, 1023, 1028, 1033, 1038, 
1043, 1046, 1049, 1052, 1056, 1060, 1065, 1068, 1073, 1078, 1083, 1088, 1093, 1098, 1103, 1108, 
};

const unsigned char LuaFont_data_table[8*139] = {
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
0x0, 0x0, 0x0, 0x0, 0x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x82, 0xb3, 0xa9, 0xa7, 0xb9, 
0x8d, 0x73, 0x80, 0x0, 0x4c, 0xb, 0x5a, 0xd6, 0xb5, 0xad, 0x60, 

0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x0, 0x3e, 0x64, 0x50, 0x88, 0x8, 0x0, 0x11, 
0x22, 0x80, 0x84, 0x29, 0xa, 0x42, 0x2, 0x79, 0x2, 0x12, 0x94, 0x25, 0x8, 0x4a, 0x48, 0x4a, 
0x42, 0x29, 0x4a, 0x16, 0xa0, 0x88, 0x95, 0x36, 0x91, 0x11, 0x4, 0x20, 0x2, 0x52, 0x84, 0xa1, 
0x1e, 0x94, 0x2a, 0x91, 0x4a, 0x52, 0x94, 0x12, 0x25, 0x4a, 0xa4, 0xe4, 0x24, 0x94, 0x1, 0x8, 
0x42, 0x50, 0x40, 0x18, 0x22, 0x0, 0x2, 0x20, 0x44, 0x21, 0x8, 0x4a, 0x1, 0xc, 0x0, 0x80, 
0x2, 0x10, 0x80, 0x75, 0x92, 0x84, 0x20, 0x12, 0x80, 0x10, 0x84, 0xa1, 0x8, 0x42, 0x57, 0x42, 
0x0, 0x2, 0x8b, 0xa1, 0x26, 0x42, 0xc, 0x64, 0x81, 0x42, 0x9, 0x90, 0x94, 0x91, 0x28, 0x28, 
0x21, 0x8a, 0xe2, 0xa5, 0x22, 0xb1, 0xe, 0x24, 0xc2, 0x71, 0x11, 0x3c, 0x91, 0xb9, 0x36, 0xb5, 
0x8d, 0x63, 0x1a, 0x6e, 0x48, 0x8, 0x42, 0x10, 0x84, 0x21, 0x0, 

0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x8, 0x14, 0xc9, 0x28, 0x50, 0x8, 0x40, 0xa0, 
0xc2, 0x77, 0x5, 0xc6, 0x9, 0x8c, 0x91, 0x2, 0x11, 0xd2, 0xf7, 0xbd, 0xe8, 0x7a, 0x5d, 0x89, 
0x7a, 0x29, 0x7a, 0xe, 0x97, 0x88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0x0, 0x0, 0x17, 0x0, 
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x0, 0x15, 0x80, 0x94, 0x0, 0x0, 0x0, 
0x3, 0x82, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3b, 0xa3, 0x80, 0x0, 0x0, 0x0, 0x0, 
0x0, 0x0, 0x1b, 0x64, 0x0, 0x40, 0x0, 0x0, 0x0, 0x0, 0x0, 

};

typedef struct
{
unsigned int *offset;
unsigned char *data;
int height;
} Font;

const Font LuaFont = {(unsigned int *)LuaFont_offset_table,(unsigned char *)LuaFont_data_table,8};
int text(int x0,int top=0,int y0=0,int left=127,int bottom=63,unsigned char *s=NULL,int *iii=NULL)
{
  int i=0,j,k,x=x0,y=y0,r=0;
	  for(i=0;i<strlen((char*)s);i++){
	if(s[i]=='\n'){x=x0;y+=LuaFont.height;if(y+LuaFont.height>bottom) return r;continue;}
	else if(x+LuaFont.offset[s[i]+1]-LuaFont.offset[s[i]]>left) {x=x0;y+=LuaFont.height;if(y+LuaFont.height>bottom) return r;}
	for(j=LuaFont.offset[s[i]];j<LuaFont.offset[s[i]+1];j++){
				  x++;if(x)
		for(k=0;k<LuaFont.height;k++)
			if(y+k>=top&&y+k<=bottom)if(LuaFont.data[k*139+(j>>3)]&(0x80)>>(j-((j>>3)<<3))) Bdisp_SetPoint_VRAM(x,y+k,1);
		}
		 }
	if(y+k<=0)*iii=0;
	 return r;
}
int SLIPPY_CLASS::Logo(void) {
	unsigned char ucLogo[1024] = {
0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x5f,0xff,0xff,0xff,0xff,0xff,0xfd,0x55,
0x55,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xa8,0x0,0x0,0x0,0x0,0x0,0x6,0xaa,
0xaa,0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x58,0xfe,0x7b,0x80,0x0,0x0,0x5,0x55,
0x55,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xa9,0xe0,0x78,0x0,0x0,0x0,0x6,0xaa,
0xaa,0x55,0x55,0x57,0xf5,0x55,0x55,0x55,0x59,0xfe,0xf7,0x9f,0xcf,0xe7,0x75,0x55,
0x55,0xaa,0xaa,0xaf,0xfa,0xaa,0xaa,0xaa,0xa9,0xfe,0xf7,0xbc,0xde,0x6f,0x76,0xaa,
0xaa,0x55,0x55,0x5f,0xfd,0x55,0x55,0x55,0x59,0xfe,0xf7,0x79,0xdc,0xce,0xe5,0x55,
0x55,0xaa,0xaa,0xbf,0xfe,0xaa,0xaa,0xaa,0xa8,0xd,0xef,0x7f,0xbf,0xcf,0xe6,0xaa,
0xaa,0x55,0x55,0x7f,0xff,0x55,0x55,0x55,0x5b,0xfd,0xef,0x7f,0x3f,0x81,0xe5,0x55,
0x55,0xaa,0xaa,0xff,0xff,0xaa,0xaa,0xaa,0xa8,0x0,0x0,0xf0,0x78,0x1f,0xc6,0xaa,
0xaa,0x55,0x55,0xff,0xff,0xd5,0x55,0x55,0x58,0x0,0x0,0x0,0x0,0x0,0x5,0x55,
0x55,0xaa,0xaa,0xff,0xff,0xaa,0xaa,0xaa,0xaf,0xff,0xff,0xff,0xff,0xff,0xfe,0xaa,
0xaa,0x55,0x55,0xff,0xff,0xd5,0x55,0x55,0x55,0x55,0x55,0x5f,0xd5,0x55,0x55,0x55,
0x55,0xaa,0xab,0xff,0xff,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xbf,0xea,0xaa,0xaa,0xaa,
0xaa,0x55,0x55,0xfc,0x79,0xd5,0x55,0x55,0x55,0x55,0x55,0x5f,0xd5,0x55,0x55,0x55,
0x55,0xaa,0xab,0xf8,0x30,0xaa,0xaa,0x9f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xfe,0x55,0x55,0xf3,0x36,0xd5,0x55,0x7f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xfd,0xaa,0xab,0xf3,0x36,0xaa,0xaa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,0x55,0x55,0x55,0x55,0x55,0x55,
0x55,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,
0xaa,};
int i=0;
char strhelp[]="\n\n\n\n\n\nSLIPPY\n======\nA puzzle game where you must collect all the coins in each\nlevel.\n Controls:\nMove: Curs/Num\nRestart: Ac\nExit: Exit\nChangeLvl: +/-\n\n======\nAuthor\n======\nvanhoa\n\n=======\nversion\n=======\n1.00\n\n\n(c) vanhoa 2007";
SH3Timer::SetTimerFreq(SH3Timer::TIMER_2, 6000);
SH3Timer::SetCount(SH3Timer::TIMER_2, 0);
SH3Timer::Start(SH3Timer::TIMER_2);
while(GetKey(KEY_CTRL_EXE)||IsKeyDown(KEY_CTRL_EXIT))if(SH3Timer::HasUnderflowed(SH3Timer::TIMER_2)){CopyToScreen(ucLogo);text(52,19,i,122,57,(unsigned char*)strhelp,&i);Bdisp_PutDisp_DD();i--;};
while(!GetKey(KEY_CTRL_EXE)&&!IsKeyDown(KEY_CTRL_EXIT))if(SH3Timer::HasUnderflowed(SH3Timer::TIMER_2)){CopyToScreen(ucLogo);text(52,19,i,122,57,(unsigned char*)strhelp,&i);Bdisp_PutDisp_DD();i--;};
i=0;while(GetKey(KEY_CTRL_EXE)) i=IsKeyDown(KEY_CTRL_EXIT);
SH3Timer::Stop(SH3Timer::TIMER_2);
delete [] ucLogo;
free(strhelp);
return i;
}

void SLIPPY_CLASS::load_level(int lvl){
	int i=0,j;
#include "level.h"
//	memset(level,5,144*sizeof(int));
	for(i=0;i<10;i++) for(j=0;j<16;j++) level[i][j]=5;
	i=j=0;
	for(j=0;j<117;j++){
		if(MapData[lvl][j]==254){i++;if(i>4) break;}
		level[(int)(MapData[lvl][j]/16)][MapData[lvl][j]%16]=i;
	}
	for(i=0;i<10;i++) for(j=0;j<16;j++) if(level[i][j]==4) {px=i;py=j;level[i][j]=5;};
}	

int t=0,f=0;int crrbuf=0;
void tmb(){f=t;t=0;};

void SLIPPY_CLASS::dDraw()
{
	int i,j;
	for(i=0;i<10;i++)
		for(j=0;j<16;j++){
			DrawBitmap2(bitmaps[level[i][j]],j*6+16,2+i*6,&buffer);
		}
	DrawBitmap2(bitmaps[4],py*6+16,2+px*6,&buffer);
	//DrawBitmap2(&buffer, 0, 0, &screen);
	crrbuf^=1;
	CopyToScreen(screen[crrbuf]);
		if(IsKeyDown(KEY_CTRL_OPTN)) {char s[21];sprintf(s,"%i",f);PrintMini(0,0,(unsigned char*)s,1);}
		///
	Bdisp_PutDisp_DD();
t++;
}

void SLIPPY_CLASS::win()
{
	for(int i=0;i<10;i++) for(int j=0;j<16;j++) if(level[i][j]==1) return;
	lvl++;  lvl%=25;load_level(lvl);dDraw();
}
	
void SLIPPY_CLASS::move(int dx,int dy){
	int x=(px+dx+10)%10,y=(py+dy+16)%16;
	if(level[x][y]==0&&level[x][y]==3) return;
	if(level[x][y]==5){px=x;py=y;dDraw();return;}
	if(level[x][y]==1){level[x][y]=5;px=x;py=y;dDraw();win();return;}
	if(level[x][y]==2){
		int i=x,j=y;
		while(i+dx>=0&&i+dx<10&&j+dy>=0&&j+dy<16) if(level[i+dx][j+dy]!=5) break; else {level[i][j]=5;i+=dx;j+=dy;level[i][j]=2;dDraw();}
		i+=dx;j+=dy;if(i>=0&&i<10&&j>=0&&j<16){if(level[i][j]==3){dDraw();dDraw();dDraw();dDraw();dDraw();level[i-dx][j-dy]=level[i][j]=5;dDraw();}}else level[i-dx][j-dy]=5;
		dDraw();
		return;
	}
}	

signed SLIPPY_CLASS::play()
{
	if(Logo()) return 0;
	lvl=0;
	SH3Timer::SetTimerFreq(SH3Timer::TIMER_2, 3000);
	SH3Timer::SetCount(SH3Timer::TIMER_2, 0);
	SH3Timer::Start(SH3Timer::TIMER_2);
	//GrayScales::SetBuffers(screen.tuc_Bmp, screen.tuc_Bmp2);
	SetTimer(1,1000,tmb);
	load_level(lvl);
	dDraw();
	while(1){
	  if(SH3Timer::HasUnderflowed(SH3Timer::TIMER_2)){
		///
		if(GetKey(KEY_CHAR_PLUS))  {lvl++;  lvl%=25;load_level(lvl);dDraw();}
		if(GetKey(KEY_CHAR_MINUS)) {lvl+=24;lvl%=25;load_level(lvl);dDraw();}
		if(GetKey(KEY_CTRL_AC)) {load_level(lvl);dDraw();}
		///
		if(GetKey(KEY_CHAR_8)||GetKey(KEY_CTRL_UP)) move(-1,0);
		if(GetKey(KEY_CHAR_2)||GetKey(KEY_CTRL_DOWN)) move(1,0);
		if(GetKey(KEY_CHAR_4)||GetKey(KEY_CTRL_LEFT)) move(0,-1);
		if(GetKey(KEY_CHAR_6)||GetKey(KEY_CTRL_RIGHT)) move(0,1);
	  }	
		if(IsKeyDown(KEY_CTRL_EXIT)) break;
	crrbuf^=1;CopyToScreen(screen[crrbuf]);
		if(IsKeyDown(KEY_CTRL_OPTN)) {char s[21];sprintf(s,"%i",f);PrintMini(0,0,(unsigned char*)s,1);}
		///
	Bdisp_PutDisp_DD();t++;	}
	Bdisp_AllClr_VRAM();
	 SH3Timer::StopAll();
	return 0;
}

extern "C" int AddIn_main(int isAppli, unsigned short OptionNum)
{
	SLIPPY_CLASS slpcl;
	slpcl.play();
	return 1;
}

#pragma section _BR_Size
unsigned long BR_Size;
#pragma section

#pragma section _TOP

extern "C" int InitializeSystem(int isAppli, unsigned short OptionNum)
{
	return INIT_ADDIN_APPLICATION(isAppli, OptionNum);
}

#pragma section


#17 kucalc

kucalc

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Gender:Male
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly

    Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 13 March 2007 - 04:52 AM

Hey kucalc, I didnt use your timer!
I used SH3Timer.


Hahaha :roflol:, I knew you where going to post something (and luckily your code also) like this after I posted my comments. You have proven my point that timers won't get you grayscales! And you lied about how you were able to use timers to prevent flicker. I've been saying all this time, you need to write your own display functions. Using Gaumerie's libraries has also shown that you probably don't know how to program the hardware. The Gaumerie library will only take you so far as it's designed for the ClassPad (try changing the year using the Gaumerie library and run it on the fx-9860), but EPSILON can harness the power of the fx-9860 :D....

#18 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 13 March 2007 - 09:36 AM

You didnt understand me, when i said that i mean it can prevent flicked (because we may manage the blink of a point to the best view) but first we need a faster drawing routine.

#19 eew

eew

    Casio Freak

  • Members
  • PipPipPipPip
  • 139 posts
  • Gender:Female
  • Location:Netherlands

  • Calculators:
    recent calculators:
    Casio fx-9860G SD
    Casio fx-82ms

    old calculators:
    HP 41C (1979)
    TI SR-40 (1976)
    Commodore [unkown type] (-+1970)

Posted 13 March 2007 - 02:59 PM

That's because it's not true grayscales. :lol: It's just a amateur flicker trick, like what the community in Planet-Casio have been doing for a while. The only way we are going to get grayscales, is if we rewrite our own display functions. Current drawing functions are too slow to be used for grayscales. You'll have to wait until I release the functions for doing so. Wait till you see my re-make of Pong in TRUE grayscales. :D


I know, but you wanted my opinon, it is not useable.

#20 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 13 March 2007 - 08:35 PM

Stop games right now! ;D

3D graph: http://www.casiocalc...amp;load_that=1

Some basic instructions:

*Press <span class=F4' /> when inputting text change the case.
*Press <span class=F3' /> to set view window.
*Draw Graph by press <span class=EXE' /> 2 times.
*Roate by curs.
*Zoom by [+] / [-].

Current supports funs:

Gcd.Lcm.IIF.Sin.Cos.Tan.Asin.Acos.Atan.Log.Ln.Sqr

I can add more easily when needed

#21 eew

eew

    Casio Freak

  • Members
  • PipPipPipPip
  • 139 posts
  • Gender:Female
  • Location:Netherlands

  • Calculators:
    recent calculators:
    Casio fx-9860G SD
    Casio fx-82ms

    old calculators:
    HP 41C (1979)
    TI SR-40 (1976)
    Commodore [unkown type] (-+1970)

Posted 13 March 2007 - 08:50 PM

TLB ERROR

Target 0002403E
PC 00300586

#22 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 13 March 2007 - 08:51 PM

How can u get it?

#23 eew

eew

    Casio Freak

  • Members
  • PipPipPipPip
  • 139 posts
  • Gender:Female
  • Location:Netherlands

  • Calculators:
    recent calculators:
    Casio fx-9860G SD
    Casio fx-82ms

    old calculators:
    HP 41C (1979)
    TI SR-40 (1976)
    Commodore [unkown type] (-+1970)

Posted 13 March 2007 - 08:53 PM

I was playing al little bit and trying to add a function in Z2.

#24 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 13 March 2007 - 09:28 PM

Posted Image

As you can see, i got no err @-)

#25 Manuel Naranjo

Manuel Naranjo

    Casio Addict

  • Members
  • PipPipPip
  • 65 posts
  • Gender:Male
  • Location:Rosario, Argentina

Posted 13 March 2007 - 10:36 PM

Stop games right now! ;D

3D graph: http://www.casiocalc...amp;load_that=1

Some basic instructions:

*Press <span class=F4' /> when inputting text change the case.
*Press <span class=F3' /> to set view window.
*Draw Graph by press <span class=EXE' /> 2 times.
*Roate by curs.
*Zoom by [+] / [-].

Current supports funs:

Gcd.Lcm.IIF.Sin.Cos.Tan.Asin.Acos.Atan.Log.Ln.Sqr

I can add more easily when needed


Great job, it runs quite fast. With kucalc speeder it runs even better.
I like how you could "simulate" 9860 menus, it will be great to create a lib for standard controls.
It would be nice that people release they're project as open source so others can improve things or get ideas from them.
Cheers,
Manuel

#26 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 14 March 2007 - 04:48 AM

the menu is quite easy (the copyright line is a repleace for menu in this version) but i must struct it (yiu press a key, you will be in another menu)...

@Manuel Naranjo : I dont think overclock whithout replace the chip is a good way. Casio told they used the best speed...

#27 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 14 March 2007 - 11:01 AM

Some note in 'How to input an equation'?

* 2X mean varible named '2X' not "2*X";
* Sin(x)Cos(y) wont work, you must write Sin(x)*Cos(y);
* Varible name "Name1" is differnt from "name1"; so sin(x) is undef, it must be "Sin(x)"

If you need more functions (for example : Solve(eq,var), IsPrime(X),...), just tell me.

#28 eew

eew

    Casio Freak

  • Members
  • PipPipPipPip
  • 139 posts
  • Gender:Female
  • Location:Netherlands

  • Calculators:
    recent calculators:
    Casio fx-9860G SD
    Casio fx-82ms

    old calculators:
    HP 41C (1979)
    TI SR-40 (1976)
    Commodore [unkown type] (-+1970)

Posted 14 March 2007 - 03:20 PM

Posted Image

As you can see, i got no err @-)


What do you mean?

#29 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 14 March 2007 - 03:34 PM

As the code say, the problem is not enouph memory or invail data read, I think you input a very long equation at Z1 right? If not, Plz tell me all your before operations!

#30 eew

eew

    Casio Freak

  • Members
  • PipPipPipPip
  • 139 posts
  • Gender:Female
  • Location:Netherlands

  • Calculators:
    recent calculators:
    Casio fx-9860G SD
    Casio fx-82ms

    old calculators:
    HP 41C (1979)
    TI SR-40 (1976)
    Commodore [unkown type] (-+1970)

Posted 14 March 2007 - 03:40 PM

In z1 there was somting like sin(x)+sin(y).

If not done somting else.

#31 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 14 March 2007 - 03:58 PM

Sorry, I cant do much now... I've checked my code but it's normal...

Can you replay the bug?

#32 eew

eew

    Casio Freak

  • Members
  • PipPipPipPip
  • 139 posts
  • Gender:Female
  • Location:Netherlands

  • Calculators:
    recent calculators:
    Casio fx-9860G SD
    Casio fx-82ms

    old calculators:
    HP 41C (1979)
    TI SR-40 (1976)
    Commodore [unkown type] (-+1970)

Posted 14 March 2007 - 04:10 PM

When I'm back I'il try.

#33 Horrowind

Horrowind

    Newbie

  • Members
  • Pip
  • 29 posts
  • Gender:Male

  • Calculators:
    9860G SD
    9850GB+

Posted 14 March 2007 - 07:22 PM

U can add a Init View-Window

#34 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 14 March 2007 - 08:12 PM

Ok, download 1.01:

*Press <span class=F1' /> while setting viewwindow Init the View-Window .

*Press <span class=F1' /> while viewing the graph change the axes style.
...

http://www.casiocalc...amp;load_that=1

#35 TyYann

TyYann

    Casio Freak

  • Members
  • PipPipPipPip
  • 107 posts
  • Gender:Male
  • Location:Seoul, South Korea

  • Calculators:
    Casio fx-4000P (since 1988)
    Casio CFX-9850GB PLUS
    Sharp EL-9900
    Casio fx-9860G SD
    Casio fx-9860GII SD
    Casio Graph 90+E
    TI-83 Premium CE (no Python)
    and a 25-column abacus...

Posted 15 March 2007 - 01:36 PM

Great !
Works wonderfully for me. The axes are just what was missing.
And you forgot to mention the bug fix you did already.

Once again, thanks.

Keep improving it !
This is definitively going to be one of the best add-in on this calc.

#36 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 15 March 2007 - 02:53 PM

Thank you,

Ver. 1.02 has comed!

News: You can draw on 5 kinds of equation (Press <span class=F5' /> to change)

1./. z=f(x,y);
2./. 1 Parameter (x=f1(t), y=f2(t), z=f3(t)), to input this, use the systax: f1,f2,f3
Ex: Z1=2*cos(t),2*sin(t),t/5
3./. 2 Parameter (x=f1(s,t), y=f2(s,t), z=f3(ts,)), to input this, use the systax: f1,f2,f3
4./. z=f(s,t), here s stand for the radius and t stand for thera in Cylindrical coordinates.
ex: Z1=t/2 or Z1=s*t/3
5./. r=f(s,t), here s stand for phi and t stand for thera in Spherical coordinates.
Ex: Z1=2.5

You can adjust the parameter bound in the view-window.

Download here: http://www.casiocalc...amp;load_that=1

#37 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 19 March 2007 - 05:03 AM

Any one who need the text input class give me a PM.

Btw, I need some ideas for games and for addins or for this Graph3D!!!!!!!

#38 thomatos

thomatos

    Newbie

  • Members
  • Pip
  • 28 posts

  • Calculators:
    fx-9860 G

Posted 19 March 2007 - 04:24 PM

Could you do a pac-man, like the pac-man in "Graph 100" (i don't know how to say it in English), because i really like this game, and if you can do it, please put the same things which are in the original, like speed regulator, or color (black and white inverser. Please do it ^^ !!!

#39 Menno

Menno

    Casio Freak

  • Members
  • PipPipPipPip
  • 184 posts
  • Gender:Male
  • Location:Netherlands

  • Calculators:
    Casio 880P
    Casio Graph 25+
    Casio fx-9860g sd

Posted 19 March 2007 - 04:26 PM

Any one who need the text input class give me a PM.

Btw, I need some ideas for games and for addins or for this Graph3D!!!!!!!



i could use your text class :)

i also would like to know if it is possible to input numbers

send it to
m.debes at kpnplanet.nl

#40 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 20 March 2007 - 04:46 AM

Could you do a pac-man, like the pac-man in "Graph 100" (i don't know how to say it in English), because i really like this game, and if you can do it, please put the same things which are in the original, like speed regulator, or color (black and white inverser. Please do it ^^ !!!


Sure, it's easy. But, I think kucalc's Chip8 already have it right?

i could use your text class :)

i also would like to know if it is possible to input numbers

send it to
m.debes at kpnplanet.nl


Ok


EDIT:
Sorry, I cant send file to your email address



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users