Hatari 2.2.1 has been released

A forum about the Hatari ST/STE/Falcon emulator - the current version is v2.2.0

Moderators: simonsunnyboy, thothy, Moderator Team

darwinmac
Captain Atari
Captain Atari
Posts: 217
Joined: Sat Aug 06, 2011 2:49 pm
Location: San Jose, USA

Re: Hatari 2.2.0 has been released

Postby darwinmac » Sat Feb 02, 2019 12:14 am

Eero Tamminen wrote:
gregoryMJM wrote:Unfortunately, something is wrong with the macOS version, the image seems zoomed in and only one fourth of the Atari screen is visible.


Which MacOS version do you have? Which Mac device? With what kind of a display (type and resolution)?


macOS Mojave 10.14.3, 2016 MacBook Pro, Retina display.

Hatari 2.2 fails on both 1440x900 (Default) and 1680x1050 (More Space) (Displays preference pane)

Eero Tamminen wrote:Please try replacing the libSDL version included with Hatari 2.2 with the latest version (if its newer than Hatari version) and tell whether that helps:
https://www.libsdl.org/download-2.0.php


Unfortunately, the macOS download from libSDL is the macOS Framework. The Hatari binary has been compiled with a dynamic library (dylib). The official macOS Hatari binary will not recognize the framework since it was not compiled this way. I proved this by trying it on my MacBook Pro.

gregoryMJM wrote:I'll have to stick with 2.1.0.


Eero Tamminen wrote:Which version of libSDL is included with Hatari 2.1 MacOS package?

Unfortunately, it only says SDL 2.0.0. Since I think the SDL library is being manually compiled, I cannot tell what version of the source code is being used. However, according to the README, it appears to be SDL 2.0.7. It is possible that Hatari 2.2 is making different SDL calls than 2.1 which could be causing the problem with the particular SDL framework that is used.

I manually compiled Hatari for macOS from the source code.I compiled it with the 2.0.9 SDL Framework. I was able to get Hatari to work correctly so I am hopeful an updated macOS binary will be available. It does not include the portmidi framework since I do not use MIDI at all in Hatari. In full screen mode, I sometimes see garbage on the left and right-hand borders outside of the ST screen. However, I can get the garbage to disappear by alternating between windowed and full-screen mode a couple of times.

Here is my compilation of Hatari:
https://www.dropbox.com/s/9v89mrdmw8wn3 ... 2.zip?dl=0

Bob C

User avatar
npomarede
Atari God
Atari God
Posts: 1303
Joined: Sat Dec 01, 2007 7:38 pm
Location: France

Re: Hatari 2.2.0 has been released

Postby npomarede » Sat Feb 02, 2019 9:35 am

tommo wrote:Hi Nicolas,
Your fix is good!

I used unpk indeed for bcd -> text.

Thanks!

Very quick fix by the way.

Thanks, but too bad this bug was not seen before release. I think an Hatari version 2.2.1 will be needed, with some fixes for the macOS issues once the causes are found.
Nicolas
Last edited by npomarede on Sat Feb 02, 2019 7:29 pm, edited 1 time in total.

darwinmac
Captain Atari
Captain Atari
Posts: 217
Joined: Sat Aug 06, 2011 2:49 pm
Location: San Jose, USA

Re: Hatari 2.2.0 has been released

Postby darwinmac » Sat Feb 02, 2019 5:54 pm

There appears to be some progress on the macOS Hatari build. The maintainer sent a link to the mailing list of a new build using the SDL 2.0.9 framework. It worked on his Mac that failed before and it worked successfully on my Mac. I am hopeful this new build will be available shortly from the Hatari website soon. I am sure an announcement will be made here at AF when that is done.

Bob C

darwinmac
Captain Atari
Captain Atari
Posts: 217
Joined: Sat Aug 06, 2011 2:49 pm
Location: San Jose, USA

Re: Hatari 2.2.0 has been released

Postby darwinmac » Wed Feb 06, 2019 1:26 am

It appears an updated macOS binary was uploaded to the Hatari website on 3 February. That version should resolve the problems that some people saw on the original macOS binary of Hatari 2.2.

Bob C

User avatar
npomarede
Atari God
Atari God
Posts: 1303
Joined: Sat Dec 01, 2007 7:38 pm
Location: France

Re: Hatari 2.2.1 has been released

Postby npomarede » Sun Feb 10, 2019 9:53 am

Hi
version 2.2.1 was released ; it fixes the 'UNPK' bug and the macOS display problems.
Top message of this section was udpated.

Nicolas

Sentry23
Atarian
Atarian
Posts: 2
Joined: Thu Sep 06, 2018 10:58 am

Re: Hatari 2.2.1 has been released

Postby Sentry23 » Mon Mar 11, 2019 9:29 pm

On the latest Hatari (and earlier ones as well), I have one strange bug in Falcon mode: when running DSP Debug, a trace command always executes 2 instructions instead of one. Am I overlooking an obvious setting somewhere or is it really a bug?

User avatar
Emphii
Atari User
Atari User
Posts: 34
Joined: Wed Sep 08, 2010 6:07 pm
Location: Middle-Finland

Re: Hatari 2.2.1 has been released

Postby Emphii » Tue Mar 12, 2019 3:51 pm

viewtopic.php?f=51&t=33129&start=125#p358940 does this "help" you any way?
--
Emphii/Extream
Plain 14MB F030 with 2GB (was 4GB) CF-modification (mem from Lynxman,thx man)

pimaga
Atarian
Atarian
Posts: 2
Joined: Fri Apr 05, 2019 9:09 am

Re: Hatari 2.2.1 has been released

Postby pimaga » Fri Apr 05, 2019 9:13 am

Hi and thank you so much for keeping the ST alive !
I've a question related to Hatari 2.2.x : I wondered if it could be possible to convert 2.0.x memory snapshots to 2.2.x format ?
Cheers

User avatar
npomarede
Atari God
Atari God
Posts: 1303
Joined: Sat Dec 01, 2007 7:38 pm
Location: France

Re: Hatari 2.2.1 has been released

Postby npomarede » Fri Apr 05, 2019 9:21 am

pimaga wrote:Hi and thank you so much for keeping the ST alive !
I've a question related to Hatari 2.2.x : I wondered if it could be possible to convert 2.0.x memory snapshots to 2.2.x format ?
Cheers

Hi
No, it's not possible. It's planned for a future release that memory snapshot will be compatible between new versions, but not done yet.
Nicolas

pimaga
Atarian
Atarian
Posts: 2
Joined: Fri Apr 05, 2019 9:09 am

Re: Hatari 2.2.1 has been released

Postby pimaga » Fri Apr 05, 2019 9:24 am

OK, thanks for your blazing reply !

Mikerochip
Atarian
Atarian
Posts: 2
Joined: Sat Feb 07, 2015 11:22 am

Re: Hatari 2.2.1 has been released

Postby Mikerochip » Fri Apr 12, 2019 4:07 pm

It doesn't seem to be compiled with .ipf support. (Is there a 2.2.1 with the caps library in it, by any chance?)

Also, is there an easy way to tell if that library is compiled in, just for my own info.
You don't find out until after you have picked the disk, and clicked ok twice to launch the emulation.

User avatar
npomarede
Atari God
Atari God
Posts: 1303
Joined: Sat Dec 01, 2007 7:38 pm
Location: France

Re: Hatari 2.2.1 has been released

Postby npomarede » Fri Apr 12, 2019 5:02 pm

Hi
the windows version from https://download.tuxfamily.org/hatari/ are compiled with IPF support ; I think the OSX version too, but I'm not sure.
It depends on the OS you use to know which libraries were used to compile Hatari, easiest solution remains to try to load an IPF file.

Mikerochip
Atarian
Atarian
Posts: 2
Joined: Sat Feb 07, 2015 11:22 am

Re: Hatari 2.2.1 has been released

Postby Mikerochip » Fri Apr 12, 2019 11:05 pm

npomarede wrote:Hi
the windows version from https://download.tuxfamily.org/hatari/ are compiled with IPF support

Hi!
Thanks for the reply!
But, that's where I downloaded it from.

It's definitely not working for me.

The latest nightly (both are x64) gives the same error.
Just in case, I tried the x86 build too (2.2.1) and nightly, and none of them work either.

(Nor does the Libretro port that Retroarch uses, but I'm not sure if anyone here looks after that)

User avatar
npomarede
Atari God
Atari God
Posts: 1303
Joined: Sat Dec 01, 2007 7:38 pm
Location: France

Re: Hatari 2.2.1 has been released

Postby npomarede » Sat Apr 13, 2019 11:05 am

I checked again and it seems IPF was not enabled by mistake when building Windows version of Hatari 2.2.1.
But if you use 2.2.0 version hatari-2.2.0_windows64.zip it will work, I just loaded an IPF to be sure.

Af for libretro/retroarch, we don't maintain these ourselves, you should turn to the developper of these program to ensure they compile Hatari with IPF support in their case.

Nicolas

User avatar
Dbug
Atari User
Atari User
Posts: 42
Joined: Tue Jan 28, 2003 8:42 pm
Location: Oslo (Norway)
Contact:

Re: Hatari 2.2.1 has been released

Postby Dbug » Sat Oct 12, 2019 9:59 am

Hi,
just wanted to signal that there was couple of issues in Monochrom mode.
If you compare https://youtu.be/RlpP7JVImGA?t=78 (real hardware) and https://youtu.be/ahjYceQGjKM?t=61 (Hatari 2.2.1) there are a number of issues:
- The vertical scroll in the main part is not visible: This is achieves by register bashing the color palette register, which in monochrome basically selects between black over white or white over black
- This seems to impact the Kefrens bars effect which in the original demo is on black background while in Hatari it appears in white background

Despite all my attempts using video capture cards and cameras, I was not able to get an acceptable video on the real hardware, so I guess a proper emulator capture is my only hope :)

For monochrome, one thing that would really, really help, is a way to enable some kind of framebuffer persistance, to emulate the fact that the screen tends to keep things visible for a very long time, which is what I used to make the gray scale graphics.

On the actual SM 124 it does look like a third level of gray, while on emulators it just looks like headache inducing color flickering.

That being said, the rest is working just fine, thanks :)

User avatar
npomarede
Atari God
Atari God
Posts: 1303
Joined: Sat Dec 01, 2007 7:38 pm
Location: France

Re: Hatari 2.2.1 has been released

Postby npomarede » Sat Oct 12, 2019 10:09 am

Dbug wrote:Hi,
just wanted to signal that there was couple of issues in Monochrom mode.
If you compare https://youtu.be/RlpP7JVImGA?t=78 (real hardware) and https://youtu.be/ahjYceQGjKM?t=61 (Hatari 2.2.1) there are a number of issues:
- The vertical scroll in the main part is not visible: This is achieves by register bashing the color palette register, which in monochrome basically selects between black over white or white over black
- This seems to impact the Kefrens bars effect which in the original demo is on black background while in Hatari it appears in white background

Despite all my attempts using video capture cards and cameras, I was not able to get an acceptable video on the real hardware, so I guess a proper emulator capture is my only hope :)

Hi,
yes mono mode is not always correctly emulated, especialy when timer B is used. This demo was already on my todo list, so hoepfully it will be fixed later.
mono mode was emulated to use GEM programs or things like that, not with demos in mind, so this needs to be improved as it's also possible to remove some borders, but Hatari doesn't support it so far.
For monochrome, one thing that would really, really help, is a way to enable some kind of framebuffer persistance, to emulate the fact that the screen tends to keep things visible for a very long time, which is what I used to make the gray scale graphics.

On the actual SM 124 it does look like a third level of gray, while on emulators it just looks like headache inducing color flickering.

That being said, the rest is working just fine, thanks :)

That would be an additionnal level of emulation where video result is sent to a filtering process to do various effects using the GPU (emulate CRT bluriness, video beam persistance and things like that).
For now, there's no such filtering stage, but maybe it will be added one day.

Nicolas

User avatar
Dbug
Atari User
Atari User
Posts: 42
Joined: Tue Jan 28, 2003 8:42 pm
Location: Oslo (Norway)
Contact:

Re: Hatari 2.2.1 has been released

Postby Dbug » Sat Oct 12, 2019 10:27 am

There's no timer involved, basically Time Slices is the equivalent of a fullscreen demo, it just syncs once on the top and then the entire code is sync locked with the display until the last line :)

That being said, since it's a STe demo, I'm using the blitter to do the 16 color changes, by preloading the colors in the half tone registers, and then they get sent to $ff8240.

User avatar
npomarede
Atari God
Atari God
Posts: 1303
Joined: Sat Dec 01, 2007 7:38 pm
Location: France

Re: Hatari 2.2.1 has been released

Postby npomarede » Sat Oct 12, 2019 10:30 am

That's the kind of effect not supported in mono for now : emulation doesn't support cycle exact color change, neither color change between black/white while the line is displayed.
So, changes to ff8240 are ignored during display and you get the result in Hatari where some parts are missing.


Social Media

     

Return to “Hatari”

Who is online

Users browsing this forum: No registered users and 0 guests