aboutsummaryrefslogtreecommitdiffstats
path: root/addon/sb_busmon
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2020-03-22 15:57:35 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2020-03-22 15:57:35 -0500
commit17aa3a945f4a13c79c8c874a76844add741537ed (patch)
tree873cf73aee6fb9ab9bd69d5c98a38ce8b758b08f /addon/sb_busmon
parentfe69a4be4c66813aef30d062897ba0d0bcd54103 (diff)
Add a program to read seconds from RTC at port C0
Diffstat (limited to 'addon/sb_busmon')
-rw-r--r--addon/sb_busmon/read_rtc.bas3
1 files changed, 3 insertions, 0 deletions
diff --git a/addon/sb_busmon/read_rtc.bas b/addon/sb_busmon/read_rtc.bas
new file mode 100644
index 0000000..9d5c19b
--- /dev/null
+++ b/addon/sb_busmon/read_rtc.bas
@@ -0,0 +1,3 @@
+1 REM Set bus monitor RD and IR to high
+10 X=INP(&HC0)
+20 GOTO 10