Skip to content

Commit

Permalink
build documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
gh-pages committed Oct 6, 2024
0 parents commit 9d88b92
Show file tree
Hide file tree
Showing 2,061 changed files with 683,637 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 7457be1ff9555472e973fa8b842feff1
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file added .doctrees/headers/compression.doctree
Binary file not shown.
Binary file added .doctrees/headers/index.doctree
Binary file not shown.
Binary file added .doctrees/headers/intce.doctree
Binary file not shown.
Binary file added .doctrees/headers/sys/basicusb.doctree
Binary file not shown.
Binary file added .doctrees/headers/sys/index.doctree
Binary file not shown.
Binary file added .doctrees/headers/sys/lcd.doctree
Binary file not shown.
Binary file added .doctrees/headers/sys/power.doctree
Binary file not shown.
Binary file added .doctrees/headers/sys/rtc.doctree
Binary file not shown.
Binary file added .doctrees/headers/sys/timers.doctree
Binary file not shown.
Binary file added .doctrees/headers/sys/util.doctree
Binary file not shown.
Binary file added .doctrees/headers/ti/debug.doctree
Binary file not shown.
Binary file added .doctrees/headers/ti/error.doctree
Binary file not shown.
Binary file added .doctrees/headers/ti/flags.doctree
Binary file not shown.
Binary file added .doctrees/headers/ti/getcsc.doctree
Binary file not shown.
Binary file added .doctrees/headers/ti/getkey.doctree
Binary file not shown.
Binary file added .doctrees/headers/ti/index.doctree
Binary file not shown.
Binary file added .doctrees/headers/ti/info.doctree
Binary file not shown.
Binary file added .doctrees/headers/ti/python.doctree
Binary file not shown.
Binary file added .doctrees/headers/ti/real.doctree
Binary file not shown.
Binary file added .doctrees/headers/ti/screen.doctree
Binary file not shown.
Binary file added .doctrees/headers/ti/tokens.doctree
Binary file not shown.
Binary file added .doctrees/headers/ti/ui.doctree
Binary file not shown.
Binary file added .doctrees/headers/ti/vars.doctree
Binary file not shown.
Binary file added .doctrees/headers/tice.doctree
Binary file not shown.
Binary file added .doctrees/index.doctree
Binary file not shown.
Binary file added .doctrees/libraries/fatdrvce.doctree
Binary file not shown.
Binary file added .doctrees/libraries/fileioc.doctree
Binary file not shown.
Binary file added .doctrees/libraries/fontlibc.doctree
Binary file not shown.
Binary file added .doctrees/libraries/graphx.doctree
Binary file not shown.
Binary file added .doctrees/libraries/index.doctree
Binary file not shown.
Binary file added .doctrees/libraries/keypadc.doctree
Binary file not shown.
Binary file added .doctrees/libraries/libload.doctree
Binary file not shown.
Binary file added .doctrees/libraries/msddrvce.doctree
Binary file not shown.
Binary file added .doctrees/libraries/srldrvce.doctree
Binary file not shown.
Binary file added .doctrees/libraries/usbdrvce.doctree
Binary file not shown.
Binary file added .doctrees/static/asm.doctree
Binary file not shown.
Binary file added .doctrees/static/coding-guidelines.doctree
Binary file not shown.
Binary file added .doctrees/static/contributing.doctree
Binary file not shown.
Binary file added .doctrees/static/debugging.doctree
Binary file not shown.
Binary file added .doctrees/static/faq.doctree
Binary file not shown.
Binary file added .doctrees/static/fileio.doctree
Binary file not shown.
Binary file added .doctrees/static/getting-started.doctree
Binary file not shown.
Binary file added .doctrees/static/git.doctree
Binary file not shown.
Binary file added .doctrees/static/hardware.doctree
Binary file not shown.
Binary file added .doctrees/static/ides.doctree
Binary file not shown.
Binary file added .doctrees/static/makefile-options.doctree
Binary file not shown.
Binary file added .doctrees/static/printf.doctree
Binary file not shown.
Empty file added .nojekyll
Empty file.
Binary file added _images/code-review.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/graphx_buffer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/graphx_oops.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/graphx_palette.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/graphx_sprites.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/hello_world.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/ides_clion_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/ides_clion_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/ides_clion_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/ides_clion_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/ides_clion_5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/mem_layout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions _sources/headers/compression.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.. _compression_h:

compression.h
=============

.. code-block:: c
#include <compression.h>
This header includes protoypes for various (de)compression routines.

.. contents:: :local:
:depth: 3

API Documentation
-----------------

.. doxygenfile:: compression.h
:project: CE C/C++ Toolchain
16 changes: 16 additions & 0 deletions _sources/headers/index.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.. _headers:

Miscellaneous Headers
=====================

These headers contain various defines and prototypes, as well as any backwards compatibility definitions.

.. toctree::
:maxdepth: 1
:glob:

compression
intce
tice

Click any of the above links to navigate to the header's documentation.
25 changes: 25 additions & 0 deletions _sources/headers/intce.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.. _intce_h:

intce.h
=======

.. code-block:: c
#include <intce.h>
This header includes defines and prototypes for working with user interrupts.

.. warning::

As of hardware revision I, user interrupt vectors are no longer supported.
Some functions will no longer work on the newer hardware, and are labeled as such.
Feel free to send TI a strongly worded email about this limitation.

.. contents:: :local:
:depth: 3

API Documentation
-----------------

.. doxygenfile:: intce.h
:project: CE C/C++ Toolchain
20 changes: 20 additions & 0 deletions _sources/headers/sys/basicusb.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.. _basicusb_h:

sys/basicusb.h
==============

.. code-block:: c
#include <sys/basicusb.h>
Proper support for USB devices is in development.
This header does not provide that.

.. contents:: :local:
:depth: 3

API Documentation
-----------------

.. doxygenfile:: sys/basicusb.h
:project: CE C/C++ Toolchain
19 changes: 19 additions & 0 deletions _sources/headers/sys/index.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.. _sys:

CE Hardware Headers
===================

These headers are specific to the calculator's hardware, and contain various defines and prototypes.

.. toctree::
:maxdepth: 1
:glob:

basicusb
lcd
power
rtc
timers
util

Click any of the above links to navigate to the header's documentation.
19 changes: 19 additions & 0 deletions _sources/headers/sys/lcd.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.. _lcd_h:

sys/lcd.h
=========

.. code-block:: c
#include <sys/lcd.h>
This header includes defines for the PL111 LCD controller used in the CE.

.. contents:: :local:
:depth: 3

API Documentation
-----------------

.. doxygenfile:: sys/lcd.h
:project: CE C/C++ Toolchain
20 changes: 20 additions & 0 deletions _sources/headers/sys/power.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.. _power_h:

sys/power.h
===========

.. code-block:: c
#include <sys/power.h>
Power control hardware registers are not directly accessible.
However, this header provides access to OS routines that perform control functions.

.. contents:: :local:
:depth: 3

API Documentation
-----------------

.. doxygenfile:: sys/power.h
:project: CE C/C++ Toolchain
20 changes: 20 additions & 0 deletions _sources/headers/sys/rtc.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.. _rtc_h:

sys/rtc.h
=========

.. code-block:: c
#include <sys/rtc.h>
This header includes defines for the Real-Time Clock (RTC) used in the CE.
The toolchain allows both direct access to the hardware registers, and using TI's helper routines.

.. contents:: :local:
:depth: 3

API Documentation
-----------------

.. doxygenfile:: sys/rtc.h
:project: CE C/C++ Toolchain
30 changes: 30 additions & 0 deletions _sources/headers/sys/timers.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
.. _timers_h:

sys/timers.h
============

.. code-block:: c
#include <sys/timers.h>
This header includes defines for the CE's 3 hardware timers.
It is discouraged from directly modifying the timers themseleves, and instead use the standard C `clock()` fuction.
This is because the toolchain uses the timers in the following way:

* Timer 1 is used for `clock()` and related functions like `sleep()`.
* Timer 2 is used by the :ref:`usbdrvce library <usbdrvce_h>`.
* Timer 3 is used by the TI-OS USB stack and shouldn't be touched in most every case.

Directly manipulating the hardware timers may cause the above functions and/or libraries to not work correctly.
However, for example if you aren't using usbdrvce it is possible to use Timer 2 in your application.

There are two possible timing ("clock") sources: a 32768 Hz crystal with similar accuracy to the clock found in any smartphone or wristwatch, and the CPU's main 48 MHz clock with likely much inferior accuracy.

.. contents:: :local:
:depth: 3

API Documentation
-----------------

.. doxygenfile:: sys/timers.h
:project: CE C/C++ Toolchain
19 changes: 19 additions & 0 deletions _sources/headers/sys/util.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.. _util_h:

sys/util.h
==========

.. code-block:: c
#include <sys/util.h>
This header includes defines for miscellaneous CE-specific things.

.. contents:: :local:
:depth: 3

API Documentation
-----------------

.. doxygenfile:: sys/util.h
:project: CE C/C++ Toolchain
20 changes: 20 additions & 0 deletions _sources/headers/ti/debug.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.. _debug_h:

ti/debug.h
==========

.. code-block:: c
#include <ti/debug.h>
TI has implemented debugging differently than CEmu does.
This header provides access to TI's debugging API, which is not useful if you don't have their tools.

.. contents:: :local:
:depth: 3

API Documentation
-----------------

.. doxygenfile:: ti/debug.h
:project: CE C/C++ Toolchain
35 changes: 35 additions & 0 deletions _sources/headers/ti/error.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
.. _error_h:

ti/error.h
==========

.. code-block:: c
#include <ti/error.h>
Exceptions in languages like Python provide a structured way of handling rare error conditions.
TI calls their implementation of this idea error handlers.

When the OS encounters an unsusal condition such as divide-by-zero or out-of-memory, it looks for an active error handler.
If no active error handlers exist, the OS will display the :code:`ERR:` screen.
If an active error handler does exist, it gets control instead of showing the :code:`ERR:` screen.

Unlike exception handlers, TI's error handlers do not differentiate between error codes; the same error handler is called for all errors.
However, error handlers do support nesting.
If an handler decides that it can't handle an error, it can rethrow it.

.. warning::

When a TI error handler is invoked, C++ destructors **are not** run *even if the handler is outside the current scope!*
Therefore, you must be very careful with object creation while an error handler is active.

Similarly, although the toolchain supports C++, it does *not* support C++ exceptions, and TI error handlers are not a substitute for C++ exceptions.

.. contents:: :local:
:depth: 3

API Documentation
-----------------

.. doxygenfile:: ti/error.h
:project: CE C/C++ Toolchain
21 changes: 21 additions & 0 deletions _sources/headers/ti/flags.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
.. _flags_h:

ti/flags.h
==========

.. code-block:: c
#include <ti/flags.h>
TI's operating system has a lot of simple states it keeps track of, such as whether 2nd has been pressed.
These settings are stored in a structure called the system flags, and can be accessed quickly by the OS.
Most of these flags are useful only if you need to access OS mathematical or UI functions.

.. contents:: :local:
:depth: 3

API Documentation
-----------------

.. doxygenfile:: ti/flags.h
:project: CE C/C++ Toolchain
53 changes: 53 additions & 0 deletions _sources/headers/ti/getcsc.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
.. _getcsc_h:

ti/getcsc.h
===========

.. code-block:: c
#include <ti/getcsc.h>
Naturally, TI's operating system also has its own keyboard driver. This header is used to get the CSCs (current scan codes) from the keyboard driver.
You can easily use this header instead of the :code:`keypadc` library, and is particularly suited to non-game programs.

The OS's interrupt handler handles the keyboard driver and caches a scancode when it detects a key press.
You can use this scancode directly without any translation of 2nd and alpha through the :code:`os_GetCSC` function.


TI-83 Premium CE
----------------

Some keys on the TI-83 Premium CE are labeled differently, and some have completely different functions.
For convenience, there are additional equates for the TI-83 Premium CE names.
In the table below, the five keys with different functions are **emphasized.**

+---------------+-------------------+-----------------------+-------------------------+
| TI-84 Plus CE | Equate | TI-83 Premium CE | Equate |
+===============+===================+=======================+=========================+
| Y= | :code:`sk_Yequ` | f(x) | :code:`sk_Fx` |
+---------------+-------------------+-----------------------+-------------------------+
| Window | :code:`sk_Window` | Fenetre | :code:`sk_Fenetre` |
+---------------+-------------------+-----------------------+-------------------------+
| Del | :code:`sk_Del` | Suppr | :code:`sk_Suppr` |
+---------------+-------------------+-----------------------+-------------------------+
| **Apps** | :code:`sk_Apps` | **Matrice** | :code:`sk_Matrice` |
+---------------+-------------------+-----------------------+-------------------------+
| Clear | :code:`sk_Clear` | Annul | :code:`sk_Annul` |
+---------------+-------------------+-----------------------+-------------------------+
| **x^-1** | :code:`sk_Recip` | **<>** | :code:`sk_TglExact` |
+---------------+-------------------+-----------------------+-------------------------+
| **Sin** | :code:`sk_Sin` | **Trig** | :code:`sk_Trig` |
+---------------+-------------------+-----------------------+-------------------------+
| **Cos** | :code:`sk_Cos` | **Resol** | :code:`sk_Resol` |
+---------------+-------------------+-----------------------+-------------------------+
| **Tan** | :code:`sk_Tan` | **Fraction template** | :code:`sk_Frac` |
+---------------+-------------------+-----------------------+-------------------------+

.. contents:: :local:
:depth: 3

API Documentation
-----------------

.. doxygenfile:: ti/getcsc.h
:project: CE C/C++ Toolchain
26 changes: 26 additions & 0 deletions _sources/headers/ti/getkey.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
.. _getkey_h:

ti/getkey.h
===========

.. code-block:: c
#include <ti/getkey.h>
For programs that interact with the OS's user interface, you may want to use processed keystrokes instead of raw scancodes.
The :code:`os_GetKey` routine handles 2nd and alpha presses, and can even show menus.

TI-83 Premium CE
----------------

No research has been done on how the TI-83 Premium CE is different here.
However, you should be aware that on the TI-83 Premium CE, :code:`os_GetKey` may return values not included in this list.

.. contents:: :local:
:depth: 3

API Documentation
-----------------

.. doxygenfile:: ti/getkey.h
:project: CE C/C++ Toolchain
Loading

0 comments on commit 9d88b92

Please sign in to comment.