Re: [hatari-devel] EmuTOS boot freeze with Hatari git on 040/060 + MMU |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] EmuTOS boot freeze with Hatari git on 040/060 + MMU
- From: Christian Zietz <czietz@xxxxxxx>
- Date: Wed, 13 Mar 2024 21:31:18 +0100
- Autocrypt: addr=czietz@xxxxxxx; keydata= xsFNBGMHkrYBEACc4fljFVcoEo+DzmhTRd8pOfnj39wkNL+VEIzUpz5OfxFNx/KYWhtHxLN9 VWD3rojS5ww3bNgWiYdqDLisuaO6jLXZ7JNBQU3ruJg+g4iCuwfwFf/tVAHvMCr5U/ibiE94 VZuHs6yYJnXHuKrZEBzWQTEPHltqFLVq+cr4dzMV14SIWP8/OnUCaQeeCE1jdh8itXw75Cv9 Bc4wqhT1eU75WmcUwJ1hNrwZm6M2acFoABmZL0CWm0L8+7PXDgZXlwyNoWuPoupjuAvjsdsY 5x+uWtfyufrC/auTcc7LKiAxRQcZ/ABtLhnAa13Su4BsrVwJIxFIGDrZe/CpX48CvYdWljQF JqElP5ShsaM01odrLhmS8OreMEODo6Vhr3zqs3wUA/bl8gEkxDbSz0LewqC07sajTiYIVABW bVWkyn2T8JANSbtVV9YgUnbK+CsMckruarab1iSrTBB+aTvK5TN7LP4iKHaXfZAbq5wtQfXe yrvyPjkbmzvbYb+lnVe24fqLQS1RVB6p/LGAkKFBT1SjEQWVtzVIiAAlbjhRxIsdOqJK1kl/ 6GyQyGfUlPByUETzzFKe6qcCtQlUZPwd7vquryw+3PSVkhL9PiEtUSMiOIVpRzfomxwKXNGT avDoYjTZL1ROuzQYfL+ekpGu4Ti53GGxagxJT1tBhon1qUkMwwARAQABzSBDaHJpc3RpYW4g WmlldHogPGN6aWV0ekBnbXgubmV0PsLBkQQTAQgAOxYhBElYYBdDcemT9uBa0ocIs0yCexWe BQJjB5K2AhsDBQsJCAcCAiICBhUKCQgLAgQWAg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BHgSYy8FMHsQIP+LFOxb6pQEdIuaAy8=
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1710361880; x=1710966680; i=czietz@xxxxxxx; bh=QSzyj3slOfl05r9g8jc6u6qOVu2WFXWNXhPjIOXWpi0=; h=X-UI-Sender-Class:Date:Subject:To:References:From:In-Reply-To; b=aHTRF5W0A4sYui4jHapIVL6cavxDyVcwSrVb+ao66Gvw6l9zwnM9RhvOtwdiZpaW cO4HvxawCBeoOIJonb+tLz4Ksl2+iKVOPWabm1GE2+NGr8xQ7g1jvrZnh52gRDr03 bcPgjPXdXU0i98iD4iaHQkzIQaG3EjcBMwITlVzcdpwnA7K6cAyTRkInIQtBOdYSf qQw1aidTtlBvfN9EVczXeBqV8u0RnnAPR7qVgcX2ExNYSFd80U6wJ1ea8E5f87hJQ pFIuUYnKp7FscwPc7Hj7b5ulNDvC2hxSS4UHIe72mtRLAv/b3odMBdnwKG5D+Fpkc dU7tiNaC1Cdu9RuO8Q==
- Ui-outboundreport: notjunk:1;M01:P0:GsL/QVKKnWI=;b8PZz27kF2JLvNEelgqphmQZ7EH wIljNEOthgtYEV3LoLdayecDJDDKPQEf4N34Q/R9GQOObF63nPW+DtruLhD6ah1U9h+s1g9+4 F1MmeYZuu1CuJmX/oPxwQsvudiGVyJCwy6tLorAogVMLs7xTj5pxmwxSxEZWQT/AP1+il4us9 a7fQUQesrFuR/txhqwEEU89K+9Da6kt76/O5ob/1I312sjfyEiRhUO5eLCoCzSMRNCeXlJwTk nFEgmmiMve5qEDmj+Z4kUcvufyGqXUygts8GRCag0EmXNWxGv8iDQ0luqT6IVtRIoihTBC8N7 cXK/7PueE9UEV2COXFYx+yhjZ/1n3cm/315RtVq9e1uFAyGJLppCm5Iy+g2sFZZZVCoecUCR4 vmZO3cgsqkMHQOv+3zjQYGe0ORkOJfqUoGAsGoDzyJg3VHeX110oXkgqFaB32YcA5eiwqumbf kmZF4YaFi0kALLR4yEWwEcSkTRsZc0CZBxiyqHeaWZS6DQu9zDGcEFVWwLhtbC2y7IumwqvHC NSALGa9jttAAG321+lvFfXMHX5xBauTJmeVppnRvwTAUIVxMfBVZlwnT7RFE7QvfzxdWXC5nM qaFQO/EFCYQShUwSpY0+XR94r3Qar2gvLS3lGsau3VwjgBuMEcpfqThdn3yEGaN8T94+jBFe/ XsNsZFe63DRGFJlpILLULz43FEzNAcyMolnQBMv7XS66FDbgGmsp7uvzV8/ykJf15CMpupESP Yo0rICMrbIYy3hYS8i1jOJ1h3qrAOxBWa2MK/72eMm6G40OSLXgx60wbKIKLwlopNyVssyYMw 1r/a0kNNHc/RTd09NGJMr2mq09raypoNXz2EYVUHu/zYw=
Christian Zietz schrieb:
- According to my "git bisect" the breaking commit within Hatari is:
commit eb4467638e926af2c3d9b4e23da9917fbbf1d2d6
Author: Nicolas Pomarède <npomarede@xxxxxxxxxxxx>
Date: Tue Sep 19 22:36:28 2023 +0200
I suppose the problem lies somewhere here:
https://github.com/hatari/hatari/commit/eb4467638e926af2c3d9b4e23da9917fbbf1d2d6#diff-b285c31d41bc9b04586496a1ee1f4ae69b738da8f018aa512f844c7faf41a3d4R3291.
The vector number (in this case for the Timer C IRQ) is put into "nr",
but later on, the original value saved in "vector_nr" is used to lookup
the exception vector, essentially incorrectly making this interrupt an
autovector interrupt.
Note that the code uses "nr" and "vector_nr" in multiple places. I did
not check if there are other places where one of the variables is used
incorrectly.
Regards
Christian
--
Christian Zietz - CHZ-Soft - czietz@xxxxxxx
WWW: https://www.chzsoft.de/
New GnuPG-Key-ID: 0x8708B34C827B159E