Add reading, parsing, and basic executing of o65 files
- Apr 17, 2022
-
-
Byron Lathi authored
These are technically pointers, so lets type them as such.
-
- Apr 16, 2022
-
-
Byron Lathi authored
This will read the data from the sd card, copy it to the originally linked address (no relocation), then execute it. I am lazy and wrote it in C using weird function pointer casting but this would probably be more efficient if it were to be written in assembly instead. The test program simply returns 'A', but that is enough to prove that it is actually running.
-
Byron Lathi authored
These were used to help understand the o65 file format, but are not needed and shouldn't have been commited anyway.
-
Byron Lathi authored
These are object files still, which means we do not want to track them.
-
Byron Lathi authored
I had used these to try and help figure out the structure of the o65 file but this is not needed anymore
-
Byron Lathi authored
Prints out the options now too.
-
Byron Lathi authored
-
Byron Lathi authored
Prints out information about the first file found on the SD card, if it is an o65 file.
-
Byron Lathi authored
This adds a test program which can be loaded and executed by the host. It simply returns a value in the `a` register. The linker script is modified so that it will output an o65 file, and the memory sgments are changed as well. There is no STARTUP segment defined, so it uses the default `none` crt0, which sets up the stack and does initialization and deconstruction. The Makefile is modified to not turn the output into an intel hex file, and instead keep it as the o65 file.
-
Byron Lathi authored
These can be used to read and parse o65 files.
-
Byron Lathi authored
-