Trivial Solutions Corp.
                        Happy Programmers Make Us Happy

The LoseThos 64-bit PC Operating System



This is sample code to dispel doubts about LoseThos.  This code only compiles 
with the LoseThos compiler/assembler.  See Language Differences from C/C++.

::/LT/OSMain/Adam1a.HPZ         Main header file
::/LT/OSMain/OSAsmDefs.HPZ      Asm header file
::/LT/OSMain/Disk/ATADef.HPZ    Drive hardware header file

Booting
::/LT/Opt/Boot/BootCD.SPZ               CD boot sector
::/LT/Opt/Boot/BootHDExt.SPZ    Hard drive boot sector
::/LT/Opt/Boot/InsBoot.APZ      Installs and patches boot sectors

Kernel
::/LT/OSMain/OSStartUp.CPZ      Operating system start-up
::/LT/OSMain/Scheduler.CPZ
::/LT/OSMain/Memory.CPZ
::/LT/OSMain/Compress.CPZ       File compression algorithm
::/LT/OSMain/Interrupts.CPZ
::/LT/OSMain/MultiProc.CPZ      Multicore code
::/LT/OSMain/OSMain.CPZ
::/LT/OSMain/Hash1a.CPZ         Symbol table and module loading
::/LT/OSMain/BIOS32.CPZ
::/LT/OSMain/Date.CPZ
::/LT/OSMain/Display.CPZ
::/LT/OSMain/Define1a.CPZ
::/LT/OSMain/Except.CPZ
::/LT/OSMain/QSort.CPZ
::/LT/OSMain/FIFO.CPZ
::/LT/OSMain/Misc1a.CPZ
::/LT/OSMain/Dbg1a.CPZ
::/LT/OSMain/SysUtils.CPZ
::/LT/OSMain/Str1a.CPZ
::/LT/OSMain/Task1a.CPZ
::/LT/OSMain/TaskCmd.CPZ        Interprocess communication
::/LT/OSMain/USB1a.CPZ
::/LT/OSMain/KbdMouse/Keyboard.CPZ
::/LT/OSMain/KbdMouse/Mouse.CPZ
::/LT/OSMain/Disk/DiskATA.CPZ   Low level disk access
::/LT/OSMain/Disk/DiskCache.CPZ
::/LT/OSMain/Disk/Disk1a.CPZ
::/LT/OSMain/Disk/Disk1b.CPZ
::/LT/OSMain/Disk/Disk1c.CPZ
::/LT/OSMain/Disk/DiskAddDev.CPZ
::/LT/OSMain/Disk/DiskDir.CPZ
::/LT/OSMain/Disk/DiskLTFile.CPZ
::/LT/OSMain/Disk/DiskStr.CPZ
::/LT/OSMain/Disk/FileSysFAT.CPZ FAT32 file system
::/LT/OSMain/Disk/FileSysLT.CPZ  Native LoseThos file system
::/LT/OSMain/Disk/FileSysISO1.CPZ ISO9660 CD-ROM file system
::/LT/OSMain2/SPrintF2.CPZ

::/LT/Adam/Disk2a.APZ
::/LT/Adam/DiskCDDVD.APZ        Creates a ISO9660 CD/DVD disk image file
::/LT/Adam/Ode.APZ              Differential Equations
::/LT/Adam/Hash2a.APZ
::/LT/Adam/Math.APZ
::/LT/Adam/Utils2a.APZ
::/LT/Adam/Window.APZ           Window Manager

Compiler
::/LT/Compiler/Lex.CPZ
::/LT/Compiler/OpCodes.TXZ      Opcode data file
::/LT/Compiler/Assembler.CPZ
::/LT/Compiler/Unassembler.CPZ
::/LT/Compiler/CmpAsm.CPZ
::/LT/Compiler/CodeGen.CPZ
::/LT/Compiler/Hash1b.CPZ
::/LT/Compiler/CmpInit.CPZ
::/LT/Compiler/CmpMain.CPZ
::/LT/Compiler/ExpParser.CPZ
::/LT/Compiler/StmtParser.CPZ
::/LT/Compiler/OptPass012.CPZ   Optimization pass. Simplifying, const exp's
::/LT/Compiler/OptPass3.CPZ     Allocating register variables
::/LT/Compiler/OptPass4.CPZ
::/LT/Compiler/OptPass5.CPZ
::/LT/Compiler/OptPass6.CPZ
::/LT/Compiler/OptPass789A.CPZ
::/LT/Compiler/BackEnd.CPZ

Graphics Library
::/LT/Adam/Gr/GrNew.APZ
::/LT/Adam/Gr/GrScreen.APZ
::/LT/Adam/Gr/GrBitMap.APZ
::/LT/Adam/Gr/GrAsm.APZ
::/LT/Adam/Gr/GrConfig.APZ
::/LT/Adam/Gr/GrChar.APZ
::/LT/Adam/Gr/GrComposites.APZ
::/LT/Adam/Gr/GrPrimatives.APZ
::/LT/Adam/Gr/GrMath.APZ
::/LT/Adam/Gr/GrMesh.APZ
::/LT/Adam/Gr/GrElemPlot.APZ
::/LT/Adam/Gr/GrElemEdit.APZ
::/LT/Adam/Gr/GrElemInsert.APZ
::/LT/Adam/Gr/GrVectMap.APZ

HD Audio
::/LT/Adam/Snd/Snd.APZ
::/LT/Adam/Snd/AudioMath.APZ
::/LT/Adam/Snd/Music.APZ
::/LT/Opt/Snd/HDAudio.APZ
::/LT/Opt/Snd/SndFile.APZ

Editor/Browser
::/LT/Adam/Ltf/Ltf.APZ
::/LT/Adam/Ltf/LtfNew.APZ
::/LT/Adam/Ltf/LtfFile.APZ
::/LT/Adam/Ltf/LtfPlain.APZ
::/LT/Adam/Ltf/LtfMain.APZ
::/LT/Adam/Ltf/LtfCtrlL.APZ
::/LT/Adam/Ltf/LtfEdit.APZ
::/LT/Adam/Ltf/LtfRecalc.APZ
::/LT/Adam/Ltf/LtfPopUp.APZ
::/LT/Adam/Ltf/LtfHighlight.APZ
::/LT/Adam/Ltf/LtfMacro.APZ
::/LT/Adam/Ltf/LtfBible.APZ

::/LT/Opt/ToHtml.APZ

WordStat AutoComplete/Jump to Code Feature
::/LT/Adam/WordStat/WordStat.APZ
::/LT/Adam/WordStat/WsMain.APZ  
::/LT/Adam/WordStat/WsDict.APZ
::/LT/OSMain2/PSect.CPZ         Address to label conversion
::/LT/Opt/IDE.APZ               Not very good debugger :-)

File Manager
::/LT/Adam/FileMgr.APZ
::/LT/Doc/FileMgr.TXZ           File Manager Menu

Some Applications
::/LT/Apps/Tanks/Tanks.CPZ
::/LT/Demo/GameStarters/FlightSim.CPZ
::/LT/Apps/KeepAway/KeepAway.CPZ
::/LT/Demo/GameStarters/FPS.CPZ
::/LT/Apps/X-Caliber/X-Caliber.CPZ
::/LT/Demo/GameStarters/Squirt.CPZ
::/LT/Apps/MusicOrgan/Organ.CPZ

For a full list of source file names and line counts, see Source File List.