Commit Graph

511 Commits

Author SHA1 Message Date
Byron Lathi
d49fa64d34 Merge branch '14-terminal-driver' into 'master'
Resolve "Terminal Driver"

Closes #14

See merge request bslathi19/super6502!58
2023-12-01 09:13:39 +00:00
Byron Lathi
eb676da0d7 Merge branch '68-fpga-images-randomly-do-not-work' into 'master'
Resolve "FPGA images randomly do not work"

Closes #68

See merge request bslathi19/super6502!60
2023-12-01 08:57:53 +00:00
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
e805b19eca Add some flops to the mapper
This is NOT how to do CDC
2023-11-30 17:40:21 -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
db4848b6fe Merge branch '62-create-basic-board' into 'master'
Resolve "Create basic board"

Closes #62

See merge request bslathi19/super6502!56
2023-11-27 03:12:02 +00:00
Byron Lathi
0a854fcb7b Add wires to fpga block (but don't connect them) 2023-11-26 18:55:02 -08:00
Byron Lathi
59017d637e Create schematic heirarchy 2023-11-26 17:34:15 -08:00
Byron Lathi
b9595a7450 Create project, set env vars 2023-11-26 17:08:30 -08:00
Byron Lathi
0efaad22c7 Merge branch '61-create-symbols-for-board' into 'master'
Resolve "Create symbols for board"

Closes #61

See merge request bslathi19/super6502!55
2023-11-26 22:55:02 +00:00
Byron Lathi
1d61d183b0 Add updated kicad library 2023-11-26 14:37:43 -08:00
Byron Lathi
b114103478 Merge branch '60-custom-board-parts-list' into 'master'
Resolve "Custom Board Parts List"

Closes #60

See merge request bslathi19/super6502!54
2023-11-26 09:11:53 +00:00
Byron Lathi
b71e29e0d4 Don't clone kicad library for ci 2023-11-25 21:41:35 -08:00
Byron Lathi
ed3edb5fab Change kicad library to be a submodule 2023-11-25 21:19:34 -08:00
Byron Lathi
fe960bf0e3 Add docs 2023-11-25 20:38:38 -08:00
Byron Lathi
be31de4470 Add parts list 2023-11-25 20:22:39 -08:00
Byron Lathi
9f897c22f4 Merge branch '59-fix-cpu-speed' into 'master'
Resolve "fix cpu speed"

Closes #59

See merge request bslathi19/super6502!53
2023-11-25 07:10:45 +00:00
Byron Lathi
38af9b2545 Reduce cpu speed 2023-11-24 22:43:47 -08:00
Byron Lathi
89a1a70917 Revert sdram state machine upgrade 2023-11-24 17:54:03 -08:00
Byron Lathi
8c6b262f0c Merge branch '55-increase-sd-card-speed' into 'master'
Resolve "Increase SD Card speed"

Closes #55

See merge request bslathi19/super6502!51
2023-11-23 20:23:57 +00:00
Byron Lathi
8721c816fc Move fast signals to fast reset 2023-11-23 12:06:19 -08:00
Byron Lathi
aba37ec98d Decouple spi_clk from cpu_clk 2023-11-23 11:49:16 -08:00
Byron Lathi
46f2b01446 Merge branch '13-initialize-paging' into 'master'
Resolve "Initialize Paging"

Closes #13

See merge request bslathi19/super6502!50
2023-11-23 05:06:54 +00:00
Byron Lathi
9ce5b7592f Use longer rtc interval 2023-11-22 20:57:49 -08:00
Byron Lathi
63d3b12636 Add toolchain dependency to full sim 2023-11-22 17:38: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
924dd69f2b Add mapper docs 2023-11-22 08:31:34 -08:00
Byron Lathi
b3a2c167fe Merge branch 'ci_experiment' into 'master'
Ci experiment

See merge request bslathi19/super6502!49
2023-11-22 05:43:21 +00:00
Byron Lathi
6bcce0d31b Merge branch '8-initialize-interrupts' into 'master'
Resolve "Initialize Interrupts"

Closes #8

See merge request bslathi19/super6502!48
2023-11-22 05:36:29 +00:00
Byron Lathi
195367e1c0 try needs 2023-11-21 20:37:55 -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
767742ab49 Add init_hex.mem to artifacts for fpga build 2023-11-21 20:14:04 -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
1714a1e6da add uart interrupt 2023-11-21 18:47:16 -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
5e36d0824a Merge branch '52-test-drivers-bare-metal' into 'master'
Resolve "test drivers bare metal"

Closes #52

See merge request bslathi19/super6502!47
2023-11-21 05:25:28 +00: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