; Defines for APP-II routines ; Description: Set up RS232 port (19.2K baud) ; Call with bank= 0 ; Returns with bank= 0 SerialSetup EQU 0x0F03 ; Description: Send data in W to RS232 ; Call with bank= Any ; Returns with bank= 0 SerialTransmit EQU 0x0F14 ; Description: Read character from RS232 to W (waits) ; Echos character back to sender ; Call with bank= Any ; Returns with bank= 0 SerialReceive EQU 0x0F0E ; Description: Write byte at FSR to RS232 as ASCII hex ; Call with bank= Any ; Returns with bank= 0 Hexout EQU 0xF1A ; Description: Writes least significant 4 bits of W out as ASCII hex ; Call with bank= Any ; Returns with bank=0 Hexout0 EQU 0xF1D ; Description: Delays # of cycles in W (11 to 255) ; does not count time to load W or PCLATH, if necessary ; Call with bank= Any ; Returns with bank= No change Delay EQU 0xF23 ; Description: Writesdata at EEDATH:EEDATA to EEADRH:EEADR ; (Flash memory) ; Call with bank= 2 ; Returns with bank= No change FlashWrite EQU 0xFBF ; Description: Read word from EEADRH:EEADR to EEDATH:EEDATA ; (Flash memory) ; Call with bank= 0 or 2 ; Returns with bank=2 FlashRead EQU 0xFCA ; Description: Read a hex byte from RS232 to W & location 0x20 ; Call with bank=Any ; Returns with bank=0 ; warning routine uses ; RAM 0x20 GetHexByte EQU 0xFAD