Page 1 of 2
Simulating NXC Code?
Posted: 16 Nov 2010, 12:32
by oniric85
Hi all, I'm new here. I've been looking all around the web for a NXT simulator so I could run my NXC code without the brick ( which I don't own myself ). Is there some way to try the code on a PC?
Thank you!
Re: Simulating NXC Code?
Posted: 16 Nov 2010, 12:53
by borntoown
Try the code means to test it? No, i dont think so.
But if it means to view it, yes, notepad.
Re: Simulating NXC Code?
Posted: 16 Nov 2010, 14:06
by oniric85
Yes, I would like to test it.
Re: Simulating NXC Code?
Posted: 16 Nov 2010, 18:46
by mattallen37
You want a virtual NXT. There is not one for NXC. I think there is one for ROBOTC though, but I am not positive.
Re: Simulating NXC Code?
Posted: 16 Nov 2010, 22:11
by HaWe
RobotC only got a runtime debugger, that's nice (I wish NXC got it, too), but that's all.
Re: Simulating NXC Code?
Posted: 17 Nov 2010, 23:51
by penguinplus
I'm on a Fll team and we needed the same thing. We would need a simulator for nxt-g but a simulator for the byte code would be nice because it would work for every code.
Re: Simulating NXC Code?
Posted: 24 Nov 2010, 04:59
by nxtboyiii
I really wish there was a virtual NXT.
Sometimes I am too lazy to get it out.
Re: Simulating NXC Code?
Posted: 24 Nov 2010, 09:42
by rghansen
I've been doing most of my NXC development work lately with a simple NXT simulator. It wouldn't be suitable for all projects and some assembly would be required for each new project.
You can find the sources and the makefile under "stonehenge" on Mindstorms project forum.
If you have any questions, let me know.
Re: Simulating NXC Code?
Posted: 24 Nov 2010, 17:32
by nxtboyiii
NXT Simulator??
What is the "makefile" for?
I was thinking of a simulator that looks like the application "NXT Screen" and can run .rxe files that just use the NXT brick and touch sensors. Then someone could add onto it by adding sensors.
Re: Simulating NXC Code?
Posted: 24 Nov 2010, 17:59
by mightor
A Makefile is like a batch file for building systems. You will most likely need a C compiler and binutils and the whole shebang.
- Xander