Search found 10 matches

by kinjal
Sat Jun 17, 2006 6:53 am
Forum: Coding Questions
Topic: Transparent Sprite Persistance Problem!!
Replies: 8
Views: 1586

Can you tell me one thing...which of these two methods will be faster?

1. I draw grid and points on same sprite. Grid drawing consitst of two loops which goes from 0 to 512 in steps of 32 and draws lines which needs to be executed whenever points are plotted.

2. The other method is using 2 sprites ...
by kinjal
Fri Jun 16, 2006 7:01 pm
Forum: Coding Questions
Topic: Transparent Sprite Persistance Problem!!
Replies: 8
Views: 1586

But I guess it takes a considerable amount of time! Isn't there any other way?
by kinjal
Fri Jun 16, 2006 5:48 pm
Forum: Coding Questions
Topic: Transparent Sprite Persistance Problem!!
Replies: 8
Views: 1586

No one? :(
by kinjal
Thu Jun 15, 2006 6:36 pm
Forum: Coding Questions
Topic: Transparent Sprite Persistance Problem!!
Replies: 8
Views: 1586

NO that does not work!

If I use ClearScreen(#Black) the background sprite which displays grid becomes invisible! I dont want to redraw the grid every time I plot the points.
by kinjal
Wed Jun 14, 2006 9:31 pm
Forum: Coding Questions
Topic: Transparent Sprite Persistance Problem!!
Replies: 8
Views: 1586

Transparent Sprite Persistance Problem!!

I am writing a program to plot a graph of some values in an array. For this I have created two sprites, one contains a grid while the other is used for plotting the data points. I have used two sprites to increase the speed of plotting as I dont have to draw grid everytime the plot loop is executed ...
by kinjal
Tue Jun 13, 2006 8:15 pm
Forum: Coding Questions
Topic: [ERROR] Invalid Memory Access ??
Replies: 11
Views: 2223

EVen after putting @GetData() it wasn't working!! showing "Mutex not defined" error. I made this little change i.e declared Mutex as global and is now working! Here is the code if anyone want to refer

Global Dim Display_buff.b(1024)
Global Mutex.l

Declare DisplayData()
Declare GetData()

If ...
by kinjal
Tue Jun 13, 2006 8:10 pm
Forum: Coding Questions
Topic: [ERROR] Invalid Memory Access ??
Replies: 11
Views: 2223

I dont think that is the reason why it is crashing. I tried using a long parameter just to check but it still crashes.
by kinjal
Tue Jun 13, 2006 7:51 pm
Forum: Coding Questions
Topic: [ERROR] Invalid Memory Access ??
Replies: 11
Views: 2223

[ERROR] Invalid Memory Access ??

Hi,
I have written a program to get 1024 bytes of data from hardware and plot it on screen. The main program continuosuly plots the data on screen while a separate thread is created for capturing the data from hardware. The problem I am facing is that even though memory access locks using Mutex are ...
by kinjal
Sun Apr 09, 2006 8:16 pm
Forum: Windows
Topic: libusb
Replies: 19
Views: 7514

No one has tried usblib yet?
by kinjal
Thu Apr 06, 2006 9:24 pm
Forum: Windows
Topic: libusb
Replies: 19
Views: 7514

Does anyone have a sample code for using usblib with PureBasic?