Commit Graph

230 Commits

Author SHA1 Message Date
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
Byron Lathi
15b7d50a30 Fix zerobss bug
Well, not really fix but problem is avoided for now
2023-09-01 21:49:36 -07:00
Byron Lathi
b2b3b84bc4 Kernel crashing 2023-08-26 23:15:36 +00:00
Byron Lathi
eba24c2990 Disable inits which fail 2023-08-26 13:42:06 -07:00
Byron Lathi
0dfe8ae584 Remove init code to get kernel to run 2023-08-26 13:17:12 -07:00
Byron Lathi
0247565f49 Get super simple kernel code running 2023-08-26 13:09:02 -07:00
Byron Lathi
d2700a64fb Read entire file into memory 2023-08-26 08:10:20 -07:00
Byron Lathi
4b2b1a425e Parse options properly 2023-08-25 21:26:28 -07:00
Byron Lathi
a971e7a717 Start reading options 2023-08-25 20:03:03 -07:00
Byron Lathi
21b456067a Read text and data offset/length 2023-08-25 19:22:21 -07:00
Byron Lathi
becc9094c8 Don't save segments as separate files 2023-08-23 21:12:15 -07:00
Byron Lathi
eb72e83629 Use old offset calculation, save ptr3
Looks like cprintf modifies ptr3, so make sure to save it if you are
calling that.

There also may have been an issue with how the previous sector address
was calculated, the one which does not account for carries seems to
work.
2023-08-23 20:48:57 -07:00
Byron Lathi
8273e01ad8 Read size of file in sectors 2023-08-23 20:45:09 -07:00
Byron Lathi
9b1576774b Factor out relocation code into method 2023-08-23 19:52:11 -07:00
Byron Lathi
cc1d8d2015 Update o65dump to show reloc and undef symbols 2023-08-23 00:11:57 -07:00
Byron Lathi
8bccfed867 Change segment order to make o65 layout valid
VECTORS was messing things up
2023-08-22 20:49:07 -07:00
Byron Lathi
c5b1a47c8e start o65dump.py 2023-08-22 19:27:26 -07:00
Byron Lathi
9972f8cb36 Update order for kernel segments 2023-08-22 19:27:09 -07:00