experimental/stars_hud.s

Download file

Release 2026-11-04-r2 · SHA256 6ca89995f035653f76a512cf129df81035efb6986c88ca122033e20ae383c3cc · Click a line number for a direct link.

1| Original Stars entry at18514: clean owned HUD BEFORE native panel drawing.2| Preserve all original registers/CCR except the displaced BSET's original Z.3 .text4 .globl _start5_start:6 movem.l %d0-%d7/%a0-%a6,-(%sp)7 move.w %sr,-(%sp)8 btst #7,0xFFFFC2EA9 bne.s already10 jsr 0x2ED00811 jsr 0x2E002812 move.w #0xA507,0xFFFFF73813 clr.w 0xFFFFF73C14 .if WITH_REFINEMENTS15 tst.w 0xFFFFF0A0                   | the accepted native tied-OT shootout winner16 beq.s score_ready17 | The normal goal handler never ran for the SO decider. Retire the native18 | no-score-redraw bit and redraw the compact board from the REAL final goals.19 | No score, scorer, period, goalie or season accounting is changed here.20 bclr #0,0xFFFFC2F021 jsr 0x12C0422score_ready:23 .endif24already:25 move.w (%sp)+,%sr26 movem.l (%sp)+,%d0-%d7/%a0-%a627 bset #7,0xFFFFC2EA28 rts29