android
  #21  
Old 03-26-2010, 07:46 AM
ZaPx64's Avatar
ZaPx64 ZaPx64 is offline
Member
 
Join Date: Nov 2009
Location: Germany
Posts: 136
Default

Quote:
Originally Posted by Tetrajak View Post
The Lua documentation at Lua.org states that the return of several os functions rely on the shell that it's running on, such as os.execute. One would presume this rings true for similar C functions as well.
Well, that is of course true.
But according to my findings here (http://anythingbutipod.com/forum/sho...1&postcount=14) Zen runs a UNIX based OS (look at cpath in package table) so I still think dir-browsing is disabled for security reasons.
How did you find out about that RTOS?
__________________
Zen X-Fi2 Apps: Notee-fi (notepad) | TicTacToe | Mahjongg
http://www.starfare.eu/ - a free real-time strategy game.
Reply With Quote

Advertisement [Remove Advertisement]

  #22  
Old 03-26-2010, 04:52 PM
Tetrajak Tetrajak is offline
Member
 
Join Date: Feb 2010
Location: Oceania
Posts: 124
Default

Quote:
Originally Posted by ZaPx64 View Post
Well, that is of course true.
But according to my findings here (http://anythingbutipod.com/forum/sho...1&postcount=14) Zen runs a UNIX based OS (look at cpath in package table) so I still think dir-browsing is disabled for security reasons.
How did you find out about that RTOS?
I searched the net in my curiosity as to what OS the ZEN runs, and discovered it is Nucleus RTOS. Then I searched for more information about the OS.
Reply With Quote

  #23  
Old 05-08-2010, 08:42 AM
Donone Donone is offline
Junior Member
 
Join Date: May 2010
Posts: 59
Default Wiki needs a small edit

The following example is incorrect in that it will be off-screen right and bottom.
The figures should read 399 and 239.

Code:
screen.drawline(x, y, x2, y2, c);
 Draws a line on the screen memory buffer from (x,y) to (x2,y2) in
 the color c.
 -screen.drawline(0,0,400,240,clBlack);
Reply With Quote

  #24  
Old 05-08-2010, 10:57 AM
Habhome's Avatar
Habhome Habhome is offline
Moderator
 
Join Date: Jan 2010
Location: Sweden
Posts: 1,079
Default

Quote:
Originally Posted by Donone View Post
The following example is incorrect in that it will be off-screen right and bottom.
The figures should read 399 and 239.

Code:
screen.drawline(x, y, x2, y2, c);
 Draws a line on the screen memory buffer from (x,y) to (x2,y2) in
 the color c.
 -screen.drawline(0,0,400,240,clBlack);
It's only 1 pixel's difference... The screen is for a fact 400x240,you sure you didn't miss that last little pixel in the corner?

EDIT: Ah, I see what you're getting at.. Haven't thought about that before xD
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine
Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it!
Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it.
Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^
Reply With Quote

  #25  
Old 05-20-2010, 10:05 AM
stinkyfax stinkyfax is offline
Junior Member
 
Join Date: May 2010
Posts: 4
Default

C is using machinecode which means any possible machine action can be perfomed without interacting with shell. since somebody has mantioned that fileformat is FAT32 it is well studied format by now and should not be hard to get file table of device. Unfortnately device doesn't let us run custom C code which is sad

Anyway to confirm my speech: http://www.robs-projects.com/filelib.html
Reply With Quote

Reply

Tags
alpha, applications, color, library, lua, method, progamming, wiki, x-fi2

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 06:59 PM.