Am Tue, Apr 04, 2023 at 08:30:51AM +0000 schrieb Emmanuel Dreyfus: > Debugging what happens after that is more tricky. This is assembly > code, I am not sure I can printf from there. I try to make the > machine reboot at startprog64() start to see if I just reach that > place.
Look for beep_on_reset in the ACPI wake code. If your machine has a PC speaker emulated, that might be the easiest option: movb $0xc0,%al outb %al,$0x42 movb $0x04,%al outb %al,$0x42 inb $0x61,%al orb $0x3,%al outb %al,$0x61 Joerg