| | NQC listing mnemonics
|
|
I have started looking at adding Scout support to NQC, and in the process I am questioning whether or not to change the mnemonics used in the disassembly listings (the -l option for nqc). Currently, I use a set mnemonics that I made up when writing (...) (25 years ago, 4-Dec-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: I've tried
|
|
(...) Just to make sure you're using the right compiler version, do the following: nqc >output.txt then post (or e-mail me) the contents of output.txt Also, see if it compiles the test.nqc program included in the distribution. Dave Baum (25 years ago, 3-Dec-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: converting Mac to PC and the Lego remote
|
|
(...) The problems you are seeing are differences between version 1.x and 2.x of the NQC language (not Mac/PC differences). Here are a few differences between 1.x and 2.x. This is by no means a comprehensive list, but it should at least allow you to (...) (25 years ago, 3-Dec-99, to lugnet.robotics.rcx.nqc)
|
|
| | I've tried
|
|
O'kay, I just must be really out of it today, because I know you guys are right, I just can't seem to get it right. I went this site: (URL) I chose Win32 - Although the compiler runs as a console command, it will not run under DOS since it uses (...) (25 years ago, 2-Dec-99, to lugnet.robotics.rcx.nqc)
|
|
| | thanks
|
|
Thanks for all the help I thought I had the newest version, but I guess not. I'll try the site and see what I come up with. thanks again. Jenny (25 years ago, 2-Dec-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: converting Mac to PC and the Lego remote
|
|
Hi Jenny, It sounds like you have two different versions of NQC. Make sure you get NQC 2 for both Mac and PC. Regards, Jonathan (...) (25 years ago, 2-Dec-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: converting Mac to PC and the Lego remote
|
|
(...) Dave Baum is right (and he wrote the language, so he should know :-). The language IS the same across environments. Your problem is a version one: you apparently have the older 1.x version of the compiler on the PC: upgrade it to 2.x and all (...) (25 years ago, 2-Dec-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: converting Mac to PC and the Lego remote
|
|
Yes I am just converting programs and no the language is not the same regardless of the enviornment. On a PC wait = until on a Mac, void does not compile, and several others. I recently received The Unofficial Guide to LEGO® MINDSTORMS™ Robots By (...) (25 years ago, 2-Dec-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: converting Mac to PC and the Lego remote
|
|
(...) I assume you want to move an NQC program (and not the compiler itself) from a Mac to a PC. If so, just copy the file. The NQC language is the same regardless of the environment it is used in (Mac, Windows, Linux, FreeBSD, OS/2...) Also, the (...) (25 years ago, 2-Dec-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: converting Mac to PC and the Lego remote
|
|
(...) I use mac_nqc and normal nqc quite happily. DW (25 years ago, 1-Dec-99, to lugnet.robotics.rcx.nqc)
|