Difference between revisions of "6.115 Toolchain"
From SlugWiki
m |
|||
Line 1: | Line 1: | ||
==Instructions== | ==Instructions== | ||
− | < | + | <pre> |
sudo apt-get install dosbox python-serial | sudo apt-get install dosbox python-serial | ||
Line 13: | Line 13: | ||
echo "export PATH=~/6.115/tools/bin:\$PATH" >> ~/.bashrc | echo "export PATH=~/6.115/tools/bin:\$PATH" >> ~/.bashrc | ||
− | </ | + | </pre> |
Test this by typing rasm test.asm | Test this by typing rasm test.asm | ||
− | It should | + | It should print |
+ | <pre> | ||
+ | Executing DOSBox... | ||
+ | |||
+ | Rasm51E 1.32 (c) Rigel Corporation 1990-1995 | ||
+ | Assembling file t:temp.asm | ||
+ | opening file t:temp.asm | ||
+ | pass 1 | ||
+ | |||
+ | 4 lines of source code read | ||
+ | |||
+ | pass 2 | ||
+ | assembly time : 0.000 seconds | ||
+ | writing file t:temp.lst to disk | ||
+ | writing file t:temp.obj to disk | ||
+ | disk write time : 0.000 seconds | ||
+ | |||
+ | no errors found...Rasm51E terminates... | ||
+ | |||
+ | -rw-r--r-- 1 isaac 26 Feb 9 17:55 test.err | ||
+ | -rw-r--r-- 1 isaac 132 Feb 9 17:55 test.lst | ||
+ | -rw-r--r-- 1 isaac 44 Feb 9 17:55 test.obj | ||
+ | </pre> | ||
+ | |||
+ | Additionally, you can type | ||
+ | <pre> | ||
+ | make program | ||
+ | </pre> | ||
+ | To upload the program on the RJ31P (is that what it's called) |
Revision as of 19:07, 9 February 2012
Instructions
sudo apt-get install dosbox python-serial mkdir ~/6.115 cd ~/6.115 wget http://mit.edu/~igutek/Public/6.115_toolchain.zip unzip 6.115_toolchain.zip echo "export PATH=~/6.115/tools/bin:\$PATH" >> ~/.bashrc
Test this by typing rasm test.asm
It should print
Executing DOSBox... Rasm51E 1.32 (c) Rigel Corporation 1990-1995 Assembling file t:temp.asm opening file t:temp.asm pass 1 4 lines of source code read pass 2 assembly time : 0.000 seconds writing file t:temp.lst to disk writing file t:temp.obj to disk disk write time : 0.000 seconds no errors found...Rasm51E terminates... -rw-r--r-- 1 isaac 26 Feb 9 17:55 test.err -rw-r--r-- 1 isaac 132 Feb 9 17:55 test.lst -rw-r--r-- 1 isaac 44 Feb 9 17:55 test.obj
Additionally, you can type
make program
To upload the program on the RJ31P (is that what it's called)