Commits
- Commit:
b268be4f7c3fa4f744c62afbb410e58655abcc28
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
fix jump semantics
Use as destination the value of A as it was at the start of the cycle, before
possibly updating it with the ALU result.
- Commit:
5261f2c888037eaeb65e345bac5e0dd2deac1874
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
adjust tests to not rely on wrong jump semantics
See previous commit. I actually used the erroneous behavior to save an
instruction here and there. So save an instruction elsewhere. :)
- Commit:
aa10ea0fbd7e99568897e47d0396839b45e8b18c
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
test writing to A in a jump instruction
An instruction such as A=0;JMP should branch to the address active at the start
of the clock cycle rather than the new value of A which does not update until
the next cycle.
- Commit:
5c25183eee499db2e6d43608b70a853650e91381
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
add README
- Commit:
f466152267b9b2e5b182ead9ad81db7667512114
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
comment typo
- Commit:
33a53b3653b174098e00a7eeabbd0f47588e3c60
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
add test to exercise tape input (atoi)
- Commit:
9a77229d5509c9c4615422cbf3e597bfcd650f5c
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
pass prepared input (foo.in) to tests, if it exists
- Commit:
fd060ab5f0d52b3b95453ee6d3ab14e7135891f6
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
add input tape implementation
- Commit:
5b16a7cee00e49a1bfa70d0f63622686776b9f1f
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
run tests at max speed (-s0)
- Commit:
00c9bff7f9f091517f38893332ecd402449a22a8
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
compare tests' output against expectation
Includes expected output for hello.hack (hello.out).
- Commit:
1192038877397dc033e0476f01342fe5ee0e7cfc
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
add "hello world" test
- Commit:
099e4c576c83e653f3220c05a8a471417a4de660
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
implement tape output w. busy time
- Commit:
5e4364907c5751cad3217f76d1cebf1ba2a1154b
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
editorial mistake
- Commit:
ee4dd89bf68a09e9c77103d3106c14bd12a1d650
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
add controls for clock frequency and time scale
- Commit:
fdcac03ecc2b688689139142ef824f67d698bf1e
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
factor cpu() out of main
- Commit:
8474506aed47f619c495303dae5adcf5c05f424a
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
suppress test script command
- Commit:
49d8299adf0e869e0c2df7a590b02707b404e982
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
add test script and make target
The test target will run test.sh with the list of included roms.
The test script (test.sh) runs the emulator on its arguments in trace mode and
compares the result against the supplied .tsv file.
Includes expected .tsv outputs.
Also adds a 'clean' target.
- Commit:
be6fc12c3675954cf25b7f1f14171e26e2311d16
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
add max.rom to roms list
- Commit:
35e5fed71849def0b2f06d658e850f008ab8027a
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
add missing sint()
- Commit:
78e224d268d68375c1da4bedfa26aadaf47d4a37
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
add license note to add.hack, max.hack
- Commit:
2ffc18b08ca04a6774f0ac2841e255b8898b29ed
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
comments/style in .hack files
- Commit:
c13dce56093d2a9cf83bce6cd5326e9f0e7419a5
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
dummy code for tape punch control word
- Commit:
928df968ad1b4edd1e9111a04827e1c0a614711a
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
fix line count in the face of empty lines and comments
- Commit:
e7247ac567a0c5cabba9ecadbabc0c717d9d6a78
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
add missing empty instruction
Oops.
- Commit:
ddb7cf9c46d59a2585202faba7030ce30a7c66cf
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
add max.hack example