The LoseThos Operating System
                               Trivial Solutions

Quick start--Command Line Usage

Welcome
Features
LoseThos Constitution
Strategic Decisions
Requirements
Mysteries Explained
Clearing Confusions
Bug Stat
ChangeLog
Differences from C/C++
Compiler Directives
Help Index
Demo Index
        
-] Level 1: USER HELP
  
  -] Keyboard Ctrls
    Enter       Right-click menu
    Space Bar   Edit (view)
    Esc         Save and exit
    Shift-Esc   Abort
    Windows Key Personal Menu
    Shift-Windows Pull-down Menu
    
    Other keys: Key Map
    
  -] Mouse Ctrls
    Right-Click Right-click menu
    Left-Click  Edit (view)
    Double-Left Save and exit
    Double-Right Abort
    Top of Screen Pull-down menu
  
  Typical Cmd Line
  Glossary
  LTZ Window's Utility
  Tips on Using LoseThos
  LoseThos Quirks
  
  /* Graphics Not Rendered in HTML */   This button on the wall paper
        starts a terminal window.
  
  -] DIRECTORY STRUCTURE
    /LT/Accts Each subdirectory is an acct.  When you boot, you can select an 
    acct to login to, unless you compile OSMain soas to pick one.  Your acct 
    directory is your HOME directory and all your user data should be placed in 
    here to ease backing-up your data.  When you Install an application it will 
    create a subdirectory of your HOME directory for storage.
    
    /LT/Apps Applications are placed in subdirectories of /LT/Apps.  
    Applications should have a file called Install.CPZ which will install the 
    app for the current user acct.  The file, Load.CPZ will load the application 
    into mem.  The file, Run.CPZ, will usually load and execute the app.  To add 
    an app to your personal menu, use <CTRL-L>, insert a macro with the PopUp 
    option checked and invoke the Run.CPZ file.
    
    /LT/Demo Here you can find lots of sample code to do various things.
    
    /LT/Doc Here you can find documentation.
    
    /LT/OSMain The core of the operating system is found here.  Since priviledge 
    levels are not used, calling it a "kernel" would be confusing, but that's 
    what it is.  It is statically compiled by InstallBoot().  It is loaded by 
    the boot loader and must fit in 640K.
    
    /LT/Compiler The compiler module src code is found here.  The compiler is 
    statically compiled to produce a binary file which is loaded at boot.  It is 
    also statically compiled by InstallBoot().
    
    /LT/Adam The non-kernel part of the operating system is found here.  It is 
    JIT compiled during boot.
    
  -] DOLLAR SIGN CMDS
    Dollar Sign Cmds are rich-text cmds.  The editor, compiler, assembler and 
    operating system are seamlessly equiped to handle LoseThos rich text.  Cmds 
    like Dir() and Grep() can output links to the cmd line.
    
  -] CMD PROMPT
    The LoseThos cmd line interface is based on C/C++. Explore the ".CPZ" files. 
     A cmd which takes no args may be executed by typing the name and a 
    semicolon.  Cmds with args require placing the arg in parentheses like a 
    function call.
    
    
    Dir("*"); will list files in the current directory.
    
    Dir; uses default of "*".
    
    Cd("::/LT/Apps"); will change directories.
    
    Directories are referenced with "/" not "\".  The Boot drive is referred to 
    with "::".  Other drives are referred to by a letter and a colon.  Your user 
    acct directory is referred to with "HOME".
    
    If a file is not found in one directory, all it's parents are searched. 
    
    Ed("FILENAME.TXZ"); Invokes the editor.  See Editor cmds.  Note that editor 
    cmds work practically everywhere--like at the cmd prompt or within help.
    
    Some cmds like Grep() take a "find_files_mask".  They begin with the name of 
    a dir tree and end with a list of filename masks.  See FilesFindMatch().
    
    Grep("pattern","/LT/Demo/*.CPZ;*.TXZ;");
    
    Be aware of TEXT_FILE_MASK and SRC_FILE_MASK.
    
    
  -] BURNING CD-ROMs/DVDs
    0) Prepare a partition (drive) with the files you wish to burn.
    1) Use CDFileCreate() to make an ISO image file of a partition.
    2) Use CDImageWrite() to burn an ISO file onto a CD or DVD.
    
    Note:  You can create a Temp (File Partition) on an ordinary partition, copy 
    files into it, create an image and burn it.
    
    Bootable CD-ROMs 
  
-] Level 2: ADMIN HELP
  
  -] ADDING DRVS
    Use Mount() to mount disk drives.  
    
    See Temp File Partition for a special type of "drive".
  
  Installing
  Acct Files
  
  ::/LT/OSMain/Adam1.APZ the LoseThos equivalent of the AUTOEXEC.BAT.
  
-] Level 3: PROGRAMMER HELP
  
  Guidelines
  Differences from C/C++
  Graphics
  Multitasking
  Ltf Documents
  -] Programming Lessons::/LT/Demo/Lectures/AndNotMod.CPZ
    ::/LT/Demo/Lectures/FixedPoint.CPZ
    ::/LT/Demo/Lectures/Uncached.CPZ
    ::/LT/Demo/Lectures/Optimization.CPZ
    ::/LT/Demo/Lectures/ScreenMemory.CPZ
    ::/LT/Demo/Lectures/GraphicsCPULoad.CPZ
    ::/LT/Demo/Lectures/InterruptDemo.CPZ
    ::/LT/Demo/Lectures/Spinning.CPZ
   
  
-] Level 4: SYSTEM PROGRAMMER HELP
  
  System Programming Guide-Lines
  Hash Tables
  Keyboard Handling
  GrDC internal format
  Page Table Entries 1
  Page Table Entries 2
  PCIInterrupts.CPZ
  MemRep
  WallPaper.APZ
  Adding a New File System
  
  -] Scheduler
    Scheduler.CPZ
  -] Ltf
    Ltf
  -] Graphic Library
    MiniGrLib
  -] Compiler
    MiniCompiler
    Backend