Official hakchi2 - NES Mini very simple pimp tool

Bin4ry

Member
Newcomer
Joined
Nov 20, 2012
Messages
5
Trophies
0
Age
39
XP
151
Country
Gambia, The
It has save vermagic: 3.4.112 SMP mod_unload ARMv7 p2v8
You can check vermagic using "modinfo" command.

I'm using source code from Nintendo's site: http://data.nintendo.co.jp/oss/NintendoEntertainmentSystemNESClassicEdition_OSS.zip
clovercon-km-6b883396add00817aa112e0ec4dbc112def803e8.zip and linux-9ed0e6c8612113834e9af9d16a3e90b573c488ca.tar.gz

I configured Linux kernel to match vermagic: selected sunxi platform, enabled SMP, disabled p2v8, enabled EABI, selected preempt.
After this I compiled source of clovercon.ko using "ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-" parameters.
This module loads withouts any errors. "lsmod" command shows it. But NES Mini is not responding any buttons after it :(
I also tried to replace original clovercon.ko - same problem. Module is loaded, gamepads are not working after it.
Sorry, i uploaded the wrong file, here is the file with correct modinfo.

https://drive.google.com/open?id=0B3l36qXIC0HddkdJb2pzWXJVRlU

But strange that you don't get any input at all.

EDIT: If this still does not work, maybe we can get further with i2ctools. they have an option to force access to devices which are already busy by kernel driver. So we could setup a poll script for keypress and push home press back ;)

BR
 
Last edited by Bin4ry,

Cluster

Well-Known Member
OP
Member
Joined
Oct 2, 2005
Messages
394
Trophies
0
Age
37
Location
Moscow Region, Electrostal
Website
clusterrr.com
XP
1,281
Country
Serbia, Republic of
Sorry, i uploaded the wrong file, here is the file with correct modinfo.

https://drive.google.com/open?id=0B3l36qXIC0HddkdJb2pzWXJVRlU

But strange that you don't get any input at all.

BR
Code:
root@CLOVER:/lib/modules/3.4.112/extra# insmod clovercon.ko
insmod: can't insert 'clovercon.ko': unknown symbol in module or invalid parameter
Seems like you need change
Code:
#define VERBOSITY        1
to
Code:
#define VERBOSITY        0
Because NES Mini's kernel compiled without printk support.
And it's sad. Some debug info can help a lot.
 

darkxero

Member
Newcomer
Joined
Apr 26, 2010
Messages
23
Trophies
1
XP
190
Country
@Cluster Thanks again for the great tool, I'm making the list for my Famicom Mini as well.
I had a great time over the weekend teaching my 5 years old girl how to play Adventure Island games.

Also I would like to second 2 ideas from the guys here, if possible of course:
  • Option for get rid of the screen savers animations to get more memory for games
  • Support for 3rd party wii gamepads i(ex. Arcade Fighter Pad from dreamGEAR)

To finalize, there is 2 more things I would like to ask you:
  • When you finish with your famicom flash card (Please make it better than N8), are you planning to sell it? I'm interest, got a couple of suggestions from the end-user point of view B-)
  • (Wishful thinking) You think there is a possibility for a hardware hack on the NES Mini to increase memory? (to load full romsets...)

Thanks for your efforts again,

darkxero.
 

Cluster

Well-Known Member
OP
Member
Joined
Oct 2, 2005
Messages
394
Trophies
0
Age
37
Location
Moscow Region, Electrostal
Website
clusterrr.com
XP
1,281
Country
Serbia, Republic of
IT'S WORKING!!! "Down+Select = Reset" is working! New version will be soon.

@Cluster
  • Option for get rid of the screen savers animations to get more memory for games
You can disable most pixelart animations, just hide all original games. Each game contains pixelart.

@Cluster
  • Support for 3rd party wii gamepads i(ex. Arcade Fighter Pad from dreamGEAR)
I need this gamepads to test...

@Cluster
  • When you finish with your famicom flash card (Please make it better than N8), are you planning to sell it? I'm interest, got a couple of suggestions from the end-user point of view B-)
My Famicom finished actually. I'm sold a lot of them and there are many requests for them but I can't solder so much cartridges on my own.

@Cluster
  • (Wishful thinking) You think there is a possibility for a hardware hack on the NES Mini to increase memory? (to load full romsets...)
No, It's impossible.
 
  • Like
Reactions: Al-hwj

nesito

Well-Known Member
Member
Joined
Jan 12, 2017
Messages
569
Trophies
0
Age
43
XP
360
Country
I can't understand to want to enter full romsets with this product, if can buy a RaPi3 or similar to make this more cheap. But I respect that.

Rgs.
 

Bin4ry

Member
Newcomer
Joined
Nov 20, 2012
Messages
5
Trophies
0
Age
39
XP
151
Country
Gambia, The
Code:
root@CLOVER:/lib/modules/3.4.112/extra# insmod clovercon.ko
insmod: can't insert 'clovercon.ko': unknown symbol in module or invalid parameter
Seems like you need change
Code:
#define VERBOSITY        1
to
Code:
#define VERBOSITY        0
Because NES Mini's kernel compiled without printk support.
And it's sad. Some debug info can help a lot.
Really? thats a pity.
Here is a version with deactivated Verbosity:
https://drive.google.com/open?id=0B3l36qXIC0HdM0dWNmNRV1JXSTg

Hope that will do. What do you think about the i2c tools idea if this kernelmodule is not working?

BR
 

RetrogamerX

Well-Known Member
Member
Joined
Jan 16, 2017
Messages
109
Trophies
0
Age
58
XP
266
Country
IT'S WORKING!!! "Down+Select = Reset" is working! New version will be soon.

That's great news Cluster. Hope it's released quickly?

What bout if I bought the nes30 pro. Will it work with the nes mini?

Yes it will work, but you will need the 8bitdo nes mini receiver to get it to work.
 
Last edited by RetrogamerX,

deadsoulz

Member
Newcomer
Joined
Jun 30, 2006
Messages
13
Trophies
0
XP
248
Country
United States
If you have one of these for the wii or wii-u they work great, have the home button, feel natural and the A and B are in the right order. Feels way better than the wii classic controller.

ibqrM9gl-600x457.jpg
 

NeoRame

Well-Known Member
Member
Joined
Nov 6, 2008
Messages
439
Trophies
0
Location
Gemrany
Website
www.neorame.de
XP
335
Country
Gambia, The
IT'S WORKING!!! "Down+Select = Reset" is working! New version will be soon.

Congratulations!!!

would it be possible to edit the button combination? because, im a Everdrive N8 (Flashcard from Krikzz) on my etim NESRGB Modded NES with NES I/O and I'm used to it to reset my NES with Select+Start+B+A to get back in the Everdrive Menu for gamechange.... ;)
 

RetrogamerX

Well-Known Member
Member
Joined
Jan 16, 2017
Messages
109
Trophies
0
Age
58
XP
266
Country
Congratulations!!!

would it be possible to edit the button combination? because, im a Everdrive N8 (Flashcard from Krikzz) on my etim NESRGB Modded NES with NES I/O and I'm used to it to reset my NES with Select+Start+B+A to get back in the Everdrive Menu for gamechange.... ;)

Probably not,but lets just be happy he got it to work :bow:
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: @AncientBoi, Meds time!