Re: [hatari-devel] Upstream / downstream code in Hatari |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: Nicolas Pomarède <npomarede@xxxxxxxxxxxx>, hatari-devel@xxxxxxxxxxxxxxxxxxx, Thomas Huth <th.huth@xxxxxxxxx>, Andreas Grabher <andreas_g86@xxxxxxxxxx>
- Subject: Re: [hatari-devel] Upstream / downstream code in Hatari
- From: Eero Tamminen <oak@xxxxxxxxxxxxxx>
- Date: Thu, 21 Aug 2025 17:15:50 +0300
- Dkim-filter: OpenDKIM Filter v2.11.0 smtp.dnamail.fi 5C3A44098E84
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=helsinkinet.fi; s=2025-03; t=1755785750; bh=681EBr5iZYWKYOQlsPBD2E7XN5XHh25qdIvDzP2fDs0=; h=Date:Subject:To:References:From:In-Reply-To:From; b=KwWf1mh6N6V2xeVSHKIsuqf4dSQ1i9xLTV6XsQtC28+qRjh+qGkK7TIqY1m5kFKhI 6R85ihrv1YI2AcaHu48BqeBpnpoYom6VikNWLl2tjETcW2RnJkZvSw08Onem9yjpeN iSLQhC2wfeCkv/XgO3NC3vPWaDQdHraFl4r7NxG8ajSiqeoH9cE9S74M219MVclYAO awoKkee/+0WVp1BhSkt2z2DZOJ39MiCvvXVkze3b7CXNGarjVULvLdDerpkrWtVzjf vUvuYUA132qXqROtHmTZP5dGItpY9g09RVihqb9Qoc1e+ydCUoTlzNUBNQHZRuYxfv dvHnGAIZFhr+g==
Hi,
On 21.8.2025 16.46, Nicolas Pomarède wrote:
Le 21/08/2025 à 15:35, Eero Tamminen a écrit :
Before it's applied, I'd like to know which parts of Hatari are:
- Used as-is
- Modified
- Ignored
In Previous, so that I can document both upstream[1] and downstream[2]
project considerations in Hatari "coding.txt". Andreas?
[1] Nicolas, currently only WinAUE CPU core code is used as-is, i.e.
code to that should go through WinUAE, right?
yes, that's the preferred way to do change in the CPU core, especially
when it's syntax/compilation warnings, as such changes usually benefit
to WinUAE too.
This makes it easier later to merge changes from WinUAE into Hatari by
limiting the number of possible differences.
There're also some cases where change are more Atari specific (eg bus
error cases, timing of vectored vs autovectored interrupts, ...) and
adding the changes to WinUAE require more work from Toni because it's
hard to test/replicate in Amiga environment. In such cases I sometimes
modify CPU core in Hatari directly, while waiting for a possible
inclusion in WinUAE (or not if it's really too Atari specific :) )
So rule for "coding.txt" could be something like this:
----
Changes to '*.[ch]' files under src/cpu/ should go through WinUAE
upstream project, unless change is inside WINUAE_FOR_HATARI ifdef.
---
- Eero