1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2026-04-21 01:16:46 +00:00

Added functions to module 'stdiox'

This commit is contained in:
Curtis F Kaylor
2018-07-27 14:11:39 -04:00
parent 27b3636901
commit ca3723e2a9
6 changed files with 65 additions and 27 deletions
+12
View File
@@ -1,5 +1,17 @@
; C02 library stdiox.h02 assembly language subroutines
ANYKEP: DC "Press any key to continue...",0
ANYKEY: JSR NEWLIN ;Start at Beginning of Next Line
LDY #>ANYKEP ;Load Prompt High Byte
LDX #<ANYKEP ;Load Prompt Low Byte
;Drop into GETCPR
;Display Prompt and Wait for Character
GETCPR: JSR PUTLN ;Print Prompt
JSR NEWLIN ;Generate Blank Line
JMP GETC ;Wait for and Return Keypress
;Print Byte as Left Justified Decimal Number
;void putdel(b)
;Args: A = number to print