To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.pbforthOpen lugnet.robotics.rcx.pbforth in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / pbFORTH / 53
52  |  54
Subject: 
FW: IR mode
Newsgroups: 
lugnet.robotics.rcx.pbforth
Date: 
Tue, 11 May 1999 16:36:17 GMT
Viewed: 
1574 times
  
-----Original Message-----
From: John Cooper [mailto:robots@jpsc.co.uk]
Sent: Thursday, May 06, 1999 6:07 AM
To: Ralph Hempel
Subject: IR mode


Have you had any thoughts about IRMode() yet?

Not yet. I've GOT to get MARKET going and then implement my changes for
compacting the image.

I wonder if these will work?

;------------------------------------------------------------------------------
; IRMODE_HI ( -- )

M_CODE(9,``"IRMODE_HI"'',IRMODE_HI,_SLINK)

       MOV.W  rTOS,@-rDSP        ; Save the TOS
       MOV.W  #0x1770,rTOS       ; Set up the flag

       MOV.W  #0x3250,rA
       JSR    RCXcall1
       MOV.W  @rDSP+,rTOS        ; Restore the TOS

       M_NEXT()

;------------------------------------------------------------------------------
; IRMODE_LO ( -- )

M_CODE(9,``"IRMODE_LO"'',IRMODE_LO,_SLINK)

       MOV.W  rTOS,@-rDSP        ; Save the TOS
       MOV.W  #0x1770,rTOS       ; Set up the flag

       MOV.W  #0x3266,rA
       JSR    RCXcall1
       MOV.W  @rDSP+,rTOS        ; Restore the TOS

       M_NEXT()

;------------------------------------------------------------------------------

--
John Cooper, Wallington, UK



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR