Page 1 of 4

Beta: Internet & games on Trident-based C550

Posted: Tue Jan 04, 2011 2:41 pm
by mamaich
Note: this is only for C5x0 owners with TDT firmware. Hack would not work on MStar TVs or on C6xx models.
Your TV should telnet-enabled.

This hack would add a new menu activated via HDMI button on remote. The menu contains following items:

Code: Select all

  Programs
  Games 
  Internet
Programs - list of general-purpose progs. Currently there is only a DosBox port.
Games - several games. Currently there is only Digger and Biniax2.
Internet - a port of NetSurf browser.

Installation: extract archive http://www.multiupload.com/YPAJ7QDCXI to the root of your USB (FAT or ext3 formatted, I use ext3), insert it into TV, then run "runonce.sh" via telnet from your TV. Then press HDMI button to see the menu (first time you need to press the button twice).

Controls:
Joystick == arrow keys, middle button == Enter,
return == backspace, exit == ESC
Info == space (clear the line in Biniax2), tools == TAB
p.mode == F1 (shoot in digger)
s.mode, dual, ... == F2, F3, ...
record = F10 (exit from Digger)
power == kill a runnning program and return control to exeDSP.

Blue button (D) - toggle mouse emulation in NetSurf. When mouse emulation is on - use arrow keys to move, middle key == left button, menu == right button, program up/down == scroll page up/down, volume up/down == change mouse speed.

Edit netsurf/.netsurf/Choices-fb to change start page, you can also change screen resolution from 1920x1080 to 960x540 if letters are too small for you. There are several other resolutions supported like 800x600, but they would not be fullscreen.

Another note: this is a first public release, so I don't publish sources now. I'll publish them later after some speed optimizations in SDL port, adding on-screen keyboard, sound, etc.

Re: Beta: Internet & games on Trident-based C550

Posted: Tue Jan 04, 2011 6:27 pm
by moras86
mamaich can you tell how you force NetSurf Browser to run in native resolution (1920x1080), when all others TV (like B650, or C650), can only use half framebuffer (960x540).
All OSD/GUI for Samsungs are also smaller and scaled to HD.

Cheers

Re: Beta: Internet & games on Trident-based C550

Posted: Wed Jan 05, 2011 3:27 am
by mamaich
moras86 wrote:mamaich can you tell how you force NetSurf Browser to run in native resolution (1920x1080), when all others TV (like B650, or C650), can only use half framebuffer (960x540).
There are two ways: find the video driver, decompile it and find the IOCTL that sets the required resolution. Or ask Samsung to provide sources of that driver. For example they've published sources of monolithic.ko for trident platform, and I've got all info from there.

Re: Beta: Internet & games on Trident-based C550

Posted: Wed Jan 05, 2011 5:38 pm
by nostromo1983
Does it mean it's possible to port all SDL applications made for content library for B650 to B550 (which as no internet@TV / Content Library) using SDL static build, such as netsurf?

Re: Beta: Internet & games on Trident-based C550

Posted: Thu Jan 06, 2011 3:41 am
by mamaich
nostromo1983 wrote:Does it mean it's possible to port all SDL applications made for content library for B650 to B550 (which as no internet@TV / Content Library) using SDL static build, such as netsurf?
This depends on application. But if you'd make a B550 SDL port - everything is possible.
My SDL port, obviously, works only on Tridents.
mamaich:Excellent stuff ! What will have to be changed to port your framework to c650 series ?
Everything. Starting from loader/hooker code and ending with SDL port.

Re: Beta: Internet & games on Trident-based C550

Posted: Fri Jan 07, 2011 1:49 pm
by mamaich
jandy123 wrote:Ok, then, if it so much work. question is if it makes sense to even attempt porting everything, or instead, just try to do the SDL port and hook it to the already existing internet@tv stuff widget stuff.
I don't have a TV with internet@TV, but as far as I see it would be really easy to make an SDL port for such TVs if it does not exist already. But I think that it is more useful to make an X.org port :)

Re: Beta: Internet & games on Trident-based C550

Posted: Fri Jan 07, 2011 2:20 pm
by arris69
mamaich wrote:...I don't have a TV with internet@TV, but as far as I see it would be really easy to make an SDL port for such TVs if it does not exist already. But I think that it is more useful to make an X.org port :)
why not use xserver-xorg-sdl :?:

just my 2 cents
arris