[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Does latest qemu (from git) still works with -M g3beige machine?
From: |
Andrew Randrianasulu |
Subject: |
Re: Does latest qemu (from git) still works with -M g3beige machine? |
Date: |
Sun, 24 Nov 2019 20:27:16 +0300 |
User-agent: |
KMail/1.9.10 |
В сообщении от Sunday 24 November 2019 19:12:19 Laurent Vivier написал(а):
> diff --git a/hw/misc/mos6522.c b/hw/misc/mos6522.c
> index aa3bfe1afddd..715d60cf6447 100644
> --- a/hw/misc/mos6522.c
> +++ b/hw/misc/mos6522.c
> @@ -149,7 +149,7 @@ static void mos6522_timer1_update(MOS6522State *s,
> MOS6522Timer *ti,
> if (!ti->timer) {
> return;
> }
> - if ((s->ier & T1_INT) == 0 || (s->acr & T1MODE) != T1MODE_CONT) {
> + if ((s->ier & T1_INT) == 0 && (s->acr & T1MODE) != T1MODE_CONT) {
> timer_del(ti->timer);
> } else {
> ti->next_irq_time = get_next_irq_time(s, ti, current_time);
>
Yes, this workaround works, I can boot Finnix-ppc too!