🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.electronics
Article #11782

HC11 RTI

#11782
From: DI3QC
Date: Thu, 12 Nov 1992 06:14
16 lines
1379 bytes
     I am having problems setting up a real time interrupt. I would like the
interrupt that signals every 20ms or so. I am first setting RTII bit in TMSK2
register $1024. This I think enables the RTI interrupt. Then I am setting the
RTI vector $fff0 with the address of my routine. The first part of my routine
clears RTIF bit in TFLG2 $1025. Then I have my routine with it ending RTI. All
my interrupt routine does is count ten of these RTI and then sets a port where
I have an led connected. Then it turns the led off and resets count (a memory)
location to 0. This way I have a delay. My problem is while in PC BUG I get
locked out and the led doesnt light. I know I am not overwriting the PCBUG
talker and the led routine works fine. My problem is with the RTI. Any
suggestions would be great. Also does anyone have any suggestions to a lab
type manual with experiments to be conducted with an HC11. Well thanks.



                                                         Alex Jeannopoulos
Technical Details
Message-ID: <92317.011425DI3QC@CUNYVM.BITNET>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!crcnis1.unl.edu!news.unomaha.edu!news.mtholyoke.edu!news.byu.edu!yvax.byu.edu!cunyvm!di3qc

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!crcnis1.unl.edu!news.unomaha.edu!news.mtholyoke.edu!news.byu.edu!yvax.byu.edu!cunyvm!di3qc
Newsgroups: sci.electronics
Subject: HC11 RTI
Message-ID: <92317.011425DI3QC@CUNYVM.BITNET>
From: <DI3QC@CUNYVM.BITNET>
Date: Thursday, 12 Nov 1992 01:14:25 EST
Organization: City University of New York/ University Computer Center
Lines: 16