Byron Lathi
32c82044a7
Fix more bugs
2023-12-01 00:56:16 -08:00
Byron Lathi
a169b30028
Fix not saving to ptr1 and comparing y
2023-11-30 23:58:30 -08:00
Byron Lathi
597d15e234
Add terminal write as well, use it in kernel
2023-11-29 17:19:18 -08:00
Byron Lathi
b25d0e9bdb
First shot at terminal read
2023-11-29 08:38:25 -08:00
Byron Lathi
5b6a4e1442
Start terminal driver
2023-11-28 23:52:27 -08:00
Byron Lathi
e73d8db74c
Serial Fix
...
Fixes a typo with getc_nb, removes the RTC tick code (since we know it
works now and it is clogging up the screen), read characters in a loop
instead of just once.
2023-11-28 23:23:31 -08:00
Byron Lathi
fd9ccdbce4
Add serial driver and irq support
2023-11-28 22:54:26 -08:00
Byron Lathi
3524892f80
Add quick uart irq test
2023-11-28 17:45:20 -08:00
Byron Lathi
9ce5b7592f
Use longer rtc interval
2023-11-22 20:57:49 -08:00
Byron Lathi
930e802a86
Add init code for mapper
...
init_mapper now remaps so that it can change irq vectors
2023-11-22 17:33:12 -08:00
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