Core War

These files might not work on the most current version of the Commander X16, or these may be held over from the previous forum. To find previous versions of the emulator, so you can test old programs, please visit Our GitHub Page
Post Reply
rje
Posts: 1263
Joined: Mon Apr 27, 2020 10:00 pm
Location: Dallas Area

Core War

Post by rje »


This is a proof of concept of a Core War VM for the X16.




It implements all ICWS'88 opcodes (plus a couple extra); as proof of concept it runs many of the "historical" redcode programs from that period.  It has a PETSCII arena view which follows colorized redcode programs.  Up to 8 programs may run at a time, and each may have up to 8 processes.




It does not handle operand expression math.




The project is here: https://github.com/bobbyjim/x16-corewar



title screen.png


Updated with a simple demo mode.




* * *




1988 opcodes and modes supported.




Core size is 16,000.




Several redcode warriors included.




Command-line interface has step capability and can directly write instructions to the core.




Run breaks after 16,000 epochs, and can be continued if desired.




Operand expressions *NOT* supported.




* * *




Two computer programs in their native habitat -- the memory chips of a digital computer -- stalk each other from address to address. Sometimes they go scouting for the enemy; sometimes they lay down a barrage of numeric bombs; sometimes they copy themselves out of danger or stop to repair damage. This is the game I call Core War. It is unlike almost all other computer games in that people do not play at all! The contending programs are written by people, of course, but once a battle is under way the creator of a program can do nothing but watch helplessly as the product of hours spent in design and implementation either lives or dies on the screen. The outcome depends entirely on which program is hit first in a vulnerable area.


Attachments
Core War
Core War
warriors loaded.png (11.33 KiB) Viewed 418 times
Core War
Core War
salemate.png (9.01 KiB) Viewed 418 times
Core War
Core War
running.png (9.2 KiB) Viewed 418 times
Core War
Core War
help screen.png (9.21 KiB) Viewed 418 times
Core War
Core War
title screen.png (8.59 KiB) Viewed 418 times

[The extension red has been deactivated and can no longer be displayed.]

[The extension war has been deactivated and can no longer be displayed.]

[The extension red has been deactivated and can no longer be displayed.]

[The extension red has been deactivated and can no longer be displayed.]

[The extension red has been deactivated and can no longer be displayed.]

[The extension red has been deactivated and can no longer be displayed.]

[The extension red has been deactivated and can no longer be displayed.]

[The extension red has been deactivated and can no longer be displayed.]

[The extension red has been deactivated and can no longer be displayed.]

[The extension red has been deactivated and can no longer be displayed.]

[The extension red has been deactivated and can no longer be displayed.]

[The extension red has been deactivated and can no longer be displayed.]

[The extension red has been deactivated and can no longer be displayed.]

[The extension red has been deactivated and can no longer be displayed.]

TEXT.BIN
Core War
(2.33 KiB) Downloaded 94 times
PETFONT.BIN
Core War
(2 KiB) Downloaded 95 times
Post Reply