baseport/syborg/specific/syborg.cpp
changeset 15 5fca9e46c6fa
parent 2 d55eb581a87c
equal deleted inserted replaced
14:e6ebb7730c4b 15:5fca9e46c6fa
    25 #define __DEBUG_PRINT(format...)    __KTRACE_OPT(KBOOT,Kern::Printf(format))
    25 #define __DEBUG_PRINT(format...)    __KTRACE_OPT(KBOOT,Kern::Printf(format))
    26 #endif
    26 #endif
    27 
    27 
    28 void TSyborg::Init3()
    28 void TSyborg::Init3()
    29 {
    29 {
    30 //  SetTimerMode(KHwBaseCounterTimer, ETimerModePeriodic); 
    30 //  SetTimerMode(KHwBaseCounterTimer, ETimerModePeriodic);
    31 //  EnableTimer(KHwBaseCounterTimer, EEnable);
    31 //  EnableTimer(KHwBaseCounterTimer, EEnable);
    32 }
    32 }
    33 
    33 
    34 EXPORT_C TBool TSyborg::IsTimerEnabled(TUint aTimerBase)
    34 EXPORT_C TBool TSyborg::IsTimerEnabled(TUint aTimerBase)
    35 {
    35 {
   103 	TheVariant.iDebugPortBase = 0;
   103 	TheVariant.iDebugPortBase = 0;
   104 }
   104 }
   105 
   105 
   106 EXPORT_C TInt TSyborg::VideoRamSize()
   106 EXPORT_C TInt TSyborg::VideoRamSize()
   107 {
   107 {
   108   return 4*640*480;
   108 
       
   109   return 4*854*854; // Now allow for 854 x 854 display, instead of 480 x 640
       
   110 
   109 }
   111 }
   110 
   112 
   111 // !@! 
   113 // !@!
   112 EXPORT_C TPhysAddr TSyborg::VideoRamPhys()
   114 EXPORT_C TPhysAddr TSyborg::VideoRamPhys()
   113 {
   115 {
   114 #if 0
   116 #if 0
   115   __KTRACE_OPT(KEXTENSION,Kern::Printf("TSyborg::VideoRamPhys: VideoRamPhys=0x%x", Syborg::VideoRamPhys));
   117   __KTRACE_OPT(KEXTENSION,Kern::Printf("TSyborg::VideoRamPhys: VideoRamPhys=0x%x", Syborg::VideoRamPhys));
   116 #endif
   118 #endif