;
; *** Listing 8-11 ***
;
; Sets the BIOS equipment flag to select an 80-column
; color monitor.
; Uses accumulator-specific MOV, AND, and OR instructions.
;
	call	ZTimerOn
	rept	1000
	sub	ax,ax
	mov	es,ax		;point ES to the segment at 0
	mov	al,es:[410h]	;get the equipment flag
	and	al,not 30h	;mask off the adapter bits
	or	al,20h		;set the adapter bits to select
				; 80-column color
	mov	es:[410h],al	;set the new equipment flag
	endm
	call	ZTimerOff
