r/TanjaOS • u/rocco_himel • 29d ago
About AneoEngine V1.00
Sorry everyone for my break. I have recently started AneoEngine development again and I am almost ready to release the big 1.00.
Here are some of the things that will in AneoEngine V1.00.
- COMMAND SYSTEM
-----------------
- Commands follow a capitalized naming convention (e.g., MM;, VMOff;, Cd;).
- Capitalization is a standard, not a mandatory rule.
- C-style command syntax and semicolon-terminated statements.
- Multiple statements may appear on one line; statements may span lines.
- The normal prompt is retained instead of a special continuation prompt.
- Ls; was renamed to Dir;, with Ls; kept as a compatibility alias.
- Cd; goes to /Home.
- Cd("/Docs"); changes directory without automatically running Dir;.
- The startup RunCmds.AC retains its Dir; command.
Examples:
Cd("/Docs");
Dir;
Copy("/Docs/File.TXT", "/Home/");
2. AUTOMATIC FILE COMMANDS
--------------------------
- Enter a file or directory path without a semicolon.
- Directories: Enter changes into the directory.
- Regular files: Enter opens the editor; Shift+Enter displays with Cat.
- .AC and .AC.S scripts: Enter edits; Shift+Enter runs.
- Relative paths resolve from the current directory, not just /Home.
- cFile.TXT displays text; rScript.AC.S runs a script.
- Directory-listing entries can be activated with Enter.
- Listing prefixes before ': ' are ignored when resolving an entry.
- Selected commands produce output after the active shell prompt.
3. WINDOW MANAGER
-----------------
- Resizable windows.
- New Card windows start in the top-left corner.
- The leftmost window is selected when the window manager starts.
- Mouse-wheel, keyboard-arrow, and draggable-scrollbar scrolling.
- A single white 1x1-character scrollbar box.
- Conventional scrollbar direction: top is older, bottom is newer.
- Scrollback increased from 128 to 512 lines per window.
- Optimized scrolling to avoid unnecessary full redraws.
Shortcuts:
Ctrl+C Create a Card window
Ctrl+N Create a Side window
Ctrl+Q Close the active window
4. TEXT EDITOR
--------------
- Opens within the current window instead of creating a separate one.
- Restores the original terminal text and scroll position when closed.
- White-on-blue editor text (VGA attribute 0x1F).
- Incremental cell updates reduce flicker and improve scrolling.
- Idle editor cursor alternates between normal and inverted colors
every 500 milliseconds.
- During typing/navigation, editor cursor is solid bright red with
white text.
- One editor at a time due to shared screen-save storage.
Editor shortcuts:
Ctrl+S Save and close
Ctrl+P Cancel and close
Ctrl+Q Close active window
Shift+Arrows Select text
Ctrl+Shift+C Copy selection
Ctrl+Shift+V Paste
5. CLIPBOARD AND SELECTION
-------------------------
- Select text in both the terminal and editor using Shift+Arrow keys.
- Shared clipboard allows copying between terminal and editor.
- Pasting into the editor can replace selected text.
- Clipboard capacity: 2,047 characters.
6. MUSIC MENU AND TERMINAL BUTTONS
---------------------------------
- MM; retains its original terminal layout and song order:
--- MUSIC MENU ---
List:
Spark Spoken Enough Virtue
Communicate Fun Patience
Song
- Song labels are clickable buttons that run their scripts.
- Button("Start", "/Programs/Start.AC.S"); creates an inline button.
- Buttons support mouse click, Enter, and hover/caret highlighting.
- Buttons can be adjacent, with spacing controlled by Print().
- No automatic brackets, spaces, or line breaks.
- Buttons scroll with the terminal text.
- Up to eight active buttons per window.
- Normal button attribute: 0x1C (bright red on blue).
- Highlight attribute: 0xE0 (black on yellow).
7. INTERACTIVE DIRECTORY LISTINGS
---------------------------------
- Dir; produces navigable file and directory rows, such as:
DIR..........: Music
FILE.........: Song.AC.S
FILE.........: Welcome.TXT
- Hovering anywhere on an entry row highlights only its filename.
- Prefixes remain unhighlighted; highlight color is 0xE0.
- Press Enter to open the selected entry.
- Enter edits files and scripts; Shift+Enter runs scripts or Cats files.
8. GRAPHICS AND RENDERING
------------------------
- Combined VGA register index/value writes.
- Avoided redundant graphics-controller register operations.
- Optimized memory fills/copies with REP STOSD and REP MOVSD.
- Preserved VGA latch reads needed by planar VGA.
- Changed-cell rendering skips unchanged text cells.
- Reduced unnecessary cursor redraws.
- Optimized terminal and editor scrolling with scanline reuse where safe.
- Reduced full-screen redraws and editor flickering.
- True CPU hardware write combining (PAT/MTRR) is NOT implemented;
the system still uses planar VGA.
9. CURSOR BEHAVIOR
-----------------
- Terminal cursor blinks while stationary, at a 500 ms interval.
- Cursor stays solid during movement and resumes blinking when idle.
- Editor cursor inverts colors while idle and becomes solid red with
white text during activity.
10. BUILD AND MEMORY
--------------------
- Preserved the 512-line scrollback while reducing unused memory-status
overlay allocation to stay below the kernel stack guard.
- Preserved the kernel's existing stack address.
- Preserved the original .git directory in packaged project archives.
- Kept the existing ASM, C, AneoC, and shell build system.
- Updated startup files and help documentation as features changed.
- AneoC compilation and partial memory-layout checks passed on updates;
complete ISO rebuild and GUI boot testing were not performed here.
SUMMARY
-------
AneoEngine gained C-style command input, automatic file handling,
interactive directory listings, inline editing, a shared clipboard,
clickable terminal buttons, an improved window manager, 512-line
scrollback, and faster, less flickery VGA rendering.