
DQ_Adr       EQU $F03E00      ; The start of DQ??.ABS (Dequantize table)
In_Adr       EQU $F03F40      ; Points to start of JAG data
Out_Adr      EQU $F03F44      ; Points to start of output area
Dehuff_Adr   EQU $F03F48      ; Points to start of DEHUFF.ABS
Out_Width    EQU $F03F4C      ; Width of the output space in blocks
Out_E_Width  EQU $F03F50      ; Encloded pixel width (#WID320 for example)
All_Done     EQU $F03F54      ; Contains: 1-In progress $12345678-Done

dj_done		equ	$12345678	;All_Done is set to this when dejag is finished

;-------------------
; GPU Memory usage |
;-------------------
; 3000
; 3999 Code

; 3A00
; 3A7F RGB Output block

; 3A80 DEJAG.BIN:   Free
; 3AFF DEJAG24.BIN: 2nd half of RGB Output block

; 3B00
; 3BFF Y work block 

; 3C00
; 3CFF Cb work block 

; 3D00
; 3DFF Cr work block 

; 3E00
; 3F3F Dequantize table

; Dejag.inc (same as above)
; In_Adr        EQU $F03F40      ; Points to start of JAG data
; Out_Adr       EQU $F03F44      ; Points to start of output area
; Dehuff_Adr    EQU $F03F48      ; Points to start of DEHUFF.ABS
; Out_Width     EQU $F03F4C      ; Width of the output space in blocks
; Out_E_Width   EQU $F03F50      ; Encloded pixel width (#WID320 for example)
; All_Done      EQU $F03F54      ; Contains: 1-In progress 0-Done

; Local vars
; Out_Curr_X    EQU $F03F58      ; Current X block of picture
; Out_Curr_Y    EQU $F03F5C      ; Current Y block of picture
; RGBDC_Vars    EQU $F03F60      ; 3-longs that containing 3 running DC values
; through        $F03F6F         ; Plus one long containing file format

; 3F70 
; 3FFF free
