darwinmac wrote:Actually, there is a list of command-line options. You will find them in the hatari.1 man file in the doc folder that was created when you extracted the .bz2 file. If you did a "make install", I am guessing it would install the man page in the proper directory so you could simply type "man hatari" and see the formatted man page. However, I did not do this. I simply brought up the man page in a text editor.
According to the man page, the command-line parameter is "--ym-mixing". The different values are: "model" to use the mathematical model, "table" to use a lookup table of audio output voltage values, and "linear" to average the 3 YM voices. The command line would look like "hatari --ym-mixing model" (no quotation marks)
If you put Hatari into full-screen mode in OS X, you can get the SDL preferences menu by pressing fn-F12 (or simply press F12 if you do not have a laptop-type keyboard). If you are running OS X Lion, you will need a patched SDL framework in order to get Hatari to work in full-screen mode. I was able to get it when one of the people here was able to compile it for me and include it in a Hatari 1.5.0 binary.
Once you get the SDL preferences menu (rather than the Xcode version), you'll see the different sound options that were added in 1.6.0.
I wish I had the time to learn enough about Xcode to make the changes to the native Mac interface.
distantminds wrote:Rich, I can, but before I would like to ask a question of the hardcore open-source guys
Further to what's been said above, I wonder about the use of 'make' and 'make install'..
At the moment I don't use make, I build from within xcode IDE.. So as a result I don't perform a make install either..
Am I right in thinking Xcode leverages 'make' itself? could I do a build in Xcode and then perform a make install within the command line myself?
distantminds wrote:Another question - is it possible to build hatari and embed all necessary frameworks within the binary, rather than relying on external frameworks for the end user?
Code: Select all
Process: Hatari 
Version: Hatari[en] version 1.6.0a (1.6)
Code Type: X86 (Native)
Parent Process: launchd 
Date/Time: 2012-01-07 01:22:31.323 +0000
OS Version: Mac OS X 10.7.2 (11C74)
Report Version: 9
Sleep/Wake UUID: E4E3DB6E-39B5-4591-914C-826D405C19F9
Interval Since Last Report: 594783 sec
Crashes Since Last Report: 3
Per-App Crashes Since Last Report: 2
Anonymous UUID: E2B7338B-1DE3-448B-A417-71A5B55DA44A
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: @executable_path/../Frameworks/SDL.framework/Versions/A/SDL
Referenced from: /Applications/Hatari-1/hatari.app/Contents/MacOS/Hatari
Reason: image not found
0x1000 - 0x1a8ff5 +com.sourceforge.hatari (Hatari[en] version 1.6.0a - 1.6) <B5BF0230-5B80-30F6-8316-FC9A450E8BFE> /Applications/Hatari-1/hatari.app/Contents/MacOS/Hatari
0x8fea4000 - 0x8fed69c7 dyld (195.5 - ???) <BCC83F99-7244-3DBA-867D-6226D53DD9F2> /usr/lib/dyld
Model: MacBookPro8,2, BootROM MBP81.0047.B24, 4 processors, Intel Core i7, 2.2 GHz, 8 GB, SMC 1.69f3
Graphics: AMD Radeon HD 6750M, AMD Radeon HD 6750M, PCIe, 1024 MB
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 512 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x0198, 0x393930353432382D3035312E4130304C4620
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x0198, 0x393930353432382D3035312E4130304C4620
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (188.8.131.52.18)
Bluetooth: Version 4.0.1f4, 2 service, 18 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: TOSHIBA MK7559GSXF, 750.16 GB
Serial ATA Device: MATSHITADVD-R UJ-898
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0xfa200000 / 3
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfa100000 / 2
USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 5
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821a, 0xfa113000 / 6
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0246, 0xfa120000 / 4
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd110000 / 3
Dal wrote:Hi Bob. I misunderstood and assumed that this was just calling SDL from the same directory as the application. ...well it was late and I was working!
Just to confirm, it does of course work when I copy the /SDL folder to the correct place.
I don't know if it's beyond the scope of this thread but could you possibly give me some advice on how you managed to embed the Sdl framework within the binary?
Also, out of interest, I are you compiling in Xcode 4 on Lion?
Users browsing this forum: No registered users and 1 guest