Code Monkey home page Code Monkey logo

shooshx / corewars8086_js Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 11.0 10.81 MB

A JavaScript version of corewars8086 from codeguru xtreme

Home Page: https://shooshx.github.io/corewars8086_js/war/page.html

License: GNU General Public License v2.0

Java 7.65% Makefile 1.11% C 39.11% Perl 2.30% Shell 0.10% M4 0.07% PostScript 0.10% CSS 0.30% Assembly 15.47% Slash 0.09% Batchfile 0.04% AGS Script 0.12% Roff 0.23% NSIS 0.20% Python 0.03% HTML 0.22% sed 0.01% JavaScript 32.84%
assembly

corewars8086_js's Introduction

Hi there ๐Ÿ‘‹

Corewars8086 in the browser: [repo] [live]
Happy Cube Solver [repo] [live]
Node based geometry editor (WIP) [repo] [live]
Video frame grabber [repo] [live]
Topographic vector images from 3d modes [repo] [live]
Maze Balls - A metaphor for human relationships [repo] [live]
CycleBlob - A WebGL game [repo] [live]
Turn an image to a hilbert curve [repo] [live]
Board-Pass barcode generator [repo] [live]
A tiny Pyhon VM in C++ [repo]
2D terrain navigation (C++)(abandoned) [repo] [live]
A minimal WebGL demo page [repo] [live]
libDRD - A simple DirectDraw wrappper [repo]

corewars8086_js's People

Contributors

shooshx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

corewars8086_js's Issues

UI bug with long last line

code:

PUSH DS
POP ES
MOV DI, AX
MOV AX, 0xCCCC
again:
STOSW
ADD WORD DI, 0xB
JMP agaijjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj

without newline at the end

CS Live editing was removed?

A few months ago it was possible to edit the CS by clicking on a byte in the arena and start typing. Was it removed?

`sw x1, 128(x2)` unexpected behavior

This command should write the contents of x1 into the address that comes 128 bytes after the address x2 point to, but instead, it writes it exactly to the address x2 points to.

I also tried to use 64 instead of 128 but the same behaviour was observed.

Macros are not supported

When debugging, macros are not shown correctly.
For example:
image

Will be shown as:
image

Note: the instructions are executed but it's just shown as 0xCC.

ื‘ืขื™ื” ื‘ื”ืขืœืืช ืงื‘ืฆื™ื ืžืงื•ืžืคืœื™ื

ื›ืฉืžืขืœื™ื ืงื•ื‘ืฅ ืžืงื•ืžืคืœ ื”ื“ื™ื‘ืื’ืจ ืขื•ืฉื” ืœื• ื“ื™ืงื•ืžืคื™ืœืฆื™ื” ื•ืžืจื™ืฅ ืื•ืชื• ื‘ืชื•ืจ ืงื•ื“ ืฉื•ื ื” ืžื”ืงื•ื“ ืžืงื•ืจ (ื‘ืœื™ ื“ื™ืคื™ื™ื ืก ื•ื›ื•') ื‘ื ื™ื’ื•ื“ ืœื“ื™ื‘ืื’ืจ ืฉืœ ืงื•ื“ ื’ื•ืจื• ืฉื‘ื• ืืคืฉืจ ืœื”ืจื™ืฅ ืงื•ื“ื™ื ืžืงื•ืžืคืœื™ื.

Enhancement: Simple tutorial

IMHO a simple, interactive user friendly, step-by-step tutorial (Something you can give a middle-schooler who has minimal experience with programming and he'll be able to find his way around the simulator and create a basic survivor) will provide a lot of value to this simulator.

Perhaps we can use something like https://introjs.com/ or https://tourjs.github.io/tour/

Debugging Issue, urgent!

image
while debugging - I cannot see the instruction being executed, nor can I view the code I debug, (the address in the arena in the disassembly window start with 0000, and I cannot view the code of the survivors/zombies).
Thanks

Incorrect assembly & disassembly of ADD when MOD == 0

The instruction set of "ADD [disp], reg" (e.g. "ADD [0x50], AL") is compiled as "00โ€ฏ06โ€ฏ50โ€ฏ00โ€ฏ" instead of "00 05 50 00 00 00".
An ADD instruction where the reg or rm is only a displacement without a register should have the rem section set to 101 (binary), not 110. (Reference: x86 Encoding Add edx, displacement )

I think the bug arises from this function:

private String getMem8() throws DisassemblerException

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.