Commit graph

107 commits

Author SHA1 Message Date
337b1ab05b reafactor code: split tui bin into separated crated 2025-01-11 17:06:59 +02:00
a289a10798 add workspace resolver 2025-01-07 15:54:20 +02:00
14cbf155fc fix test_load_rom_ibm_logo 2025-01-07 15:18:20 +02:00
89056dc031 use workspaces 2025-01-07 14:38:53 +02:00
8a7c439c15 update README.md 2025-01-07 14:34:29 +02:00
6b2a6e288d improve terminal display & emulation fluidity 2025-01-05 00:48:42 +02:00
652b11cd04 update README.md 2024-12-23 12:09:46 +02:00
99aadcfc60 add rust version to README.md 2024-12-17 16:01:15 +02:00
9e6a5f67ff enable lto and codegen-units optimizations 2024-12-14 22:56:07 +02:00
99fa3fb873 reformat code 2024-12-13 15:32:37 +02:00
7c566d4294 add test for beep 2024-12-13 15:29:30 +02:00
ebe913ec61 add test for fetch instruction, handle timers & fix handle timers 2024-12-13 15:27:18 +02:00
baf2f50406 add unit tests for set instruction 2024-12-13 15:21:02 +02:00
aacfaa0511 add unit tests keys instructions 2024-12-13 15:17:15 +02:00
4e8ae60b3c add unit tests for load, store memory, bcd convert, add to index 2024-12-13 15:12:29 +02:00
ef98349586 add unit tests for timers instructions 2024-12-13 15:00:09 +02:00
70a8a42495 add unit tests for skip instructions 2024-12-13 14:56:55 +02:00
02000b7d02 add unit tests for arithmetic instructions + jump with offset 2024-12-13 14:49:30 +02:00
05ea1488a5 add unit tests for call & return 2024-12-13 14:26:00 +02:00
9b713ca7c6 add tests for set index register and draw 2024-12-12 23:23:26 +02:00
bd909adfa1 add unit test for jump, set register, add value to register 2024-12-12 22:20:11 +02:00
60b52a29c1 add unit test for clear screen 2024-12-12 21:08:19 +02:00
d8878ef317 add tracing 2024-12-12 19:53:17 +02:00
884ac76083 update README.md 2024-12-11 20:00:38 +02:00
083318bdc0 fix clippy warnings 2024-12-11 19:51:35 +02:00
0fbb74b431 use Read trait for emulating roms 2024-12-11 00:44:48 +02:00
5085ea096b fix GetKeyBlocking test 2024-12-11 00:44:38 +02:00
8148bdbbbe use c-like struct for input keys instructions 2024-12-11 00:33:45 +02:00
5f4981e995 use c-like struct for store and load memory 2024-12-11 00:31:22 +02:00
a9432ce7ed use c-like struct for more instructions 2024-12-11 00:28:21 +02:00
e7b69b72b2 use c-like struct for SkipEqualVXVY & SkipNotEqualVXVY instruction 2024-12-11 00:25:50 +02:00
4cba27de97 use c-like struct for SkipEqualVXData & SkipNotEqualVXData instruction 2024-12-11 00:22:57 +02:00
b2666d4226 use c-like struct for GenerateRandomNumber instruction 2024-12-11 00:20:06 +02:00
2842c55cf8 use c-like struct for JumpWithOffset instruction 2024-12-11 00:05:35 +02:00
517628ced6 clear display before emulation start 2024-12-11 00:04:13 +02:00
b8e3509086 use c-like struct for arithmetic instructions 2024-12-11 00:03:21 +02:00
a4e2942eea use c-like struct for Set instruction 2024-12-10 23:57:22 +02:00
5dd11bc74c use c-like struct for Call instruction 2024-12-10 23:55:35 +02:00
9171b35025 disable terminal raw mode on cross term drop 2024-12-10 23:54:15 +02:00
a9d252f758 c-like struct for Draw instruction 2024-12-10 19:05:20 +02:00
a464c00836 c-like struct for SetIndexRegister instruction 2024-12-10 19:02:31 +02:00
7f07d3b184 c-like struct for AddValueToRegister instruction 2024-12-10 19:01:34 +02:00
ede70d15a0 use named enum for SetRegister instruction 2024-12-10 18:58:21 +02:00
aa27658864 fix clear display instruction 2024-12-10 18:50:24 +02:00
680ee8adeb add command line arguments via clap crate 2024-12-10 18:45:46 +02:00
2f0e22c79c add a separate thread for input handling 2024-12-10 18:35:04 +02:00
e1ad59c8a6 update README.md 2024-12-09 22:02:54 +02:00
a1390d8e45 get rom path from command line 2024-12-09 21:56:58 +02:00
0112138b78 implement input handling instructions 2024-12-09 21:43:46 +02:00
3beddd9acd modify input module to handle special characters like escape 2024-12-09 21:33:34 +02:00