PDA

View Full Version : emulationFIRST v0.03


Matt Leese
07-02-2002, 04:36 PM
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

mtaman02
07-02-2002, 05:28 PM
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?

Matt Leese
07-02-2002, 06:27 PM
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

D.J. Fluck
07-02-2002, 06:35 PM
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

Ian W.
07-02-2002, 06:36 PM
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.

Nate Smith
07-02-2002, 08:50 PM
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...

Greg Ross
07-03-2002, 01:30 AM
Using the following command line:

EmulationFIRST BeachBot2002.bsx BB2002MainLoop.bsx BB2002OutputData.bsx

produces the following error (without producing any console output):

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

Matt Leese
07-03-2002, 01:00 PM
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