/* Map permanently ethernet memory from Y area to use. */
#include <vsrv.h>
	.sect data_y, ethernetmem
	.export _ethMemArea
	.org ETHRAM_START
_ethMemArea:
	.bss ETHRAM_SIZE

#if 0
	.sect code, ethfillrb
	.export _EthFillRb
	/*
	EthFillRB(
		register __a0 __mem_y u_int16 *current,
		register __b0 __mem_y u_int16 *start,
		register __i0 __mem_y u_int16 *wr,
		register __i1 u_int16 mod,
		register __c0 u_int16 words)
	*/
_EthFillRb:
	add c0, ones, c0; ldx (i6)+1, null
	stx i2, (i6); sty a0, i2
	jns $11
	sub b0, a0, b0;


$11:
	jr
	ldx (i6)-1, i2;
#endif
.end
