That depends on the type of system you would like to simulate and your familiarity with various modeling software. Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL). Matlab/Simulink is good if you are mathematically inclined. Stella was originally developed for Linux by Bradford W. Mott, and is currently maintained by Stephen Anthony.