view level1/modules/dwinit.asm @ 2720:482a547d5155 lwtools-port

Fixed so OP_DWINIT puts response in globals OP_SETTIME not sent unless response from OP_DWINIT from server is 128
author Boisy Pitre <boisy.pitre@nuance.com>
date Thu, 26 Jul 2012 12:19:43 -0500
parents 2a37d4530972
children ce3dba57003b
line wrap: on
line source

*******************************************************
*
* DWInit
*    Initialize DriveWire for CoCo Bit Banger

DWInit
			pshs		a,x
	ifdef PIA1Base
               ldx       #PIA1Base           $FF20
               clr       1,x                 clear CD
               lda       #%11111110
               sta       ,x
               lda       #%00110100
               sta       1,x
               lda       ,x
	endc
               puls		a,x,pc