; C02 library test.h02 assembly language subroutines ; Requires external routines NEWLIN, PRBYTE and PUTS ; external zero page locations SRCLO and srchi ; and external locations TEMP0, TEMP1, and TEMP2. ; and external constants #TRUE and #FALSE ;Predefined Strings PASS DC " Pass",0 FAIL DC " Fail",0 ;putadr(&addr) - PUT ADdRess to screen ;Args: Y = Address MSB ; X = Address LSB ;Calls: PUTS = Put String ; PRBYTE = Print Byte ; SAVRXY = Save X and Y Registers ;Affects: A,Y,X,N,Z,C PUTADR: JSR SAVRXY ;Save Address LDY #>PUTADS ;Load String MSB LDX #PASS ;Load Pass Message MSB LDX #FAIL ;Load Fail Message MSB LDX #