| Table of Contents |
1.1 Applications of TempleOS
Public Domain Operating System
x86-64 Lightweight Efficiency
16-color Divine Simplicity
Engaging Programming Environment
1.2 Setting up the environment
TempleOS 5.03
Boot with VirtualBox
Boot with UTM on Mac
Boot with QEMU
Boot with VMWare
Concluding Hypervisors
1.3 OSInstall.HC
Live Disk Install
Live Disk Features
1.4 Types and Terms
HolyC
Functions
Switch Statements
Classes
Pointers
RedSea
Data Types
References
2.1 The Directory Structure
Top Root Directory
2.1.1 Change FPS Exercise 1
Bottom Root Directory
Other Files
2.1.2 Modifying Startup Exercise 2
2.2 HolyC Files
The Help Menu
File Manager
2.2.1 Custom Personal Menu Exercise 3
2.2.2 AutoComplete Exercise 4
Extensions
CDirEntry
Compression
2.3 Managing Tasks
Flags
2.3.1 Custom Boot View Exercise 5
Tasks and Jobs
2.3.2 Custom Boot Window Exercise 6
Memory Management
2.3.3 Hardware Report Exercise 7
2.4 Multicore
Scoping and Linkage
Spawning Threads
Bit Tests
References
3.1 RedSea U8
Characters
Strings
StrUtil
3.2 Print
3.2.1 String Memory Management Exercise 8
Arguments
Define Strings
3.3 Reading and Writing from Files
FileWrite
FileRead
3.3.1 Find Text Files Exercise 9
3.3.2 Serialization Exercise 10
3.4 Collections
Arrays
CQue
FIFO
3.5 Hash
CHashTable
HashTable API
References
4.1 GSRE
Sprite Main Menu
Sprite SideBar
Sprite BitMap Menu
4.2 Device Context
4.2.1 Dynamic Drawing Exercise 11
Plotting Sprites
4.2.2 Transformations Exercise 12
Raster Operations
4.3 Screen Layers
TextBase and Task Layers
Screen Procedures
4.4 3D Graphics
Hoppy
Depth Buffers
References
5.1 Unions
5.2 DolDoc
CDocEntry
Formatting
Key Handling
5.3 Meta Data
ClassRep
The #exe {} Expression
References
6.1 RAM
Memory Mapping
6.2 The Heap
Fragmentation
6.3 Scheduler
Optimized for the CPU
Port-Mapped I/O (PMIO)
References
7.1 Random Numbers
7.2 Words
god.fifo
God Passages
7.3 Songs
Play
Ona
Toolsets
Frequency
7.4 Art
References
8.1 The CPU Diagram
CPU Components
8.2 Assembler
Opcode Instructions
Adding Assembly
8.3 Pointer Assembly
Base Pointer
TempleOS ABI
Register Sizes
8.4 More Commands
Loops
Floating Points
References
9.1 Simplified Compiler
Mini Compiler
9.2 Lexer
Preprocessing
CCmpCtrl
9.3 The Parser
Reverse Polish Notation
Intermediate Codes
9.4 The Code Generator
Compiler Options
Just in Time
References
10.1 Exception Handling
Try-Catch
Assembly Debugging
10.2 Launching the Debugger
Syntax
Panic
10.3 Breakpoints
Unassemble
Adding the Breakpoint
Resume Execution
10.4 Interrupts
Interrupt Descriptor Table
Interrupt Handlers
References
11.1 Input Devices
PS/2 Six Pins
The Shift Register
11.2 Keyboard
Movement Controls
11.3 Mouse
11.3.1 Custom Mouse Cursor Exercise 20
Message Events
Simulate Key
11.4 Disk Drive
El-Torito
ISO From Scratch
References
12.1 Sharing Software
Distribution
Loading ISO.C Files
12.2 Aiwnios
Building the Compiler
Userspace Compilation
Other Features
12.3 Forks
Shrine
TinkerOS
ZealOS
12.4 Toom
Install
Rendering
BSP
12.5 The Future of TempleOS
References
|