Commit Graph

197 Commits

Author SHA1 Message Date
Byron Lathi
90e0708012 update devices_setup_test makefile 2023-11-21 20:29:21 -08:00
Byron Lathi
0232d9c89f Rename symbols again 2023-11-21 20:20:25 -08:00
Byron Lathi
b7b852ae4a Update irq test code 2023-11-21 20:04:06 -08:00
Byron Lathi
102c4dfe8a Use vectors for irq and nmi 2023-11-21 18:53:17 -08:00
Byron Lathi
4392a01de8 #53 Reduce interrupts to 128 2023-11-21 08:17:36 -08:00
Byron Lathi
e7f8be44b7 enable interrupt when we register irq 2023-11-21 08:06:46 -08:00
Byron Lathi
d172706313 Clear interrupt before waiting 2023-11-20 23:32:05 -08:00
Byron Lathi
7089b663ca add interrupt init code (and increase rtc tick rate) 2023-11-20 22:23:18 -08:00
Byron Lathi
5d599042d4 link kernel objects as well 2023-11-20 20:19:42 -08:00
Byron Lathi
323519edbd Enable interrupts, print out current rtc tick 2023-11-20 20:02:31 -08:00
Byron Lathi
531bb4cf13 Fix bad sp and writing to zp0 2023-11-20 18:37:04 -08:00
Byron Lathi
e6a16b0c73 Add device setup test using kernel drivers 2023-11-20 08:29:35 -08:00
Byron Lathi
3861e44693 PIC: Disable all irqs at start 2023-11-19 23:30:02 -08:00
Byron Lathi
1e9be6c764 RTC: Fix threshold/irq_threshold initialization
Also throw some newlines in the kernel print messages.
2023-11-19 23:28:11 -08:00
Byron Lathi
680bccee62 Init rtc and pic in kernel 2023-11-19 22:11:29 -08:00
Byron Lathi
7c24389b10 Update RTC code test 2023-11-19 13:50:00 -08:00
Byron Lathi
7002aeebe6 Add rtc code test 2023-11-19 11:58:37 -08:00
Byron Lathi
1b78f51933 Check all edge interrupts 2023-11-18 15:00:44 -08:00
Byron Lathi
dea6227958 Add irq code tb 2023-11-18 13:55:29 -08:00
Byron Lathi
e3662e703c Add back long string 2023-10-30 00:04:57 -07:00
Byron Lathi
876ae08cf3 Fix off by 1 in o65 option decoding 2023-10-29 21:38:04 -07:00
Byron Lathi
c6bf29649a Add some CLCs before ADCs 2023-10-29 19:47:15 -07:00
Byron Lathi
59a6f13eb3 Skip the copydata in kernel setup 2023-10-28 18:31:21 -07:00
Byron Lathi
2577ab2a9a Update kernel makefile, test more kernel code 2023-10-28 13:12:41 -07:00
Byron Lathi
4104a2eeb9 Do a more sane string print first 2023-10-27 20:49:06 -07:00
Byron Lathi
cf8a5d782f Make kernel as part of full chip sim 2023-10-26 21:25:26 -07:00
Byron Lathi
674078e08d Don't print buf, it takes too long 2023-10-25 21:13:01 -07:00
Byron Lathi
6f36d2fcc4 Fix off by 1 error 2023-10-25 20:39:55 -07:00
Byron Lathi
6fabd23125 Change boot2 to use new offsets as well 2023-10-25 18:56:15 -07:00
Byron Lathi
b6e3b79bda Change bootloader to actually use sectors per cluster 2023-10-25 08:34:28 -07:00
Byron Lathi
e7e1eab4a4 Try long test 2023-10-23 18:54:51 -07:00
Byron Lathi
4b415ed2ba Update C test to actually use mapper a little bit 2023-10-20 17:20:11 -07:00
Byron Lathi
ac5564d03d Add test program for mapper, fix reset bug 2023-10-20 08:27:51 -07:00
Byron Lathi
e0e20d7fb4 Add indirect test 2023-10-15 13:41:51 -07:00
Byron Lathi
32f6c0f8d9 Add jsr test 2023-10-15 13:30:09 -07:00
Byron Lathi
448d9add89 Use repo based path for creating fs image 2023-10-11 01:06:50 -07:00
Byron Lathi
d3ea5ed4d1 Use udisksctl 2023-10-11 00:59:41 -07:00
Byron Lathi
d27e442d5e Use REPO_TOP in script, call script from makefile 2023-10-06 13:18:36 -07:00
Byron Lathi
a3e0ab0e1e Use 8 bit memory !! Will eat all your RAM!
Figure out a better way to load memories that doesn't immediately oom
you.
2023-10-06 07:28:34 -07:00
Byron Lathi
2084054d3d Add script for creating verilog filesystem image 2023-10-06 06:48:47 -07:00
Byron Lathi
6a684f62f8 Remove another wait, update sd emulator 2023-10-04 20:24:56 -07:00
Byron Lathi
019b9c8120 Update sd, remove wait state 2023-10-04 19:11:45 -07:00
Byron Lathi
3a211faed7 Don't have sd wait in simulation
need to figure out how to set that RTL_SIM flag only when we are
compiling code for the sim

also bro the sim is like 8000x slower than irl.
2023-09-30 17:40:01 -07:00
Byron Lathi
d3d3fea916 Resolve "Use dependencies instead of makefile chaining" 2023-09-30 04:16:52 +00:00
Byron Lathi
85f53816f9 Remove unneeded CR 2023-09-27 23:03:22 -07:00
Byron Lathi
915188e8f1 New test program that causes the error 2023-09-26 18:23:01 -07:00
Byron Lathi
3fcfa4d3ac Add REPO_TOP env var 2023-09-24 10:35:17 -07:00
Byron Lathi
9bd031e35e Add support for test programs 2023-09-24 10:29:32 -07:00
Byron Lathi
a770d938de Copy bios device functions to kernel 2023-09-04 14:31:55 -07:00
Byron Lathi
791bffb248 Add copy data back 2023-09-04 14:08:52 -07:00