Premium Only Content

Computer recreations: core wars
In this video I show you a Python implementation of a 1984 article by A. K. Dewdney from the "Scientific American" magazine called "In the game called Core War hostile programs engage in a battle of bits".
Using a circular list and implementing at least two of the proposed operations, it's possible to execute basic programs in the Redcode programming language.
The user codes the language mnemonics in the main function of the program which are then translated into "machine code" and stored into the "core memory", i.e.: circular list. The simulator will then execute these instructions.
Links to the article:
- https://www.scientificamerican.com/article/computer-recreations-1984-05/
- https://people.scs.carleton.ca/~soma/biosec/readings/akdewdney/First.htm
Source code:
Wikipedia:
- https://en.wikipedia.org/wiki/Core_War
CHAPTERS
0:00 Intro
0:22 General overview of the article: history, programming language, operations
1:37 Circular array
2:00 Circular list in Python
2:10 Instruction pointer: keeps track of the execution
2:44 The Simulator class
3:11 Structure of the machine code
4:18 Addressing types
5:12 A 3-instruction program replicated from the article
5:55 Check the expected result of the program
6:16 The "Imp" program
6:57 Important methods of the Simulator class: transform human mnemonics to machine code and vice-versa, store and execute operations
8:17 The MOV operation
8:27 Script execution
9:32 Outtro
#computerrecreations #corewars #python
-
7:25:12
Midnight In The Mountains
11 hours agoGaming w/ PER·SE·VER·ANCE 🕹 🔥🎮 WILDGATE Beta Madness! |
71.8K7 -
24:11
After Skool
4 days agoThe Hidden Symbolic Meaning of Rebirth in Myths - Agrippa's Diary
73.7K36 -
17:13
Mrgunsngear
1 day ago $12.25 earnedGirsan MC9 Disruptor X Handgun Review
119K7 -
17:29
Clownfish TV
1 day agoDisney Will CENSOR Abu Dhabi Theme Park! No LGBTQ or Shells on Ariel?!
132K71 -
6:57
DepressedGinger
1 day ago $6.12 earnedThe craziest 9/11 story you've never heard of...
67K43 -
17:10
Tundra Tactical
23 hours ago $8.97 earnedEXCLUSIVE Zev Heartbreaker Pistol Hands-On Review!
125K6 -
30:39
MYLUNCHBREAK CHANNEL PAGE
1 day agoThe Biggest Heist in Human History
119K83 -
11:34:07
Tommy's Podcast
20 hours agoE725: Nosler, Oregon
96.4K8 -
15:32
T-SPLY
2 days agoDems Turn on Fetterman in Brutal Betrayal!
176K200 -
1:00
Damon Imani
1 day agoHe ENDED Biden's Gaslighting About His Cognitive Decline!
14.9K12