{"id":71752,"date":"2022-07-10T19:14:01","date_gmt":"2022-07-10T17:14:01","guid":{"rendered":"http:\/\/www.emu-france.com\/?p=71752"},"modified":"2022-07-10T19:14:01","modified_gmt":"2022-07-10T17:14:01","slug":"ordi-hatari-v2-4-0","status":"publish","type":"post","link":"https:\/\/www.emu-france.com\/?p=71752","title":{"rendered":"[Ordi.] Hatari v2.4.0"},"content":{"rendered":"<p><strong>Hatari <\/strong>est un \u00e9mulateur Atari ST, STE, TT et Falcon tournant sous Linux, BSD, BeOS, Mac OS X et bien d&rsquo;autres syst\u00e8mes supportant la biblioth\u00e8que SDL.<br \/>\n&nbsp;<br \/>\n<a href=\"https:\/\/www.emu-france.com\/wp-content\/uploads\/2016\/11\/hatari.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter  wp-image-46897\" src=\"https:\/\/www.emu-france.com\/wp-content\/uploads\/2016\/11\/hatari.png\" alt=\"hatari\" width=\"401\" height=\"107\" srcset=\"https:\/\/www.emu-france.com\/wp-content\/uploads\/2016\/11\/hatari.png 600w, https:\/\/www.emu-france.com\/wp-content\/uploads\/2016\/11\/hatari-300x80.png 300w\" sizes=\"auto, (max-width: 401px) 100vw, 401px\" \/><\/a><br \/>\n&nbsp;<br \/>\n<em>Major highlights of this new version:<br \/>\n&#8211; Major rewrite of the internal delays\/timers, speed up emulation by ~10% on average<br \/>\n&#8211; Various CPU improvements (FPU, IPL timing)<br \/>\n&#8211; Faster CPU emulation for 68000 in cycle exact mode (speed up emulation by ~7%)<br \/>\n&#8211; More accurate MFP emulation, combined with the new internal timers<br \/>\n&#8211; Improved VBLANK position in 50 and 60 Hz mode<br \/>\n&#8211; Improved cycle accurate YM2149 emulation, supporting new effects (syncsquare in maxYMiser v1.53)<br \/>\n&#8211; Better value for MFP GPIP bit 7 (STE DMA sound and Falcon sound)<br \/>\n&#8211; For SCSI, improve \u00ab\u00a0Mode Sense\u00a0\u00bb and \u00ab\u00a0Report Luns\u00a0\u00bb<br \/>\n&#8211; For IKDB, better emulation of commands $A and $B<br \/>\n&#8211; Better MIDI using PortMidi (Linux\/Windows\/macOS)<br \/>\n&#8211; Better RS232 support for BSD\/macOS<br \/>\n&#8211; Some fixes for Gemdos HD mode<br \/>\n&#8211; Many debugger improvements<br \/>\n&#8211; Hatari now defaults to the SMALL_MEM build option, using less RAM during emulation<br \/>\n&nbsp;<\/p>\n<p>Following features are deprecated and will be removed in a future release:<br \/>\n&#8211; SDL 2.x \u00ab\u00a0bUseSdlRenderer\u00a0\u00bb config and \u00ab\u00a0GPU scaling\u00a0\u00bb GUI options (after HW support for SDL2 is available widely enough)<br \/>\n&#8211; The \u00ab\u00a0external\u00a0\u00bb disassembler (i.e. use \u00ab\u00a0&#8211;disasm uae\u00a0\u00bb instead)<br \/>\n&#8211; Hatari XBios(255) API enabled with the \u00ab\u00a0&#8211;bios-intercept\u00a0\u00bb option (i.e. use \u00ab\u00a0&#8211;natfeats\u00a0\u00bb &#038; \u00ab\u00a0&#8211;cmd-fifo\u00a0\u00bb options and \u00ab\u00a0hconsole\u00a0\u00bb instead)<br \/>\n&#8211; The old ~\/.hatari configuration file location (use ~\/.config\/hatari instead)<br \/>\n&#8211; The rendering functions for 16 bits-per-pixel host screens (almost all recent hardware should have 32 bpp nowadays)<br \/>\n&nbsp;<\/p>\n<p>Removed features (that were marked as deprecated in earlier releases):<br \/>\n&#8211; Support for the SDL 1.2 library (i.e. SDL 2.x should be used instead)<br \/>\n&#8211; Support for building Hatari for Windows CE has been removed, too, since this was relying on version 1.2 of the SDL library.<br \/>\n&#8211; The old UAE CPU core (i.e. the new WinUAE CPU core is now always used)<br \/>\n&#8211; Python v2 support in Python scripts (Python 2 was end of life in 2020)<br \/>\n&nbsp;<\/p>\n<p>Emulation improvements:<br \/>\n&#8211; Internal timers:<br \/>\n*Rewrite the internal timers used to emulate delays\/events\/mfp timers (gain ~10% on average, up to 60% in very specific cases)<br \/>\n&#8211; CPU:<br \/>\n*Improve FPU emulation (exceptions, unimplemeted instructions, fsincos)<br \/>\n*Improve FPU emulation in softfloat mode<br \/>\n*Improve IPL timing update in various opcodes<br \/>\n*Faster emulation of 68000 in cycle exact mode (gain ~7%)<br \/>\n&#8211; MFP:<br \/>\n*Use the new internal timers for MFP timers<br \/>\n*Improve accuracy when reading MFP&rsquo;s Timer Data Register<br \/>\n*More accurate emulation by processing all internal timers first before reading\/writing any MFP register (was previously delayed after processing the current CPU instruction, which was too late in some cases)<br \/>\n&#8211; Video:<br \/>\n&#8211; Fix position for detecting when VBLANK should be disabled in 50 Hz and 60 Hz<br \/>\n&#8211; DSP:<br \/>\n*Improved interrupts handling and SSI (from Previous NeXT emulator)<br \/>\n&#8211; Sound:<br \/>\n*Improve accuracy of YM2149&rsquo;s sample generation by using the main CPU clock as a reference for all timings (syncsquare effect as used in recent maxYMiser v1.53)<br \/>\n*Use specific memory functions when doing DMA for STE and Falcon sound (don&rsquo;t generate bus error when pointed memory is not present)<br \/>\n*Improve value of MFP GPIP bit 7 for DMA sound in the case of STE\/TT<br \/>\n(video mono XOR dma sound xsint)<br \/>\n*Use 2 different signals SOUNDINT and SNDINT for Falcon (connected to MFP GPIP7 and MFP Timer A input)<br \/>\n&#8211; FDC:<br \/>\n*Stall the CPU during 32 cycles when DMA FIFO is filled\/transferred<br \/>\n&#8211; SCSI:<br \/>\n*Improve MODE SENSE, add REPORT LUNS support<br \/>\n&#8211; IKBD:<br \/>\n*support deltax\/deltay in command $A (set mouse keycode mode) and threshold x\/y in command $B (set mouse threshold)<br \/>\n&nbsp;<\/p>\n<p>Emulator improvements:<br \/>\n&#8211; TOS support:<br \/>\n*Support 1024k EmuTOS images also on TT &#038; Falcon<br \/>\n*Add country code option to select EmuTOS language, keyboard layout and screen refresh rate on Mega\/ST\/STe machines (ones lacking NVRAM)<br \/>\n&#8211; MIDI support:<br \/>\n*Fix: PortMidi rejects Hatari MIDI events<br \/>\n*Fix: MIDI IRQ needs to be re-enabled on MIDI device change even when there&rsquo;s no reset<br \/>\n*Support for matching PortMidi device name by prefix when there&rsquo;s no exact full match<br \/>\n&#8211; RS232:<br \/>\n*The RS232 receiver code has been rewritten to use polling instead of using a thread. This should avoid deadlocks on BSD\/macOS systems when shutting down or reconfiguring the RS232 settings.<br \/>\n&#8211; TT\/Falcon:<br \/>\n*Increase max TT-RAM amount to 1024 MiB<br \/>\n*Separate config + CLI options to override NVRAM language and keyboard layout settings<br \/>\n*NVRAM language default is taken from the LANG env variable<br \/>\n&#8211; Falcon:<br \/>\n*Fix: restore zoom mode correctly when loading snapshots<br \/>\n*Correct also smaller specified memory amounts to valid ones<br \/>\n*Microphone emulation now uses SDL2 instead of PortAudio<br \/>\n&#8211; MegaSTE\/TT:<br \/>\n*Add VME\/SCU registers \u00ab\u00a0&#8211;vme \u00a0\u00bb access option (Linux needs \u00ab\u00a0none\u00a0\u00bb option and TOS v2 \/ v3 need \u00ab\u00a0dummy\u00a0\u00bb one until Hatari implements real VME\/SCU register emulation)<br \/>\n&#8211; VDI mode:<br \/>\n*Relax VDI mode width alignment from 128\/planes to 16\/planes, and height alignment from 16 to 8 pixels<br \/>\n&#8211; SDL GUI:<br \/>\n*Fix: ignore unrecognized events in file selector (buttons could be incorrectly shown as selected)<br \/>\n*Fix: avoid key release event from SDL GUI closing leaking to emulation<br \/>\n*Do VDI mode size changes in (faster) 16 pix increments, and prevent user seeing invalid VDI mode sizes<br \/>\n*Fine-tune CPU dialog texts and keyboard shortcuts<br \/>\n&#8211; GEMDOS HD:<br \/>\n*Fix: clear GEMDOS Fread \/ Fwrite errors<br \/>\n*Fix: Allow GEMDOS tasks to use other tasks&rsquo; file handles<br \/>\n&#8211; Command line:<br \/>\n*Support \u00ab\u00a0off\u00a0\u00bb as alias for \u00ab\u00a0none\u00a0\u00bb when disabling DSP, FPU, Joysticks and VME, for consistency with HW on\/off options<br \/>\n&#8211; NatFeats:<br \/>\n*Fix: freeze with NF_STDERR when string is empty or unterminated<br \/>\n&#8211; Debugger:<br \/>\n*Fix: profile header so that profile data post-processor knows how to parse built-in WinAUE CPU core (\u00ab\u00a0uae\u00a0\u00bb) disassembly output, not just \u00ab\u00a0ext\u00a0\u00bb disassembler output<br \/>\n*Repeat CPU &#038; DSP \u00ab\u00a0step\u00a0\u00bb and \u00ab\u00a0next\u00a0\u00bb commands on Enter<br \/>\n*Output PC location in CPU &#038; DSP disassembly<br \/>\n*More readable \u00ab\u00a0variables\u00a0\u00bb command output<br \/>\n*Add \u00ab\u00a0PConSymbol\u00a0\u00bb variable for breaking on symbol addresses<br \/>\n*Add \u00ab\u00a0mmu\u00a0\u00bb and \u00ab\u00a0vme\u00a0\u00bb options for \u00ab\u00a0info\u00a0\u00bb command<br \/>\n*Add \u00ab\u00a0scc\u00a0\u00bb and \u00ab\u00a0vme\u00a0\u00bb (VME\/SCU reg access) tracing support<br \/>\n*Setting trace to \u00ab\u00a0none\u00a0\u00bb disables also xconout console output enabled by \u00ab\u00a0os_base\u00a0\u00bb trace option<br \/>\n*\u00a0\u00bbnext subreturn\u00a0\u00bb will run until current function returns, even if function calls other functions before that<br \/>\n*Symbol loadind code is now shared between debugger \u00ab\u00a0symbols\u00a0\u00bb command &#038; \u00ab\u00a0gst2ascii\u00a0\u00bb tool, and it can now read also long symbol names from Pure-C debug information<br \/>\n*Auto-detection for whether section offsets should be used when loading symbol information<br \/>\n*MIDI trace options are split to \u00ab\u00a0midi\u00a0\u00bb (device &#038; MIDI events) and \u00ab\u00a0midi_raw\u00a0\u00bb (IRQ and register read\/write access). Trace logging added also for MIDI byte writes, not just reads<br \/>\n*Trace options are listed in alphabetical order<br \/>\n&#8211; Windows:<br \/>\n*Next\/prev drive change buttons added to SDL GUI file select dialog<br \/>\n&nbsp;<\/p>\n<p>Build\/configure:<br \/>\n&#8211; SMALL_MEM option is enabled by default<br \/>\n&nbsp;<\/p>\n<p>Tools:<br \/>\n&#8211; Add (SDL2 specific) \u00ab\u00a0listkeys\u00a0\u00bb key mapping helper back<br \/>\n&#8211; TOS boot tester: support 1024k EmuTOS images, misc fixes<br \/>\n&nbsp;<\/p>\n<p>Documentation:<br \/>\n&#8211; Compatibility updates, especially for 060 programs that need FPSP060.PRG for missing instructions emulation<br \/>\n&nbsp;<\/p>\n<p>Fixed demos:<br \/>\n&#8211; Hackabonds Demo (wrong vblank detection)<br \/>\n&#8211; We Were @ HD version under GEMDOS HD (file handle access)<br \/>\n&nbsp;<\/p>\n<p>Fixed programs:<br \/>\n&#8211; maxYMiser FM v1.53 by gwEn (support for syncsquare effect)<br \/>\n&nbsp;<\/p>\n<p>Fixed games:<br \/>\n&#8211; Chambers of Shaolin : DMA sound was wrong in STE mode with 1 MB RAM (mfp gpip bit 7)<br \/>\n&#8211; Super Hang On : fix flickering raster colors (bclr #0,$fffffa0f sometimes happened at the same time timer C expired)<br \/>\n&nbsp;<\/p>\n<p>   &#8211; Misc<\/em><\/p>\n<p>&nbsp;<br \/>\n<span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"500\" height=\"282\" src=\"https:\/\/www.youtube.com\/embed\/D8Rxe7DrMnk?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=fr-FR&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span><br \/>\n&nbsp;<\/p>\n<p class=\"p_telecharger_icone_zip\"><p class=\"p_telecharger_icone_zip\"><a class=\"telecharger_icone_zip\" href=\"https:\/\/www.emu-france.com\/?wpfb_dl=2528\" title=\"Download Hatari (x86)\">T\u00e9l\u00e9charger Hatari (x86) v2.6.1 (5.9 Mo)<\/a><\/p><\/p>\n<p class=\"p_telecharger_icone_zip\"><p class=\"p_telecharger_icone_zip\"><a class=\"telecharger_icone_zip\" href=\"https:\/\/www.emu-france.com\/?wpfb_dl=6796\" title=\"Download Hatari (x64)\">T\u00e9l\u00e9charger Hatari (x64) v2.6.1 (6.0 Mo)<\/a><\/p><\/p>\n<p class=\"p_site_officiel\"><a class=\"site_officiel\" href=\"http:\/\/hatari.tuxfamily.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Site Officiel<\/a><\/p>\n<p class=\"p_en_savoir_plus\"><a class=\"en_savoir_plus\" href=\"https:\/\/www.emu-france.com\/emulateurs\/10-ordinateurs\/106-atari-8-bits-atari-st\/\">En savoir plus&#8230;<\/a><\/p>\n<div class=\"fcbkbttn_buttons_block\" id=\"fcbkbttn_left\"><div class=\"fb-share-button  \" data-href=\"https:\/\/www.emu-france.com\/?p=71752\" data-type=\"button_count\" data-size=\"small\"><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Hatari est un \u00e9mulateur Atari ST, STE, TT et Falcon tournant sous Linux, BSD, BeOS, Mac OS X et bien d&rsquo;autres syst\u00e8mes supportant la biblioth\u00e8que SDL. &nbsp; &nbsp; Major highlights of this new version: &#8211; Major rewrite of the internal &#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-71752","post","type-post","status-publish","format-standard","hentry","category-par-defaut","uentry","postonpage-1","odd","post-author-Jets"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pKi2R-iFi","jetpack_likes_enabled":false,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/posts\/71752","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=71752"}],"version-history":[{"count":1,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/posts\/71752\/revisions"}],"predecessor-version":[{"id":71753,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/posts\/71752\/revisions\/71753"}],"wp:attachment":[{"href":"https:\/\/www.emu-france.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=71752"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=71752"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=71752"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}