android
Go Back   abi>>forums > Search Forums

Sponsored Results:





Showing results 1 to 25 of 88
Search took 0.05 seconds.
Search: Posts Made By: Jan_DK
Forum: Zen X-Fi2 Applications & Development 02-15-2010, 01:39 PM
Replies: 8
Views: 1,667
Posted By Jan_DK
You got 3 invalid sounds to start with. In...

You got 3 invalid sounds to start with.

In this I'm using dPoweramp to convert to 44.100Khz 16bit 2 channels just to be shure.
Error converting to Wave, 'C:\Documents and...
Forum: Zen X-Fi2 Applications & Development 02-06-2010, 04:45 PM
Replies: 21
Views: 2,213
Posted By Jan_DK
Nice to get a update to the sim and sdk. ...

Nice to get a update to the sim and sdk.

There is one function I noted in the sdk, that is very useful
image.draw(x,y, [srcX, srcY, srcWidth, srcHeight])
"you can draw part of an image by...
Forum: Zen X-Fi2 Applications & Development 01-30-2010, 02:28 PM
Replies: 6
Views: 4,807
Posted By Jan_DK
Thanks for that update, adding multiple file's in...

Thanks for that update, adding multiple file's in one go, was going to be
my "request" too, later on, and ding there it is. :-)


Jan_DK
Forum: Zen X-Fi2 Applications & Development 01-28-2010, 03:52 PM
Replies: 6
Views: 4,807
Posted By Jan_DK
I'm lost for words :-), last evening when I was...

I'm lost for words :-), last evening when I was playing with the X-Fi2
and loading a lot of images into a table manually, and then looking at the
folder full of files, I thought those Res file...
Forum: Download Zen X-Fi2 Games & Applications 01-26-2010, 12:27 PM
Replies: 83
Views: 13,373
Posted By Jan_DK
In the thread...

In the thread http://www.anythingbutipod.com/forum/showthread.php?t=50811 we found out that the current X-Fi2 Lua environment do not have enough memory to allocate a buffer the size of the screen.
...
Forum: Zen X-Fi2 Applications & Development 01-22-2010, 03:08 PM
Replies: 36
Views: 6,435
Posted By Jan_DK
You're right ! maybe we should check the X-Fi2's...

You're right ! maybe we should check the X-Fi2's font for interesting chars
for making AscII art :D

But there is no problem loading a screen size image thru the image function
so it's not that...
Forum: Zen X-Fi2 Applications & Development 01-22-2010, 02:42 PM
Replies: 13
Views: 1,567
Posted By Jan_DK
Just tried the sound demo that comes with the sdk...

Just tried the sound demo that comes with the sdk on the X-Fi2
the play wave function is off course not able to play the provided
sound file, for it is a 11.0 kHz, 8 bits, mono sound clip. ...
Forum: Zen X-Fi2 Applications & Development 01-22-2010, 01:29 PM
Replies: 36
Views: 6,435
Posted By Jan_DK
The maximum file size is somewhere between...

The maximum file size is somewhere between 203-237kb
203 work
237 don't work

I'm watching a doc called 'BBS the Documentary'
I could not help my self when i saw this Computer comparison table....
Forum: Zen X-Fi2 Applications & Development 01-22-2010, 11:17 AM
Replies: 36
Views: 6,435
Posted By Jan_DK
That's more like it :-) but what do the numbers...

That's more like it :-)
but what do the numbers tell us ?

In the sim and loading a 288.000 bytes file.
print(collectgarbage("count")); or
text.draw(10,50,"CollectGarbage =...
Forum: Zen X-Fi2 Applications & Development 01-21-2010, 03:30 PM
Replies: 36
Views: 6,435
Posted By Jan_DK
I get error :attempt to call global...

I get error :attempt to call global 'garbagecollect' (a nil value)

garbagecollect("count");


Jan_DK
Forum: Zen X-Fi2 Applications & Development 01-21-2010, 12:48 PM
Replies: 36
Views: 6,435
Posted By Jan_DK
This code load the file into one string, and then...

This code load the file into one string, and then extract the content and convert it to numbers for use in color function(r,g,b)
for drawing a pixel with the data from the file. What I don't know...
Forum: Zen X-Fi2 Applications & Development 01-21-2010, 11:21 AM
Replies: 36
Views: 6,435
Posted By Jan_DK
ThievingSix>>"So with that information you get...

ThievingSix>>"So with that information you get somethine like (32768 * (16 + 4)) + 40. Which is closer to the 800kb limit i notied"

There is something very weird, that's for sure, adding one more...
Forum: Zen X-Fi2 Applications & Development 01-20-2010, 03:09 PM
Replies: 13
Views: 1,567
Posted By Jan_DK
I like the X-Fi2 simulator, so far it works as it...

I like the X-Fi2 simulator, so far it works as it should[1], I was getting
really tiered with unplugging the player and watching the database rebuilding ZZzz.

[1] Pong's ball move a bit to fast...
Forum: Zen X-Fi2 Applications & Development 01-19-2010, 02:31 PM
Replies: 36
Views: 6,435
Posted By Jan_DK
Just tried this to be sure, it's not a indexing...

Just tried this to be sure, it's not a indexing overflow problem but memory.

This is stopping at aprox. 16100 with an error.


for index=1,32000 do
BUFFER[index] = 0xFF01FA02;
...
Forum: Zen X-Fi2 Applications & Development 01-19-2010, 09:38 AM
Replies: 36
Views: 6,435
Posted By Jan_DK
That's properly me, I think I'm really not...

That's properly me, I think I'm really not programming in Lua, but trying
to force my C programming knowledge about array's through in Lua.


Reading this http://www.lua.org/pil/11.2.html...
Forum: Zen X-Fi2 Applications & Development 01-18-2010, 05:57 PM
Replies: 36
Views: 6,435
Posted By Jan_DK
Looks like this works. It load data from a...

Looks like this works.

It load data from a Gif file 4 bytes at the time and transfer them to the buffer and
display the content in BUFFFER[1][1] = GIF8 0x47494638



color_black =...
Forum: Zen X-Fi2 Applications & Development 01-18-2010, 05:04 PM
Replies: 36
Views: 6,435
Posted By Jan_DK
Looks like all four bytes is stored. when I...

Looks like all four bytes is stored.
when I allocated a single dimension array running 0-n it stopped at 32768
32768 *4 = 128K, now with a too dimensional array it goes to maybe 256K (157*400*4)
...
Forum: Zen X-Fi2 Applications & Development 01-18-2010, 04:04 PM
Replies: 36
Views: 6,435
Posted By Jan_DK
Another ting just accrued to me, what happens in...

Another ting just accrued to me, what happens in this code

io.input("read.txt");
x = io.read("*all");
Dos x just point to the file, or load it into a buffer, hmm
and what about binary files,...
Forum: Zen X-Fi2 Applications & Development 01-18-2010, 01:52 PM
Replies: 36
Views: 6,435
Posted By Jan_DK
I've tried to allocate a screen size buffer using...

I've tried to allocate a screen size buffer using a 2d table, the program stops at around, 157 in the h loop: 157*400*4= 251200

BUFFER = {} ;

for h=1,240 do
BUFFER[h] = {};
for...
Forum: Zen X-Fi2 Applications & Development 01-17-2010, 02:07 PM
Replies: 36
Views: 6,435
Posted By Jan_DK
What about all the limitations in the current...

What about all the limitations in the current environment?

Please correct me if I'm wrong.

The only way right now, to write to the screen, is through the screen.pixel function. (That got to be...
Forum: Zen X-Fi2 Applications & Development 01-15-2010, 02:50 PM
Replies: 41
Views: 2,203
Posted By Jan_DK
Yes , it looks like it. it acts like A=GETKEY ...

Yes , it looks like it.
it acts like A=GETKEY
Pong never gets going when using control.read(1)
only when you touch the screen do the ball starts moving,
but then the buffer get overloaded and it...
Forum: Zen X-Fi2 Applications & Development 01-15-2010, 02:25 PM
Replies: 41
Views: 2,203
Posted By Jan_DK
I tried playing around with control.read(1) for a...

I tried playing around with control.read(1) for a short time
it gave me the impression that it acted as a kind of A=GETKEY in basic,
the program halted until touch input, but only for a time like...
Forum: Zen X-Fi2 Applications & Development 01-15-2010, 01:56 PM
Replies: 41
Views: 2,203
Posted By Jan_DK
I think you are on to something, for it's like...

I think you are on to something, for it's like the movement data buffer
gets overloaded.



Jan_DK
Forum: Zen X-Fi2 Applications & Development 01-15-2010, 10:28 AM
Replies: 41
Views: 2,203
Posted By Jan_DK
I started beginning programming in C be course of...

I started beginning programming in C be course of the Cowon O2
and bought the book 'C programming -A modern approach"

My latest book is 'Beginning Lua Programming' by Kurt Jung
so it's not a...
Forum: Zen X-Fi2 Applications & Development 01-15-2010, 09:59 AM
Replies: 41
Views: 2,203
Posted By Jan_DK
Sound strange,,, Right now I'm playing with...

Sound strange,,,

Right now I'm playing with Pong and line 335 os.sleep(2) = 20ms delay
to os.wait(10) 10 ms. delay.

Using os.wait(10) the game main menu acts normal.
using os.wait(9) the game...
Showing results 1 to 25 of 88

 
Forum Jump


All times are GMT -5. The time now is 02:43 PM.