Commit Graph

33 Commits

Author SHA1 Message Date
Zihao Yu 7d5900e5ea add uart framework 2024-01-08 23:59:07 +08:00
Zihao Yu 28ab4be2d6 add ttf font 2024-01-08 23:59:07 +08:00
Zihao Yu e506ee2561 refactor code for creating texture 2024-01-08 23:59:07 +08:00
Zihao Yu 5031e6760e organize source files by components 2024-01-08 23:58:39 +08:00
Zihao Yu e577dd7810 enlarge window size and move the position of vga area 2024-01-08 23:10:00 +08:00
xinyangli edd54dd04d refactor: clean up headers inclusion in headers 2024-01-05 17:03:58 +08:00
Zihao Yu 23e79f86a6 nvboard: update version number 2024-01-02 03:51:22 +08:00
Zihao Yu 166f29349d nvboard: remove is_rt and is_output in nvboard_bind_pin() API
* after refactoring the internal implementation, they are unused now
2024-01-02 03:49:01 +08:00
Zihao Yu 6d370e28e7 component: remove rt_components and call update_state() conditionally
* this can reduce the number of unnecessary function call
2024-01-02 02:20:32 +08:00
Zihao Yu d63aadff16 event: refactor 2024-01-02 02:19:02 +08:00
Zihao Yu 4f9360d8c9 nvboard: remove unused PinMap 2024-01-02 01:02:17 +08:00
Zihao Yu 63f405ebd4 bind input pin value to the origin signal
* also remove nvboard_update_input()
2024-01-02 00:57:33 +08:00
Zihao Yu e483b1ca6e bind output pin value to the origin signal
* also remove nvboard_update_output()
2024-01-02 00:56:15 +08:00
Zihao Yu 1e01a12599 pins: bind pin value to the data field in pin_array 2024-01-02 00:15:25 +08:00
Zihao Yu 6d6172a1a0 pins: use pin_peek() and pin_poke() to access pin value 2024-01-02 00:03:01 +08:00
Zihao Yu bb5201122d merge the encoding of input pins and output pins 2024-01-01 23:22:21 +08:00
Zihao Yu 7591cd2cb1 nvboard: do not call SDL_RenderPresent() if GUI is not updated 2024-01-01 22:25:10 +08:00
Zihao Yu 11e0316d1b reduce the number of calls to get_time() 2024-01-01 22:18:09 +08:00
Yu Jin 3c52468fc6 feat: macOS support 2023-09-20 09:41:30 +08:00
BryanHeBY 71e9c9a67f Add: vga_cycles control api 2022-02-25 18:35:42 +08:00
Zihao Yu 3899cd8b40 nvboard: seperate real-time components and non-real-time components
* only update real-time components every cycle
2022-02-22 17:04:03 +08:00
Zihao Yu e2127f16b7 nvboard: seperate real-time pins and non-real-time pins
* only update real-time pins every cycle
2022-02-22 17:02:25 +08:00
Zihao Yu 9340fec201 nvboard: poll gettimeofday() instead of signal 2022-02-22 15:28:18 +08:00
Zihao Yu 8b593fb8c1 nvboard: refactor nvboard_bind_pin() with stdarg 2022-02-22 15:11:21 +08:00
Zihao Yu 7e7b17a457 change type input_pin and output_pin to uint16_t
* this can achieve 8.3x performance for the example project
2022-02-22 11:34:01 +08:00
Zihao Yu 81be2a98a0 fix name 2022-02-20 17:33:20 +08:00
Chen Lu cf8c8aa205 add keyboard 2022-02-17 15:27:06 +08:00
Chen Lu e1add0d84d fix input value 2022-02-15 21:55:29 +08:00
Chen Lu e971c9338d enable automatic pin bind 2022-02-15 21:40:15 +08:00
Zihao Yu 98d6d04082 fix name of nvboard 2022-02-12 17:25:44 +08:00
Zihao Yu 79d80df183 remove unused code 2022-02-12 17:18:29 +08:00
Zihao Yu 9d0202bfc5 refactor nvboard API 2022-02-12 16:42:05 +08:00
Chen Lu 1f72e3dfde move main func to emu 2022-02-10 22:23:26 +08:00