Go to Post A good robot with great strategy beats a great robot with good strategy. - Brian Maher [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-07-2002, 12:16
Unsung FIRST Hero
Matt Leese Matt Leese is offline
Been-In-FIRST-Too-Long
FRC #1438 (The Aztechs)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1998
Location: Long Beach, CA
Posts: 937
Matt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond repute
Send a message via AIM to Matt Leese
emulationFIRST v0.02

I've just released emulationFIRST v0.02. The main features of this release include generous code cleanups, a rewrite of the pre-parser (ie, the stuff that happens before it gets to the real parser), and actual comments in the code (for those of you following along at home). As far as added features, GOTO's actually work this time. Sorry about it before but it pretended like it was GOTO'ing right away when it actually wasn't. There also is support for GOSUB and RETURN. There also is support for PUT and SET and scratchpad RAM. Finally, the BRANCH command has been added. Please test it out and give me whatever feedback you can. I'd actually like to know if people find it useful or not (or will if there is feature x; please specify what feature x is).

The new version can, as always, be found here: http://www.rit.edu/~msl8101/emulationFIRST/

In the next release I hope to have multiple program slots working (it requires a bit of a rewrite of some parts of the code as well as some investigation as to how Parallax likes to lay out variables in memory). I also hope to have a beginning of a GUI by the next release but don't expect too much.

Matt
  #2   Spotlight this post!  
Unread 01-07-2002, 22:44
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,604
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
umm...

It segfaults when I run it in linux (and my dad says it performs an illegal operation in windows). It does it even on the default program.

I tried compiling it with GCC 2.96-110 and the binary as well, with the same results.
  #3   Spotlight this post!  
Unread 02-07-2002, 09:02
Unsung FIRST Hero
Matt Leese Matt Leese is offline
Been-In-FIRST-Too-Long
FRC #1438 (The Aztechs)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1998
Location: Long Beach, CA
Posts: 937
Matt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond repute
Send a message via AIM to Matt Leese
This is strange. It works perfectly for me in both Windows and Linux. That said, I know there are some memory issues and that could be the problem. Could you do me a favor and run it under gdb and tell me where it's segfaulting (if it's in malloc(), free(), or realloc(), then it's a memory error).

Matt
  #4   Spotlight this post!  
Unread 02-07-2002, 16:37
Unsung FIRST Hero
Matt Leese Matt Leese is offline
Been-In-FIRST-Too-Long
FRC #1438 (The Aztechs)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1998
Location: Long Beach, CA
Posts: 937
Matt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond repute
Send a message via AIM to Matt Leese
Bug fixed. See here: http://www.chiefdelphi.com/forums/sh...threadid=14000

Matt
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
emulationFIRST v0.09 Matt Leese Programming 4 18-07-2002 14:36
emulationFIRST v0.04 Matt Leese Programming 7 09-07-2002 08:54
emulationFIRST v0.03 Matt Leese Programming 7 03-07-2002 13:00
emulationFIRST (aka PBasic emulator) Matt Leese Programming 5 30-06-2002 12:06


All times are GMT -5. The time now is 04:38.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi