19 Commits

Author SHA1 Message Date
fa3b9c21b9 chore: move Gpio and Clock structs to separate file 2022-09-18 00:37:45 -03:00
50adb5fbac feat: add option to force-enable RTC 2022-09-17 20:27:17 -03:00
19d78b9292 feat: auto-detect RTC in commercial ROMS 2022-09-17 20:23:49 -03:00
a2e702c366 fix: account for lateness in RTC scheduler event 2022-09-17 09:07:31 -03:00
12c138364d fix: RTC day is 6 bits wide, not 3 2022-09-16 10:59:41 -03:00
7783c11fac feat: put RTC Sync on Scheduler
TODO: Database to see what games have what GPIO devices
2022-09-16 10:39:02 -03:00
3fc3366c8a chore: import datetime library + default time for RTC 2022-09-16 10:39:02 -03:00
d6b182f245 fix: ignore RTC Time/DateTime writes
this falls in-line with better emulators
2022-09-16 10:39:02 -03:00
3857c44e68 chore: use Clock.Writer for Command parsing, delete Clock.Command 2022-09-16 10:39:02 -03:00
089c5fa025 feat: implement RTC Read/Writes 2022-09-16 10:39:02 -03:00
c977f3f965 feat: implement force irqs for GPIO/RTC 2022-09-16 10:38:51 -03:00
92417025e9 fix: properly resovle stack UAF 2022-09-16 02:10:41 -03:00
1c52c0bf91 chore: shorten orelse @panic to .? 2022-09-16 02:10:41 -03:00
617f7f4690 fix: update GpioData extern union
u4's are no longer supported in extern unions :\
2022-09-16 02:10:41 -03:00
434a0dfac9 tmp: incomplete impl of GPIO + RTC 2022-09-16 02:10:41 -03:00
3fb7f2f814 chore: better conform to zig idioms 2022-09-03 18:30:48 -03:00
5f8c6833f4 chore: improve init/deinit methods 2022-08-29 01:07:25 -05:00
739db99c83 fix: reimpl debug reads w/out throwing away *const Self 2022-08-07 05:11:29 -05:00
53191b0eeb chore: change directory structure 2022-07-22 21:11:19 -03:00