Main > Main Forum
720 Real/Joystick/Spinner Test
Derrick Renaud:
--- Quote from: marcusP on January 29, 2011, 02:26:02 pm ---Derrick, I am purposely giving you obfuscated code, you would not want me to do everything for you now, right? This is not place to discuss source code, let's please stick to what code actually does and how it works, compare that. Then, I can help you write it down properly. Bring some of MAME developers here if you want to discuss the code itself, I dare you bring anyone from the team here and support what you are saying, I don't thing even haze will support you, but he has even less clue what is going on there.
--- End quote ---
?????????????
That is useful. No place to actually discuss facts. Wow. You said it was your working code and now you say it is not. On MAMEworld you said it was proper to use -127 instead of -128 and I have explained how that is incorrect. More obfuscation?
This is the guy that some users still believe is capable of actually providing a usefull code submission?
My code works. Your posted code does not. Yet you hold all the world's answers. Again I can only say "Wow."
He is only back to troll. How useful.
I was sucked in again trying to explain details to other forum users. Silly rabbit.
:banghead:
marcusP:
--- Quote from: Derrick Renaud on January 29, 2011, 02:35:33 pm ---My code works. Your posted code does not. Yet you hold all the world's answers. Again I can only say "Wow."
--- End quote ---
Your code has TWO bugs as I said many times. Do you acknowledge, YES/NO?
I uploaded the binary and everyone can try it, how can you say it does not work??!
My my code does all that what your code does, plus it has those two bugs fixed, Ok?
Enough of your opinions, find those guys you discussed submission with and bring them!!
Again, it was all explained to you, many times in many ways:
http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=244562&page=0&view=expanded&sb=5&o=&fpart=1&vc=1
Let the people decide for themselves, stop steering public opinion by your assertive false authority. We both have said quite enough, now both of our code is there for everyone to test and compare. Let the public have as say and make up their own mind, sheesh!!!
Xiaou2:
--- Quote ---Do you know about Xiao-Xiao fighting figures, master Xiaou?
--- End quote ---
Yes I do, however, I do not understand what this has to do with anything we are discussing..
--- Quote --- Calibration snaps to north only 1st time when the game is started, after that re-calibration is GRADUAL,
--- End quote ---
I do not know if this is how the original game worked... but I suspect that calibration is read all the time. To alter this might make the driver faster, but not accurate to the hardware... which is important in documenting things accurately.
As for you saying that the game will not get de-cailbrated after the boot-up/start...
Im not so sure about that. What if the main encoder wheel got an error on it, because one or more of the notches were clogged with dust? If the calibration isnt always checking... it may eventually get de-calibrated gradually over a period of time.
Im also not sure why you would make it so that calibration was gradual for any reason. Its not true to how the game operated... and only would confuse people.
--- Quote ---where simpler and smaller is ALWAYS better,
--- End quote ---
I agree that in most cases, optimized code will produce better results.
However, I believe that many programmers are trying to make the code easier to read and understand.
However, as Derrick said, the code structure is not really the main issue. Its accuracy of the driver representing the real hardware faithfully.
saint:
Banned again...
Derrick Renaud:
--- Quote from: marcusP on January 29, 2011, 02:43:43 pm ---Again, it was all explained to you, many times in many ways:
http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=244562&page=0&view=expanded&sb=5&o=&fpart=1&vc=1
--- End quote ---
Is anyone interested in why the code he posted at MAMEworld is so wrong?
--- Quote ---Note: Above code requires ports to be set as IPT_POSITIONAL. It's only becasue IPT_AD_STICK can't be properly centered to zero, so it erroneously triggers "if(aX != 0 || aY != 0)", while IPT_POSITIONAL works fine and even seem adequate for handling relative (mouse/spinner) input too.
--- Code: ---PORT_MODIFY("LETA0")
PORT_BIT( 0xff, 0x00, IPT_POSITIONAL ) PORT_SENSITIVITY(50) PORT_KEYDELTA(10)
PORT_MODIFY("LETA1")
PORT_BIT( 0xff, 0x00, IPT_POSITIONAL_V ) PORT_SENSITIVITY(50) PORT_KEYDELTA(10)
--- End code ---
--- End quote ---
Hint it has to do with the fact that he is determined to use -127 and has no idea what IPT_POSITIONAL is for.
As I've stated in the past, this is not a pissing contest. If anyone wants to learn, then fine. But posting incorrect code as proof you are right and then saying it is really not my code because my real code must be kept top secret from the government spies. Booo-ahh-ha-ha (or other maniacal laugh,) please wait while I tighten my tinfoil hat. That is just insane trolling.
I only went through the discussion of his current code because it helped to illustrate my original quiz on the process needed to add the real port code to 720. Completing a painful learning exercise.