;*** LOADER V2 ***
;for compressed main

nolist
org #C000
write "bin/faceA/main.exe"
;run entry_point

.entry_point
	di

	;xor A	;debug
	ld (current_drive),A

	ld BC,#7F8C+1	;mode 1 + no ROM
	out (C),C

	ld HL,main
	ld DE,0
	call deexo

current_drive EQU $+1	;restore drive
	ld A,0

	rst 0	;run baby , run !


;include exomizer
read "deexo.asm"

;main code
.main
	incbin "bin/main.raw"

list
;/EOF