From 01cf37466a3af00969ccea7805d530011a721fe3 Mon Sep 17 00:00:00 2001 From: jede Date: Fri, 26 Jan 2024 21:36:33 +0100 Subject: [PATCH] Fix --- docs/code/stylesheets/extra.css | 48 +++++++++++++++++++++++++++++++++ docs/mkdocs.yml | 2 +- src/_ch376_check_exist.s | 4 +-- 3 files changed, 51 insertions(+), 3 deletions(-) create mode 100644 docs/code/stylesheets/extra.css diff --git a/docs/code/stylesheets/extra.css b/docs/code/stylesheets/extra.css new file mode 100644 index 0000000..6505f32 --- /dev/null +++ b/docs/code/stylesheets/extra.css @@ -0,0 +1,48 @@ +:root > * { + --md-code-bg-color: #1b1a1a; + --md-code-hl-name-color: #FFFFFF; + --md-code-fg-color: #FFFFFF; + --md-code-hl-operator-color: #58aa22; + --md-code-hl-punctuation-color: #FFFFFF; + --md-code-hl-comment-color: #707070; + --md-code-hl-generic-color: #037c0d; + --md-code-hl-variable-color: #FFFFFF; + --md-default-bg-color: #000000; + --md-default-fg-color: #FFFFFF; + --md-default-fg-color--lighter: #FFFFFF; + --md-default-fg-color--light: #FFFFFF; +} + +.star { + color: #FFFF00; +} + +.md-button { + background-color: #707070; +} + +.md-header__topic::before { + background-image: url("/degrade_before.png"); +} + +.md-ellipsis::before { + /*content: "";*/ + display: inline-block; + width: 112px; + height: 16px; + margin-right: 5px; + /*background-image: url("/degrade_before.png");*/ + background-size: cover; + text-align: left; +} + +.md-ellipsis::after { + /*content: "";*/ + display: inline-block; + width: 112px; + height: 16px; + margin-left: 5px; + /*background-image: url("/degrade_after.png");*/ + background-size: cover; + text-align: left; +} \ No newline at end of file diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index 8b0876a..74fb04c 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: CH376 LIB DOCUMENTATION 2024.1 +site_name: CH376 LIB DOCUMENTATION 2024.2 markdown_extensions: - pymdownx.highlight diff --git a/src/_ch376_check_exist.s b/src/_ch376_check_exist.s index ef0ec8c..8bdd96c 100644 --- a/src/_ch376_check_exist.s +++ b/src/_ch376_check_exist.s @@ -6,14 +6,14 @@ .proc _ch376_check_exist ;;@proto unsigned char ch376_check_exist(void); - ;;@brief Send a value, if ch376 is present, it will return 0XAA + ;;@brief If ch376 is present, it will return 0XAA ;;@returns 0XAA if it's OK .endproc ;;Follow next routine .proc ch376_check_exist - ;;@brief Send a value, if ch376 is present, it will return $AA + ;;@brief If ch376 is present, it will return $AA ;;@returnsA $AA if it's OK lda #CH376_CHECK_EXIST ; sta CH376_COMMAND