header
lorom

org $0096E9

autoclean JSL MAIN
NOP #2

org $009759
autoclean JSL MAIN2

freecode

MainStart:
MAIN:
	STZ $420C	; Delete HDMA
	STZ $0D9F	; Delete HDMA

	STZ $13D5	; \
	STZ $13D9	; / Restore hijacked code

	RTL

MAIN2:
	STZ $420C	; Delete HDMA
	STZ $0D9F	; Delete HDMA

	JSL $7F8000	; Restore hijacked code

	RTL

MainEnd: