To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 3387
3386  |  3388
Subject: 
Re: NQC - ASM command
Newsgroups: 
lugnet.robotics
Date: 
Tue, 2 Feb 1999 02:11:55 GMT
Viewed: 
1085 times
  
In article <4.1.19990130173405.00a83cd0@mail.cmpu.net>, Joel Shafer
<joelshaf@computek.net> wrote:

What functionality does the ASM statement give?

Does it allow you to directly specify firmware opcodes or is it lower level
than that?


asm allows you to put literal RCX bytecodes in your program.  Most of the
'functions' in NQC are actually just macros that expand to asm statements
in rcx.nqh.

There are two things that I would like to do.  One is to have direct access
to the speaker, and the other is to be able to read from the datalog from
within the program.  Of course both of these may be impossible with the
current firmware.

To my knowledge, you can't to either of these from rcx bytecodes.  Sound
is limited to a bunch of preset sounds and a single note of user specified
frequency/duration.

From a program's perspective, the datalog is write-only.

Dave

--
reply to: dbaum at enteract dot com



Message is in Reply To:
  NQC - ASM command
 
What functionality does the ASM statement give? Does it allow you to directly specify firmware opcodes or is it lower level than that? There are two things that I would like to do. One is to have direct access to the speaker, and the other is to be (...) (26 years ago, 30-Jan-99, to lugnet.robotics)

2 Messages 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