Commit Graph

4 Commits

Author SHA1 Message Date
Byron Lathi
8c9ae78040 Fix file endings 2022-04-16 21:04:39 -05:00
Byron Lathi
f1e71a9461 Move code out of main and into their own files
All of the SD card commands are moved into their own file, with
functions sd_init, sd_get_rca, sd_select_card, sd_get_status, and
sd_readblock.

The FAT functions are movied into fat.c and give functions fat_init and
fat_read. Note that the filename is ignored for now, it always reads the
first file in the root directory.

The loading of o65 files is done in o65.c, and executing is done in
exec.c

This cleans up the main file signifigantly and leaves the project open
to expansion.
2022-04-16 20:52:50 -05:00
Byron Lathi
e30768d4c2 Rename o65_opt to o65_opt_t 2022-04-16 14:22:16 -05:00
Byron Lathi
0cecf166c7 Add definitions and structures for o65 files
These can be used to read and parse o65 files.
2022-04-16 14:02:57 -05:00