-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add respective rst files for documentation
- Loading branch information
Showing
16 changed files
with
110 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.. _cli: | ||
|
||
CLI | ||
=== | ||
|
||
.. doxygenfile:: cli.h | ||
:project: yobemag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.. _cpu: | ||
|
||
CPU | ||
=== | ||
|
||
.. doxygenfile:: cpu.h | ||
:project: yobemag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
yobemag | ||
======= | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
:titlesonly: | ||
:hidden: | ||
:glob: | ||
|
||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.. _lcd: | ||
|
||
LCD | ||
=== | ||
|
||
.. doxygenfile:: lcd.h | ||
:project: yobemag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.. _log: | ||
|
||
LOG | ||
=== | ||
|
||
.. doxygenfile:: log.h | ||
:project: yobemag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.. _mmu: | ||
|
||
MMU | ||
=== | ||
|
||
.. doxygenfile:: mmu.h | ||
:project: yobemag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.. _rom: | ||
|
||
ROM | ||
=== | ||
|
||
.. doxygenfile:: rom.h | ||
:project: yobemag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#ifndef YOBEMAG_ATTRIBUTES_H | ||
#define YOBEMAG_ATTRIBUTES_H | ||
|
||
#define ATTR_NORETURN __attribute__((__noreturn__)) | ||
|
||
#define ATTR_FORMAT3 __attribute__((format(printf, 3, 4))) | ||
|
||
#define ATTR_FORMAT4 __attribute__((format(printf, 4, 5))) | ||
|
||
#define ATTR_ALWAYS_INLINE __attribute__((always_inline)) | ||
|
||
#ifdef __GNU__ | ||
#define ATTR_PURE __attribute__((pure)) | ||
#else | ||
#define ATTR_PURE | ||
#endif | ||
|
||
#endif //YOBEMAG_ATTRIBUTES_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/** @file */ | ||
|
||
#ifndef YOBEMAG_CLI_H | ||
#define YOBEMAG_CLI_H | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/** @file */ | ||
|
||
#ifndef YOBEMAG_LCD_H | ||
#define YOBEMAG_LCD_H | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
/** @file */ | ||
|
||
#ifndef YOBEMAG_ROM_H | ||
#define YOBEMAG_ROM_H | ||
|
||
#include <stdint.h> | ||
|
||
#include "attributes.h" | ||
|
||
void rom_init(const char *file_name); | ||
void rom_destroy(void); | ||
__attribute__((pure)) uint8_t *get_rom_bytes(void); | ||
ATTR_PURE uint8_t *get_rom_bytes(void); | ||
|
||
#endif //YOBEMAG_ROM_H |