[hatari-devel] OS X SDL2 testing |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: Hatari devel list <hatari-devel@xxxxxxxxxxxxxxxxxxx>
- Subject: [hatari-devel] OS X SDL2 testing
- From: Bob Carpenter <hatari@xxxxxxxxxx>
- Date: Sat, 28 Nov 2015 23:28:23 -0600
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ripon89-us.20150623.gappssmtp.com; s=20150623; h=sender:from:content-type:content-transfer-encoding:subject :message-id:date:to:mime-version; bh=INlVDNG3jFXXrekqJAsiGxSzPZxxAZ5+spHJ7QZc33A=; b=FIOd0R1OYImTuoqsJzpXGYDeRDbDHX1pLrGdWhzGNglkwKYxYILYDBcz82P7Twh5Ve F872/VLNjWXYANAsg2udh0qF/20NDkF9UHnl37G0iqnG5m6moGnkjt/1MY44/dlFHZYJ U2T0+FqT5zs9l+NPOmUY/boj9ANhv4Qwi6jp3uc7bvoDHgyYs6pIGAkvHoSJPh9QEJ4I W36rKqoLEX4QCNbz6mYrCT/+fjpHcbJ0XLxCvQ5MhG77sydM0PMGGlovhdNBbLRcK7vW xgBIUMB/kKryhfyMdKdiQMlNj8Mr1uUtZ/pnaGwDUvd73uBUHXT5sxxhUluZ6ECzgkNn auRw==
I have noticed that the OS X preferences window will not work if I have a joystick/gamepad plugged in. The SDL menu still works and shows the gamepad or joystick. However, if I leave the joystick unplugged and start Hatari, then the OS X preferences window appears. I tried my CX-40 with the 2600-daptor II and my USB Nyko gamepad that I use for my normal Mac gaming. I see the same results with both the Atari joystick and the Nyko gamepad.
Since I know there have been problems with the OS X port of SDL2, I am wondering if this is another SDL problem. I did notice that my old Retrolink adapter stopped working correctly when I started using SDL2. It is not related to Hatari because Stella (2600 emulator) also uses SDL2 and it had the exact same problem (left and right directions worked but not up and down). I used the Retrolink USB adapter to allow me to use an actual Atari CX-40 joystick when using Hatari. After the problem with the Retrolink adapter, I purchased the 2600-daptor II device to allow me to use my CX-40 with SDL2.
These are the SDL2-related problems that I have found with the OS X version:
1. The preferences window will not appear if a joystick is plugged in.
2. The OS X preferences window needs the SDL2 options added (Use Linear Scaling, Use VSync)
3. The NIB file needs to be changed to remove the keyboard shortcuts for Preferences (the Cmd-, shortcut does not work), Full screen (Hatari seems to try to use the OS X full screen mode if the keyboard shortcut exists and it gets messed up), and Minimize (Cmd-M is used for mouse capture so the window is minimized as well as capturing the mouse).
4. The current stable version of SDL2 (2.0.3) has definite problems on OS X. This will cause support problems if people try to run Hatari with the stable version of SDL2 instead of using the embedded framework that would be bundled into Hatari.
I downloaded the development code just this morning (Saturday) and recompiled Hatari for this testing.
Nicolas,
From my STX testing, I have not found any problems with using the WinUAE CPU. I only run games and not demos, but everything looks good with the new CPU so far.
Bob C