Controller

Topics regarding the Uzebox hardware/AVCore/BaseBoard (i.e: PCB, resistors, connectors, part list, schematics, hardware issues, etc.) should go here.
User avatar
Kilo
Posts: 277
Joined: Wed Dec 19, 2012 3:43 pm
Location: AC, Germany

Re: Controller

Post by Kilo » Mon Feb 18, 2013 7:35 pm

and why it's not working in some games?
Maybe I have to change the kernel for this games
The last digit of Pi is 7! I calculated this, as I counted to infinity yesterday!

User avatar
D3thAdd3r
Posts: 2430
Joined: Wed Apr 29, 2009 10:00 am
Location: Minneapolis, United States

Re: Controller

Post by D3thAdd3r » Thu Feb 21, 2013 7:42 pm

What games are you having trouble with specifically? I have a pretty weird snes controller that I also had trouble with.

User avatar
Kilo
Posts: 277
Joined: Wed Dec 19, 2012 3:43 pm
Location: AC, Germany

Re: Controller

Post by Kilo » Fri Feb 22, 2013 8:09 am

I have to make a list for that...
well, what I know: the games which works fine are: Donky Kong, Space Invaders,...
doesn't work: Lander, Dr. Mario, Megatris, LodeRunner, ...
The last digit of Pi is 7! I calculated this, as I counted to infinity yesterday!

User avatar
uze6666
Site Admin
Posts: 4487
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: Controller

Post by uze6666 » Sat Feb 23, 2013 12:46 am

I've bought an asciipad on ebay to check that out. Very curious to see what's going on. :geek:

User avatar
Kilo
Posts: 277
Joined: Wed Dec 19, 2012 3:43 pm
Location: AC, Germany

Re: Controller

Post by Kilo » Sat Feb 23, 2013 3:02 pm

Cool Alec! :)

Let us know what the problem is!
The last digit of Pi is 7! I calculated this, as I counted to infinity yesterday!

User avatar
uze6666
Site Admin
Posts: 4487
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: Controller

Post by uze6666 » Thu Feb 28, 2013 1:04 am

I've received my Asciipad today and I can reproduce the problem so that's a good start! As for Kilo, it works in the controller tester but not in the Gameloader. So I'll check what is going on and report my findings.

User avatar
Kilo
Posts: 277
Joined: Wed Dec 19, 2012 3:43 pm
Location: AC, Germany

Re: Controller

Post by Kilo » Thu Feb 28, 2013 10:59 am

thanks Alec...
well it's curious... it works perfect on the controller tester!
The last digit of Pi is 7! I calculated this, as I counted to infinity yesterday!

User avatar
uze6666
Site Admin
Posts: 4487
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: Controller

Post by uze6666 » Thu Feb 28, 2013 7:16 pm

Yesterday i rewrote the assembly code in the boorloader to match the C code. Still doesnt work...i'll pull out the scope to check signals.

User avatar
uze6666
Site Admin
Posts: 4487
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: Controller

Post by uze6666 » Fri Mar 01, 2013 5:49 am

Alright I got it. I opened the controller and it uses a custom chip by Asciiware. Seems its response time is slightly slower that the plain shift registers used in regular controllers. I just added a couple more cycles to the latch and clock pulses and it magically started to work again. :D I think some previous kernels may have had slower timings but I "optimized" it to death afterward. That would explain why some games works and some not. Anyhow, the good news is that recompiling the games against the latest kernel will fix the issue. The bad news is that games for which we don't have the sources, we can't fix. Well...I suppose someone could go patch the assembly code in the .UZE file, put I'll pass on that one. ;)

I need to do more tests and I'll commit everything.

User avatar
Kilo
Posts: 277
Joined: Wed Dec 19, 2012 3:43 pm
Location: AC, Germany

Re: Controller

Post by Kilo » Fri Mar 01, 2013 8:36 pm

Hey Alec,

wow...you're the greatest! :D
Ok, to patch all games would be impossible without having the source :(
The last digit of Pi is 7! I calculated this, as I counted to infinity yesterday!

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests