	.nlist
  .ifndef __fdc_equ__
__fdc_equ__	equ	1

;----------------------------------------------------------------
;
;	FDC/FDD
;
;----------------------------------------------------------------

;FDC僗僥乕僞僗/僐儅儞僪
;	RQM|DIO(OUT/IN)|NDM|CB|D3B|D2B|D1B|D0B
FDC_STATUS		equ	$00E94001
FDC_RQM_BIT		equ	 7
FDC_RQM_MASK		equ	%10000000	;RQM
FDC_DIO_BIT		equ	  6
FDC_DIO_MASK		equ	%01000000	;DIO丅0=OUT,1=IN
FDC_NDM_BIT		equ	   5
FDC_NDM_MASK		equ	%00100000	;NDM
FDC_CB_BIT		equ	    4
FDC_CB_MASK		equ	%00010000	;CB
FDC_D3B_BIT		equ	     3
FDC_D3B_MASK		equ	%00001000	;D3B
FDC_D2B_BIT		equ	      2
FDC_D2B_MASK		equ	%00000100	;D2B
FDC_D1B_BIT		equ	       1
FDC_D1B_MASK		equ	%00000010	;D1B
FDC_D0B_BIT		equ	        0
FDC_D0B_MASK		equ	%00000001	;D0B

;FDC僨乕僞/僐儅儞僪
FDC_DATA		equ	$00E94003

;FDD忬懺/婡擻
;	憓擖|岆憓擖|------
FDD_STATUS		equ	$00E94005	;FDD忬懺
FDD_INSERTED_BIT	equ	 7
FDD_INSERTED_MASK	equ	%10000000	;憓擖
FDD_INCORRECT_BIT	equ	  6
FDD_INCORRECT_MASK	equ	%01000000	;岆憓擖
;	揰柵|攔弌嬛巭|攔弌|-|慖戰####
FDD_FUNCTION		equ	$00E94005	;FDD婡擻
FDD_BLINK_BIT		equ	 7
FDD_BLINK_MASK		equ	%10000000	;揰柵
FDD_PROHIBIT_BIT	equ	  6
FDD_PROHIBIT_MASK	equ	%01000000	;攔弌嬛巭
FDD_EJECT_BIT		equ	   5
FDD_EJECT_MASK		equ	%00100000	;攔弌
;				     3210
FDD_SELECT_MASK		equ	%00001111	;慖戰####

;FDD慖戰
;	儌乕僞ON|--|2DD|--|僪儔僀僽##
FDD_CONTROL		equ	$00E94007	;FDD慖戰
FDD_MOTOR_BIT		equ	 7
FDD_MOTOR_MASK		equ	%10000000	;儌乕僞ON
FDD_2DD_BIT		equ	   5
FDD_2DD_MASK		equ	%00100000	;2DD
;				       10
FDD_DRIVE_MASK		equ	%00000011	;僪儔僀僽##

  .endif  ;__fdc_equ__
	.list
