English Amiga Board Amiga Lore


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 20 February 2017, 02:27   #1
BlankVector
Registered User
 
Join Date: Jun 2012
Location: Paris, France
Posts: 148
Reading JOY1DAT fails on real hardware

I'm trying to implement joystick support in EmuTOS.

For that, I read JOY1DAT. It works fine with WinUAE, but fails on real hardware: nothing is read. I suspect something related to POTGO. Some subtle difference which is not emulated by WinUAE. Strangely, even button 1 at bit 7 of CIAAPRA does not return anything.

Any hints?
BlankVector is offline  
AdSense AdSense  
Old 20 February 2017, 08:37   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,561
Not much information...

JOY1DAT (and 0) always work, there is no way to disable them.

EDIT: POTGO can only affect second and third button. Fire/left mouse is CIA-only. Sounds like hardware problem.

Last edited by Toni Wilen; 20 February 2017 at 09:34.
Toni Wilen is online now  
Old 22 February 2017, 02:36   #3
BlankVector
Registered User
 
Join Date: Jun 2012
Location: Paris, France
Posts: 148
Quote:
Originally Posted by Toni Wilen View Post
Sounds like hardware problem.
Damn! You are right Thanks for the hint.
My cheap joypad, which used to work fine, is now broken for unknown reason
Additional hardware tests show that my code works perfectly

Sorry for the noise.
BlankVector is offline  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Real A4000 reading CF but Winuae won't IvanEBC support.Hardware 11 27 January 2017 12:24
ALWAYS test your code on real hardware!! h0ffman Coders. General 32 16 July 2015 21:02
Netplay on real Amiga hardware? lesta_smsc support.Hardware 0 03 June 2013 00:40
Reading the Real Time Clock girv Coders. General 5 04 September 2007 18:30
Installing procedure fails on my real Amiga. fc.studio project.ClassicWB 7 20 June 2007 10:38

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 20:41.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.11950 seconds with 11 queries