|
Post by willymanilly on Apr 4, 2019 3:24:11 GMT
What gamepad are you using? I might need to add some additional polling checks for to accomodate for different gamepads. I will be using the latest version of jInput in the new version of Z64K so hopefully a lot more gamepads will be supported without additional configuration required by the end user.
|
|
|
Post by willymanilly on Apr 4, 2019 3:52:04 GMT
I just had a look at Z64K's gamepad code and found suspect code that might be preventing diagonal direction being detected on some gamepads. I haven't tested with my gamepads because I don't have them handy but in theory the changes I did should work and not break anything. Grateful if you can test with the attached version of Z64K with your gamepad before I upload to website. Attachments:Z64K.jar (2.05 MB)
|
|
|
Post by oziphantom on Apr 4, 2019 5:20:52 GMT
That is bad, it just scrolls in directions automatically, seems to cycle in clockwise order, to Up Left then Up Right, Down Right, Down Left repeat .
|
|
|
Post by willymanilly on Apr 4, 2019 5:52:30 GMT
Ok thanks. I'll undo those changes and have a proper look when I get a chance.
|
|
|
Post by willymanilly on Apr 4, 2019 11:17:18 GMT
I just test with my gamepad and I had issues with the previous version I attached to this thread as well. I found the bug and have fixed it and replaced the attachement above with the fixed version. My gamepad works fine including diagonal with both POV and AXIS options of the gamepad. It has always been fine with my gamepads even before I applied the minor update. What program are you testing with? The test programs I am using are located here. ==> sourceforge.net/p/vice-emu/code/HEAD/tree/testprogs/userportjoyIn the new version of Z64K I'm currently working on I will be including the gamepad UI tester included with jInput so hopefully it will be much easier to configure and diagnose potential issues with the vast amount of gamepads available.
|
|
|
Post by oziphantom on Apr 4, 2019 15:14:52 GMT
The 8 way scroller from the other thread about 40col VDC.
|
|
|
Post by oziphantom on Apr 4, 2019 15:30:01 GMT
It still fails for me. Xbox One controller. Up,Down,Left and Right work fine on analogue but diagonals don't. very odd.
|
|
|
Post by willymanilly on Apr 4, 2019 19:53:49 GMT
I just tested your 40col VDC with my gamepad and diagonal works perfectly. I keep this on my list to look into for Xbox One controller. On a side note I just updated the attachment above again to remove the extra pixel in 40 column bitmap mode. Your program runs much closer to what I see on real hardware in Z64K now. I will release that change to the actual website once I do a little bit more research on that extra pixel. It looks very cool what you're working on.
|
|
|
Post by Pyrofer on Sept 21, 2019 23:26:53 GMT
So, I compiled a program and it runs in VICE, however I just get a blank screen on Z64K !!!
I am really confused by this as I didn't think I did anything different to the last few programs I compiled which DO run, I tested them and they run. Very Odd, there should be no real difference in this latest program that would make it not work.
I am completely confused by this, I have yet to test on real hardware as my machine is packed away at the moment, but I don't see any reason it wouldn't run! It starts and puts the machine into fast mode as I see the VIC screen go crazy, but the VDC never shows any output unlike in VICE where I see the results of my code...
|
|
|
Post by willymanilly on Sept 22, 2019 1:58:33 GMT
So, I compiled a program and it runs in VICE, however I just get a blank screen on Z64K !!! I am really confused by this as I didn't think I did anything different to the last few programs I compiled which DO run, I tested them and they run. Very Odd, there should be no real difference in this latest program that would make it not work. I am completely confused by this, I have yet to test on real hardware as my machine is packed away at the moment, but I don't see any reason it wouldn't run! It starts and puts the machine into fast mode as I see the VIC screen go crazy, but the VDC never shows any output unlike in VICE where I see the results of my code... There are a number of reasons why the screen could be blank including what I discussed at the end of How to store charset data if is char more than 8px W 16px H. Soci's VDC test 10 shows an example of where part of the screen turns black because the smooth scroll value is greater than the character width. VICE does not black out any part of the screen for that test program. Z64K does emulate the blacking out and displays the test program correctly. I've attached all of Soci's tests with .prg extension included in filename for easy loading. They all need to be run in c64 mode. Are you happy to send me a copy of the program you are attempting to run so I can have a look so I can rule out the above? Attachments:soci.zip (8.88 KB)
|
|