;*************************************** ; M62 BIOS Routine Entry locations ;*************************************** ; Address for routines available in the BIOS ; Standard I/O Routines PUTC: .EQU $0070 ; Write Character from A to standard output PUTS: .EQU $0073 ; Write ASCIIZ String pointed to by HL to standard output GETC: .EQU $0076 ; Read Character from standard input into A TO_UPPER: .EQU $0079 ; Make the lower case character in A upper case PRINT_NEW_LINE: .EQU $007C ; Send new line characters (CR+LF) to standard output CHAR_ISHEX: .EQU $007F ; C Flag is set if the character in A is hex GET_HEX_NIB: .EQU $0082 ; Get single hex digit, store in lower nibble of A from standard input GET_HEX_BYTE .EQU $0085 ; Get hex byte, stores in A from standard input GET_HEX_WORD: .EQU $0088 ; Get hex word, stores in HL from standard input PRINT_HEX_NIB: .EQU $008B ; Send hex character of lower nibble of A to standard output PRINT_HEX_BYTE: .EQU $008E ; Send hex character pairs of value in A to standard output PRINT_HEX_WORD: .EQU $0091 ; Send 4 character hex word in HL to standard output ; UART Routines UART_INIT: .EQU $0094 ; Set baud rate and line protocol. UART_PRNT_STR: .EQU $0097 UART_TX_RDY: .EQU $009A ; UART5 BIT 5. UART_TX: .EQU $009D UART_RX_RDY: .EQU $00A0 ; UART5 BIT 0. UART_RX: .EQU $00A3 ; I/O Specific values UART_BASE .EQU $08 ; Base address for the UART ; Other values EOS: .EQU $00 ; Null Character (End Of String)