»Und jetzt fängt der Simulator auch noch an zu spinnen, gibt mir falsche Informationen. Wie soll ich da die Männer führen?«»Der Simulator macht was?«, fragte. Spidersimulator ist ein Action- und Abenteuerspiel, in dem Sie als Spinne in der Stadt spielen. Ihr Ziel ist es, alles interaktiv zu zerstören und auch die Bürger zu. Simulieren und optimieren von Trockenspinnprozessen · Virtuelles Spinnen im Projekt VISPI · Simulation von Meltblown-Prozessen. Kontakt.
Spinnen Simulator»Und jetzt fängt der Simulator auch noch an zu spinnen, gibt mir falsche Informationen. Wie soll ich da die Männer führen?«»Der Simulator macht was?«, fragte. Paluten: Der SPINNEN Simulator - #Paluten #YouTube #LetsPlay #LetsPLEX «Jetzt ansehen unter northforkairport.com». Simulieren und optimieren von Trockenspinnprozessen · Virtuelles Spinnen im Projekt VISPI · Simulation von Meltblown-Prozessen. Kontakt.
Spinnen Simulator Quick Links VideoDer SPINNEN Simulator
I'll transate the system time into a cnt value at some point. Pin-related operations don't really do anything. I also haven't implemented the bit read and write functions.
The simulator runs in a DOS window on a Windows machine. Extract the zip file into a convenient directory, such as the desktop. Start up a DOS window, and go into the spinsim directory.
Run "spinsim hello. Run "spinsim demo. Try the "type hello. You can also get a listing of the bytecodes as they are executed. This is done with the "-l" option.
The simulator can run the first N instructions by specifying the number of instructions, such as for the first 20 instructions. Try running "spinsim -l hello.
The simulator looks at these locations after executing each instruction, and it performs the specified command. I used the same mnemonics that I used with the spasm spin bytecode assembler.
Most of the mnemonics are fairly intuitive, except for maybe the memory access ones. There are four types - ld Memory addressing is done relative to the object base, variable base, local stack base or an absolute addess -- these are specified with the letter o, v, l or a.
Memory access sizes are either byte, word or long, which is specified with the letter b, w or l. As an example, a word can be loaded from the local stack area with a "ldwl" instruction LoaD Word Local.
A byte can be stored in the variable area with a "stbv" instruction STore Byte Variable. The indexed mode can be specified by appending an "x" to the instruction, such as "ldwlx" and "stbvx".
The first 8 longs in the local stack and variable areas can be accessed with a compact opcode by appending a "c" character, such as "ldllc" and "stlvc" LoaD Long Local Compact, and STore Long Variable Compact.
I'll write up a more complete description of the mnemonics later on. Let me know if you have any questions or comments.
Seems to work fine on Windows cmd shell. Any chance to test this with wine on linux? I tried, but console IO fails. When you have cognew and friends, I'll test it with my SPIN debugger When it can run Sphinx, we'll have an open source solution if you publish the source.
Memory addressing is done relative to the object base, variable base, local stack base or an absolute addess. Once I sweep all the cog-specific variables into a struct it should be pretty easy to implement 8 instances of the simulator.
That will allow the capability of doing a cognew. It should be possible to run Sphinx under the simulator once I've added all the file support.
The memory pointers in the Spin interpreter are all bit longs. These are pbase, dbase, vbase, pcurr and dcurr.
However, the interpreter currently uses bit words for in the method table and the stack frame. These would have to be increased in size to make it work for larger hub RAM, like the Prop 2 will have.
With external memory, every memory access will have to be checked to see if it's referencing hub RAM or external RAM. Most operations use the stack, so it would be reasonable to require that the stack is always in hub RAM.
Memory accesses could be localized to a few small routines, so it would be fairly easy to control which RAM is being accessed.
The tough part is fitting it in a single cog. I think SpinLMM could be extended further so that external memory routines could be added.
But most the addresses in an object are jumps not absolute addresses so there is still a reasonable chance it will work. However, I couldn't get it to compile conio.
I had to add a unixy kbhit and getch in conion. Here's what I have if you want to incorporate changes so I don't have to hack it again.
Added a simple Makefile. I take it there is no PASM interpreter? There are a few floating around that can be added Thanks and Merry Christmas.
Michael, codegen generated the messages shown below. I'll post the modified Sphinx source once I clean it up.
I hacked it up a bit to get it to work. TOK Pass 1 Pass 2 Syntax error unexpected 13,25 ' EOL ' Steve, I'll look at the changes you made for linux, and I'll make sure I keep them in.
Yes, there is no PASM interpreter in spinsim. That was intentional, but I may have to add one in at some point.
I did a bit more work on the spin simulator, and I was able to get sphinx to run on it. I found several bugs in the math ops in spinsim and fixed them.
The updated files are in the attached zip files. The sphinx directory contains three subdirectories like Michael Park had. These files implement sphinx command line program and the various portions of the sphinx Spin compiler -- lex, codegen and link.
I added a program called loader that is used to load programs. I seem to run out of memory when linking this file. Run "spinsim sphinx. Steve, I didn't get around to merging your linux changes.
Monster Simulator. Business Simulator. Gabelstapler Simulator. Demolition Derby Simulator. Auto Einparken Simulator.
Robot Spider Transformation. Date Simulator Extreme. Monster Dragon City Destroyer. Days of Monsters. Spider Solitär.
Fancy Pants Adventure 2. Spiderman: Spinnen Krieger. Spider Stickman. Fancy Pants 3. Fancy Pants Adventure World 1 Remix. Spider Stickman 2.
Spinnen Simulator. Spiderman Kiss. Spider Solitär 2 Farben. Epic Celeb Brawl: Spider-Man. Spider Stickman 7. Bouncy Stick. Stick Duel: Medieval Wars.
Falling Down Stairs. Parrot Simulator. Mandala Coloring Pages. Idle Lumberjack 3D. Snowball Kickup.