[hatari-devel] Some more demos that fail with 1.4

Anders Eriksson ae at dhs.nu
Fri Mar 25 18:58:33 CET 2011


On Fri, 25 Mar 2011, Nicolas Pomarède wrote:

>> RGB Plasma / Omega
>> http://files.dhs.nu/files_demo/omplasma.zip
>> http://pouet.net/prod.php?which=28031
>> 
>> a) Crashes with double bus error at boot
>
> This disk has a wrong boot sector that indicates 2 sides, 1600 sectors and 10 
> sectors per track.
> But in fact, the real disk's size is 737280 bytes, which doesn't match the 
> above values.
>
> This new code should be more robust at guessing.

Hi,

thanks for the update, I can confirm that the RGB Plasma now works, great 
work! :-)


However Hatari doesn't compile out of the box on OS X, I need to comment 
out some stuff:

First, check out a fresh Hatari, then do:

cd hatari
cmake -G "Unix Makefiles" .
make

/Users/ae/Atari/source/hatari/src/gui-osx/PrefsController.m: In function 
'-[PrefsController initKeysDropDown:]':
/Users/ae/Atari/source/hatari/src/gui-osx/PrefsController.m:520: warning: 
comparison between signed and unsigned
/Users/ae/Atari/source/hatari/src/gui-osx/PrefsController.m: In function 
'-[PrefsController setAllControls]':
/Users/ae/Atari/source/hatari/src/gui-osx/PrefsController.m:614: error: 
'CNF_SCREEN' has no member named 'bCaptureChange'
/Users/ae/Atari/source/hatari/src/gui-osx/PrefsController.m: In function 
'-[PrefsController saveAllControls]':
/Users/ae/Atari/source/hatari/src/gui-osx/PrefsController.m:825: error: 
'CNF_SCREEN' has no member named 'bCaptureChange'
make[2]: *** [src/CMakeFiles/hatari.dir/gui-osx/PrefsController.m.o] Error 
1
make[1]: *** [src/CMakeFiles/hatari.dir/all] Error 2
make: *** [all] Error 2


Here I comment out lines 614 and 825 of src/gui-osx/PrefsController.m then 
it continues to compile, but at link time it hits this problem:

Linking C executable hatari.app/Contents/MacOS/hatari
Undefined symbols:
   "_AviRecordDefaultVcodec", referenced from:
       -[SDLMain captureAnimation:] in SDLMain.m.o
   "_AviRecordDefaultCrop", referenced from:
       -[SDLMain captureAnimation:] in SDLMain.m.o
   "_AviRecordFile", referenced from:
       -[SDLMain captureAnimation:] in SDLMain.m.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [src/hatari.app/Contents/MacOS/hatari] Error 1
make[1]: *** [src/CMakeFiles/hatari.dir/all] Error 2
make: *** [all] Error 2


If I comment out line 452:
Avi_StartRecording ( AviRecordFile , AviRecordDefaultCrop , 
nScreenRefreshRate , AviRecordDefaultVcodec );

It will link as well.

It is possible to compile, but a little annoying to do these patchings.

--
Anders Eriksson
ae at dhs.nu     http://www.dhs.nu/
ae at atari.org  http://www.atari.org/


More information about the hatari-devel mailing list