On Wed, 10 Apr 2002, Aaron Ardiri wrote:
>   palm already does this with the CPU type (feature to let us know
>   which CPU is there)... it'll be a very easy addition.. could even
>   release "patches" that fix it for older units.. its just setting
>   a feature.. not rocket science..

  something like this would help:

====
#define appGameLibCreator 'gLIB'              // yes, i registered it :P

#define glibFtrLCDControllerType 0            // what display controller?
#define glibFtrLCDMemoryBase     1            // base address for controller?

// internal graphics controlled
#define glibDisplayMotorolla     0x0100
#define glibDisplayMotorolla328  0x0101
#define glibDisplayMotorollaEZ   0x0102
#define glibDisplayMotorollaVZ   0x0103
#define glibDisplayMotorollaMask 0x01ff
#define glibDisplayMotorollaBase 0xfffff000L  [default address, check ftr]

// external graphics controller (epson)
#define glibDisplayEpson         0x0200
#define glibDisplayEpsonSED1375  0x0201
#define glibDisplayEpsonSED1376  0x0202
#define glibDisplayEpsonMask     0x02ff
#define glibDisplayEpsonBase     0x1f000000L  [default address, check ftr]

// external graphics controller (mediaQ)
#define glibDisplayMediaQ        0x0400
#define glibDisplayMediaQ11xx    0x0401
#define glibDisplayMediaQMask    0x04ff
#define glibDisplayMediaQBase    0x1f400000L  [default address, check ftr]

// unknown/future display controller
#define glibDisplayUnknown       0x0000
====

  comments from other game developers? i have considering writing this
  little "patch" that users install depending on what device they have
  and we could check for it from within our programs [games].. should
  i continue the development of it? [it would be a free patch]

  a user with a m130 will install gameassist_m130.prc for example. :)
  as new devices come out, we release new gameassist_xxx.prc files
  and update the "headers" for our programs?

  the reason for having the featrue for the address is that a licensee
  may change the address from its default :) who knows.. they have been
  known for doing crazier things.

  palm isn't gonna get off their backside and do it - so, this is it.

// az
[EMAIL PROTECTED]
http://www.ardiri.com/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to