A Conway's Game of Life simulator for MARS MIPS simulator!
- MARS 4.5 simulator
- If this is your first time running it:
- Click
Memory ConfigurationunderSettingsmenu near the top of the screen - Set
Memory ConfigurationtoCompact, Data at address 0 - Click
Apply
- Click
- If this is your first time running it:
- Python 3.6 or higher
- TKinter
- Run
python3 GoLCanvasGenerator.py - Mess around and have fun!
- Left click to enable cell
- Right click to disable cell
- Exit the program
- This will generate a file named
GoLCanvas.txt
- Open MARS simulator
- Load
GoL-MIPS.asm - Paste the contents of
GoLCanvas.txtinto the section that says
# PASTE CANVAS CODE HERE #####################################################
##############################################################################- Open
Bitmap DisplayunderToolsmenu near the top of the screen- Set the
Unit WidthandUnit Heightto 16 - Set the
Display WidthandDisplay Heightto 512- If you wish to try different resolutions, make sure the display width/height divided by unit width/height is 32
- Set the
Base Addressto0x00000000 - Click
Connect to MIPS
- Set the
- Assemble the code and run it
- Do a little jig if you managed to get it working!
