Commit Graph

23 Commits

Author SHA1 Message Date
Byron Lathi
21efb8ace8 New sw folders 2024-10-14 23:48:16 -07:00
Byron Lathi
0a0394ae33 Delete everything 2024-03-02 20:11:33 -08:00
Byron Lathi
2577ab2a9a Update kernel makefile, test more kernel code 2023-10-28 13:12:41 -07:00
Byron Lathi
32f6c0f8d9 Add jsr test 2023-10-15 13:30:09 -07:00
Byron Lathi
d3d3fea916 Resolve "Use dependencies instead of makefile chaining" 2023-09-30 04:16:52 +00:00
Byron Lathi
aa717685e3 Use our own toolchain instead of the one in the image
Now that we are adding our own target we can compile our own toolchain
instead of using the stock one. This does mean that there isn't really a
purpose to using the alpine cc65 image though
2022-04-20 12:41:20 -05:00
Byron Lathi
f3c7ac9696 Replace bios with bootloader, don't use bootsector
Instead of using the bootsector to load a bootloader, just put the
bootloader in the ROM and call it a day. It looks for a file on the SD
card in the root directory named `kernel.bin` and loads it into memory.

This is not a perfect solution, as the kernel will grow larger and the
kernel load address will have to change. At this point I could add back
the bootloader, but that is for later.

Also the bootloader is just a copy of the kernel, so that can be trimmed
down a lot.
2022-04-19 10:34:19 -05:00
Byron Lathi
0fadc6a80f Add sw makefile which compiles all subtargets
Usefull now that we have like 4 different folders that need to be
compiled slightly differently
2022-04-18 20:27:05 -05:00
Byron Lathi
64f6f0b397 Add top level makefile for sw 2022-04-18 12:50:19 -05:00
Byron Lathi
c6098f2d1f Separate kernel code from test code
Eventually I want the kernel to be loaded from the SD card as well, but
it still needs to separate from user programs.

At some point there should be a folder just for the BIOS, which should
read from the boot block of the SD card and start executing, and thats
it.
2022-04-16 21:58:37 -05:00
Byron Lathi
238a4b6f98 Move devices into devices folder 2022-04-16 21:47:54 -05:00
Byron Lathi
c5f1b64cba Move filesystem code into its own directory
Step one into cleaning up the codebase a little bit.
2022-04-16 21:43:26 -05:00
Byron Lathi
e012eb7d4d Exclude vectors from list of test objects
We do not need this, since there are no interrupts during tests.
2022-03-14 13:27:29 -05:00
Byron Lathi
36ff20e587 Update Makefile
Add source as comment in assembly listings.
2022-03-12 22:40:48 -06:00
Byron Lathi
5d8c4aab44 Add USB code
Adds the usb code that we got in ECE 385. It will not work now, and
parts that involve the timer are disabled. It does compile though, with
a few warnings.

The goal will be to add USB MSD support, which is not actually given to
us so I will have to do myself or find some other code to base it off
of.
2022-03-10 16:15:08 -06:00
Byron Lathi
6f3155cf35 Add sim65 tests 2022-03-10 11:06:48 -06:00
Byron Lathi
eed7c21971 Update Makefile
Change lists to not have trailing slash

Remove listing folder during clean
2022-03-10 10:29:34 -06:00
Byron Lathi
80d49b4f87 Update makefile
Generates listing files and a map file now.
2022-03-10 10:25:36 -06:00
Byron Lathi
3f5a653326 Rename assembly files from .S to .s 2022-03-10 10:17:37 -06:00
Byron Lathi
e9104e4233 Add explicit assembly targets 2022-03-05 22:34:54 -06:00
Byron Lathi
048db615b9 Add basic io header 2022-03-05 21:17:33 -06:00
Byron Lathi
9c29aa4fdf Update linker script to allow c source files 2022-03-05 21:09:46 -06:00
Byron Lathi
a2fdcc5553 Add software files 2022-03-05 18:48:19 -06:00