Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Discuss Mikhail Tkach's InfoNES port
« previous next »
  • Print
Pages: [1] 2 3 4

Author Topic: Discuss Mikhail Tkach's InfoNES port  (Read 26163 times)

Offline criznach

  • Member
  • *
  • Posts: 17
Discuss Mikhail Tkach's InfoNES port
« on: October 09, 2007, 01:14:27 PM »
I'm starting this thread for anyone looking to discuss the InfoNES port by Mikhail Tkach (MikeT).  I found the issue page and have been tinkering with it for a few days.

Currently the sources are available at:
http://www.geocities.com/tm_lockheart/

There is some discussion of patches here:
http://www.rockbox.org/tracker/task/2911#comment18694

Anyone read japanese?  The sources contain a GPL2 file, but I can't read the readme to be sure.

Later,
  Chris Miller.
Logged

Offline MikeT

  • Member
  • *
  • Posts: 5
Re: Discuss Mikhail Tkach's InfoNES port
« Reply #1 on: October 09, 2007, 03:38:45 PM »
I'm not sure if its GPL2. I just assumed that it is.

I've been trying to debug it, but so far no progress.
Logged

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2257
  • Dreaming of Turing Machines...
    • The Nostalgia Roadtrip
Re: Discuss Mikhail Tkach's InfoNES port
« Reply #2 on: October 09, 2007, 03:48:21 PM »
Quote from: MikeT on October 09, 2007, 03:38:45 PM
I'm not sure if its GPL2. I just assumed that it is.

If you can't read the README, run it through Babelfish.

Though the translation may be very rough and literal, it should at least give some answer to the question... without coming up with 42. :)
Logged
Former Rockbox dev. Rising from the ashes...

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

Offline criznach

  • Member
  • *
  • Posts: 17
Re: Discuss Mikhail Tkach's InfoNES port
« Reply #3 on: October 09, 2007, 04:19:19 PM »
SWEET.  I had no idea babelfish would do japanese.  I'll try that.

MikeT: what's problems are you running into?  What platform are you building for?
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Discuss Mikhail Tkach's InfoNES port
« Reply #4 on: October 09, 2007, 04:24:00 PM »
It is a translation of the GPLV2.  

I'm having a little trouble parsing this part of the Babelfish translation, however:
Quote
Above Note * * The English document (GNU General Public License) it makes the formal document. As for this Japanese character document adopting the opinion of the attorney, being something which 翻 translates the English document as accurately as possible, the あ る, is not the contract which legally is effective. In regard to the redistribution of the Japanese character document itself * * * * * * * * * * * * * * This Japanese character document is that way reproduced with any medium only when the following condition is entirely satisfied, and the fact that it distributes is permitted. In addition, you do re-distributing being permitted only when the permission which is identical with this permission notification vis-a-vis the third party is given, now. Copyright notice and this permission notification in advance the 載せ and others れ て are in the copy which it is received and is distributed. When the recipient of the copy furthermore it re-distributes, that distribution person has given the same permission as this notification. Japanese character do not alter the body of an instrument.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline criznach

  • Member
  • *
  • Posts: 17
Re: Discuss Mikhail Tkach's InfoNES port
« Reply #5 on: October 09, 2007, 04:31:08 PM »
Some more info here on japanese translation of GPL2.

http://www.gnu.org/licenses/old-licenses/gpl-2.0-translations.html

It seems that if the English version is includes, it officially falls under the English version.

I've emailed the author to see what he says.  Not sure if he reads or speaks English, but he has a good translation of his InfoNes Page, so hopefully.
Logged

Offline MikeT

  • Member
  • *
  • Posts: 5
Re: Discuss Mikhail Tkach's InfoNES port
« Reply #6 on: October 09, 2007, 04:35:23 PM »
I'm building for Iriver H10 simulator. The buttons don't work correctly and I have to kill the sim in order to exit.
Logged

Offline criznach

  • Member
  • *
  • Posts: 17
Re: Discuss Mikhail Tkach's InfoNES port
« Reply #7 on: October 09, 2007, 04:49:35 PM »
I've got it running well enough to play megaman 3 on the ipod 5.5g

Yeah, I have to reboot the iPod to get out too.  I just posted a patch with my ipod changes to the issue tracker.  I'll email it to you too.  It runs a lot better with frame skip enabled.  Does the iriver have a scroll wheel?  Maybe you can use the scroll wheel code.

Rockboy uses the hold button to switch to a menu with quit at the bottom.  Would that be cool for InfoNes too?  I think we could easily incorporate a similar menu.
Logged

Offline Mad Cow

  • Member
  • *
  • Posts: 445
Re: Discuss Mikhail Tkach's InfoNES port
« Reply #8 on: October 09, 2007, 05:06:50 PM »
The H10 uses a simple up-down scrollpad, a "back" button pointing left a "select" button pointing right, plus pause/ff/rew buttons on the side. A button map should be simple.
EDIT: The newest version of the diff already has H10 button mappings which should work. Have you tried an normal build?

Also, could you try to port the screen rotation code from rockboy or mpegplayer? That would allow the gigabeat to use that 1:1 ratio code of yours. ;D Does the menu even work right now? I tried and it didn't actually do anything when you selected an option, it just showed a dialog box with the name of the option.
« Last Edit: October 09, 2007, 05:08:39 PM by Mad Cow »
Logged
iRiver H10 5GB, Gigabeat F40, Gigabeat S60, all rockboxed. :P

Offline criznach

  • Member
  • *
  • Posts: 17
Re: Discuss Mikhail Tkach's InfoNES port
« Reply #9 on: October 09, 2007, 06:28:55 PM »
Quote from: Mad Cow on October 09, 2007, 05:06:50 PM
Also, could you try to port the screen rotation code from rockboy or mpegplayer? That would allow the gigabeat to use that 1:1 ratio code of yours. ;D

I think screen rotation would be slower than the 1:1 code because it probably has to be drawn one pixel at a time.  But it wouldn't be hard to do.  Is gigabeat always rotated on rockboy?

Quote from: Mad Cow on October 09, 2007, 05:06:50 PM
Does the menu even work right now? I tried and it didn't actually do anything when you selected an option, it just showed a dialog box with the name of the option.

You mean the menu in rockboy?  I guess quit is the only option I've tried, and I know it works.  I haven't personally done anything with a menu in InfoNes, and I didn't know there was one.  There are a few dummy functions but I don't think they do anything.  I was going to work on that later tonight.  :)
Logged

Offline Mad Cow

  • Member
  • *
  • Posts: 445
Re: Discuss Mikhail Tkach's InfoNES port
« Reply #10 on: October 09, 2007, 07:07:04 PM »
Quote from: criznach on October 09, 2007, 06:28:55 PM
Quote from: Mad Cow on October 09, 2007, 05:06:50 PM
Also, could you try to port the screen rotation code from rockboy or mpegplayer? That would allow the gigabeat to use that 1:1 ratio code of yours. ;D

I think screen rotation would be slower than the 1:1 code because it probably has to be drawn one pixel at a time.  But it wouldn't be hard to do.  Is gigabeat always rotated on rockboy?

Quote from: Mad Cow on October 09, 2007, 05:06:50 PM
Does the menu even work right now? I tried and it didn't actually do anything when you selected an option, it just showed a dialog box with the name of the option.

You mean the menu in rockboy?  I guess quit is the only option I've tried, and I know it works.  I haven't personally done anything with a menu in InfoNes, and I didn't know there was one.  There are a few dummy functions but I don't think they do anything.  I was going to work on that later tonight.  :)


I was talking about the dummy menu in infones. There's an option to rotate in rockboy, and it's rotated by default on mpegplayer. I think rotation is done in the LCD controller, because I don't think that there's any loss of speed in rockboy when it's turned on. maybe look through the cod eand see what's up. I tried, but couldn't find/understand it.
Logged
iRiver H10 5GB, Gigabeat F40, Gigabeat S60, all rockboxed. :P

Offline crzyboyster

  • Member
  • *
  • Posts: 362
  • Proud iPod Nano User!
Re: Discuss Mikhail Tkach's InfoNES port
« Reply #11 on: October 09, 2007, 07:20:28 PM »
So it seems that the NES emulator is really making progress. Can I expect to see this released in svn by late november or early december, or any time at all?  ;D Thanks for making rockbox even better.
Logged
My iPod Nano themes: AAPodSVN - PHK1 Remix - Cabbie 3.0 - Christmas - corners

Offline criznach

  • Member
  • *
  • Posts: 17
Re: Discuss Mikhail Tkach's InfoNES port
« Reply #12 on: October 09, 2007, 08:32:36 PM »
Quote from: MikeT on October 09, 2007, 04:35:23 PM
I'm building for Iriver H10 simulator. The buttons don't work correctly and I have to kill the sim in order to exit.

Do you have sound working yet?  I haven't tried your patch.
Logged

Offline MikeT

  • Member
  • *
  • Posts: 5
Re: Discuss Mikhail Tkach's InfoNES port
« Reply #13 on: October 09, 2007, 08:45:32 PM »
No, no working sound unfortunately.
Logged

Offline kkurbjun

  • Developer
  • Member
  • *
  • Posts: 49
Re: Discuss Mikhail Tkach's InfoNES port
« Reply #14 on: October 10, 2007, 04:58:00 PM »
Quote from: Mad Cow on October 09, 2007, 07:07:04 PM
Quote from: criznach on October 09, 2007, 06:28:55 PM
Quote from: Mad Cow on October 09, 2007, 05:06:50 PM
Also, could you try to port the screen rotation code from rockboy or mpegplayer? That would allow the gigabeat to use that 1:1 ratio code of yours. ;D

I think screen rotation would be slower than the 1:1 code because it probably has to be drawn one pixel at a time.  But it wouldn't be hard to do.  Is gigabeat always rotated on rockboy?

Quote from: Mad Cow on October 09, 2007, 05:06:50 PM
Does the menu even work right now? I tried and it didn't actually do anything when you selected an option, it just showed a dialog box with the name of the option.

You mean the menu in rockboy?  I guess quit is the only option I've tried, and I know it works.  I haven't personally done anything with a menu in InfoNes, and I didn't know there was one.  There are a few dummy functions but I don't think they do anything.  I was going to work on that later tonight.  :)


I was talking about the dummy menu in infones. There's an option to rotate in rockboy, and it's rotated by default on mpegplayer. I think rotation is done in the LCD controller, because I don't think that there's any loss of speed in rockboy when it's turned on. maybe look through the cod eand see what's up. I tried, but couldn't find/understand it.

The rotation code is in lcd.c starting around line 830.  This is similar to the way that it is done in doom as well.  It is not performed by the controller, but it is very fast.  It is using fixed point calculations to scale and rotate based on the source and destination screen sizes.
Logged

  • Print
Pages: [1] 2 3 4
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Discuss Mikhail Tkach's InfoNES port
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.113 seconds with 14 queries.