Go to Post Of course just because there is are existing solutions to a problem does not mean there aren't better ones. - dtengineering [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 02-07-2002, 16:36
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.03

Given that there was a very embarassing bug in the last version, I've decided to release v0.03 early (ok, very early). However, this is not merely a bug fix release, it also is feature packed. Or it at least has a few notable features. First of all, memory handling has been rewritten. It now emulates the BS2sx better because it handles variable memory as one contiguous block of 32 bytes. It also allocates variables to memory in the same fashion that the BS2sx does (words first, then bytes, then nibbles, then bits; however, given the way the emulator works, it has to shift things about in memory on the fly). Because of the rewritten memory, there is now support for multiple program slots. Unfortunately, given the early release, there isn't even the beginnings of a GUI included. I will say however that my two top priorities for the next release will be EEPROM access (should be easy, just didn't get around to it) and a basic GUI.

Now, for getting multiple program slots to work, just add the additional program files (one per slot) on the command line in the order that you wish for them to appear in the slots. If you incorrectly order them or forget one, the emulator is likely to crash. This is a known problem and hopefully will spit out a nice error message for the next release.

As always, emulationFIRST is available here: http://www.rit.edu/~msl8101/emulationFIRST/

Matt
  #2   Spotlight this post!  
Unread 02-07-2002, 17:28
mtaman02's Avatar
mtaman02 mtaman02 is offline
FIRST's Spare, Queuer & Tech guy =)
AKA: Mike M. / Mouse =)
no team (FRC Volunteer)
Team Role: Alumni
 
Join Date: Jun 2002
Rookie Year: 2001
Location: Staten Island, NYC
Posts: 1,504
mtaman02 has a brilliant futuremtaman02 has a brilliant futuremtaman02 has a brilliant futuremtaman02 has a brilliant futuremtaman02 has a brilliant futuremtaman02 has a brilliant futuremtaman02 has a brilliant futuremtaman02 has a brilliant futuremtaman02 has a brilliant futuremtaman02 has a brilliant futuremtaman02 has a brilliant future
Send a message via AIM to mtaman02 Send a message via Yahoo to mtaman02
i have a question for you. you say it was designed for windows linux and such. which versions of windows does it work in i have it on my XP and refuses to stay open. Is it something that i did?
__________________
Past FIRST Robotics Events that I proudly volunteered at:
FLL: NY State Competition '03
FRC: NYC Remote Kickoff '04 & NYC Regionals '04-'15 ,'10-'13 & NJ Regionals '06-'10, Finger Lakes Regional '09 & SBPLI Regional '08-'15 and the World Championship in '05 (Galileo Field) '07 (Newton Field) '09 (Practice Fields Attendant / FTA(A)), CeBIT Convention in '04 & NextFEST in '06 both held @ the Javitts Center, Monty Madness '07-'10, Panda-monium '08, B.Eruption '08 & '09, Ramp Riot '08, PARC '09 & '10, BR^2 '09 & Wol. Inv. '09 -'15
2015 FIRST Robotics Off Season Events that I hope to volunteer at:
Where is Wolcott Invitational
2015 FIRST Robotics Events that I will be volunteering at:
SBPLI Reg. & Championships
Volunteer Resume:
Alt & Lead Team Queuer, Field Repair/Reset, Field Setup/Breakdown, Spare Parts Attendant, Field Power Controller/Score Keeper, Co-Emcee & Official Scorer, Control System Advisor, FIRST Tech Advisor Assistant & recently Practice Field Attendant.
  #3   Spotlight this post!  
Unread 02-07-2002, 18:27
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
It should work on Win XP. I've only ever tried it on Win 98. You probably are having a problem that at the moment it's a console only program (aka no GUI). You need to run it at a command prompt to get it to do anything. There will be a GUI added real soon now.

Matt
  #4   Spotlight this post!  
Unread 02-07-2002, 18:35
D.J. Fluck
 
Posts: n/a
Quote:
Originally posted by Team522 Captain
i have a question for you. you say it was designed for windows linux and such. which versions of windows does it work in i have it on my XP and refuses to stay open. Is it something that i did?
You better update your virus software and check that cuase there is some w95\Kuang virus "accidently" was put on the windows xp cd...that happened to me, id open a program and it wouldnt stay open...this only happened to some programs.

The virus is harmless, but its very anoying
  #5   Spotlight this post!  
Unread 02-07-2002, 18:36
Ian W. Ian W. is offline
College? What?
no team (Gompei and the Herd)
Team Role: College Student
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Worcester, MA | Smithtown, NY
Posts: 1,464
Ian W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to all
Send a message via AIM to Ian W.
in xp, you need to open up the command console from the start menu. find your way to the directory the emulationFIRST exe is in, and once your in that directory, type in emulationFIRST <filename>. doing that worked fine for me.
__________________
AIM --> Woloi
Email --> ian@woloschin.com
  #6   Spotlight this post!  
Unread 02-07-2002, 20:50
Unsung FIRST Hero
Nate Smith Nate Smith is offline
FRC Key Volunteer Trainer
AKA: CrazyNate
no team
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Old Town, Maine
Posts: 1,029
Nate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to behold
Send a message via AIM to Nate Smith Send a message via Yahoo to Nate Smith
Quote:
Originally posted by D.J. Fluck


You better update your virus software and check that cuase there is some w95\Kuang virus "accidently" was put on the windows xp cd...that happened to me, id open a program and it wouldnt stay open...this only happened to some programs.

The virus is harmless, but its very anoying
Looking at the description of the W95/Kuang virus and its variants, it doesn't sound like it causes this problem at all, unless the person controlling your system via the backdoor it opens was closing the programs...I don't see any notice at VIL of it being put onto the winXP cd...
__________________
Nate Smith
nsmith@smythsoft.com
12 seasons, 4 teams, and more time logged behind the scorekeeper's table than I care to remember...
returning for 2011? only time will tell...

Last edited by Nate Smith : 02-07-2002 at 20:54.
  #7   Spotlight this post!  
Unread 03-07-2002, 01:30
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Unhappy Still doesn't work

Using the following command line:
Code:
EmulationFIRST BeachBot2002.bsx BB2002MainLoop.bsx BB2002OutputData.bsx
produces the following error (without producing any console output):
Code:
This program has performed an illegal operation and will be shut down.

If the problem persists, contact the program vendor.

EMULATIONFIRST caused an invalid page fault in
module EMULATIONFIRST.EXE at 017f:00407e84.
Registers:
EAX=2079301d CS=017f EIP=00407e84 EFLGS=00010212
EBX=007930f8 SS=0187 ESP=0065fd48 EBP=00414dc0
ECX=2079301c DS=0187 ESI=2079301c FS=0f17
EDX=00000001 ES=0187 EDI=00793000 GS=0000
Bytes at CS:EIP:
88 11 3b c3 73 10 8b 37 8b 47 04 03 f2 2b c2 89 
Stack dump:
00412e58 00793000 00414dc0 00000001 00407c6e 2079301c 000000dc 00000001 00000000 00000010 00780670 007805f0 00412da8 0040474f 00000001 00000008
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me

Last edited by Greg Ross : 03-07-2002 at 01:32.
  #8   Spotlight this post!  
Unread 03-07-2002, 13:00
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
Apologies on the unworking copy. My first problem was not updating the links on the webpage (that was just plain stupidity). I've worked out the other problems. They were caused by me overrighting memory areas. It would crash sometimes but not all the time (for me at least). I used a memory debugger and fixed all the problems I could find. I want to do a release a bit later today as I'll be out of town until Sunday so no work on it until after then. And, everyone, thank you for your help with the debugging.

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.02 Matt Leese Programming 3 02-07-2002 16:37
emulationFIRST (aka PBasic emulator) Matt Leese Programming 5 30-06-2002 12:06


All times are GMT -5. The time now is 11:45.

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