what about some programming features?

Posted by: Draghtnod

what about some programming features? - 20/06/2002 15:36

hi there! im already programming an 2 player snake game for my empeg! and it would me nice if there were some more features to help all the other people who wanna program too!

for example an tar archive wich installs all needed files to the player to compile the proggs by the empeg itself!

and some more hijack functions for exaple getting the system time for an controlled game speed and functions to control the player directly, getting the temprature and how to get ALL possible buttoncodes accepted by the BINDBUTTONS function...

i spend the most time at looking through the hijack.c to find what im searching for.. thats really annoying..

well.. lets just do some cool things on youre empeg

draghi
Posted by: genixia

Re: what about some programming features? - 20/06/2002 15:44

Please feel free to make a start!!!

The hijack section of the developers FAQ needs API information in it to help people avoid having to read hijack.c. I'm sure that whoever is in charge of that section of the FAQ will gladly take submissions.
Posted by: tfabris

Re: what about some programming features? - 20/06/2002 16:21

for example an tar archive wich installs all needed files to the player to compile the proggs by the empeg itself!

Those who've done this say that it takes a painfully long time to compile anything substantial on the player itself. Compilers like RAM, and the player doesn't have much of that. I'm told you're better off setting up a real Linux PC for that.
Posted by: drakino

Re: what about some programming features? - 23/06/2002 10:01

I'm sure that whoever is in charge of that section of the FAQ will gladly take submissions.

If anyone feels up to the task, I'll gladly give FAQ admin access to someone to add a hijack info section to the Developer FAQ. Tony F. and Loren has done an excellent job with the FAQ, but unfortunatly the Developer FAQ seems to have admins with not enough time lately.

Rob also needs to remember that he has access as well so that he can finish up moving geek.empeg.com over
Posted by: rob

Re: what about some programming features? - 23/06/2002 12:46

Hmm, didn't I finish moving the existing bits? I thought there was just some new content left to do.

Rob
Posted by: drakino

Re: what about some programming features? - 23/06/2002 13:56

Oh yeah, the Mark 2a was never on geek.empeg.com.

/me goes back to hacking the Gallery PHP code. It seems not all my patches made it into 1.30.
Posted by: mlord

Re: what about some programming features? - 28/06/2002 10:30

System time and temperature and zillions of other (ignored) goodies are already available under just about ANY Linux system, including the player, in the /proc/ filesystem.

Poke around and see what's there. The "stat" and "interrupts" files can be used for all sorts of nice gaming purposes.

Cheers