Files
Claro/docs/SDL12.md
T
Hermes Agent d555071406 fix: stabilize learning path, reliability and legacy Windows builds
Unify beginner syntax while preserving compatibility, repair ownership and parser guards, add verified distribution tooling and VC6 Windows 98 build inputs, and clarify documentation and release status. Preserve DOS build-input line endings and exclude generated binaries/caches.
2026-10-20 22:40:19 +00:00

1.0 KiB

SDL 1.2 Support Status

SDL 1.2 support is not included in the current stable executable.

The examples/experimental_sdl/ files are design experiments / future examples only. In Claro v2026.10.20.223203, running them with the included claro.exe will fail with:

Unknown command: SDL

Current graphics status

The stable interpreter only accepts placeholder graphics-style commands such as OPEN, CLEAR, DRAW, UPDATE, and CLOSE. These do not open a real SDL window; they only mark graphics commands as accepted for beginner script compatibility.

Planned SDL command shape

If SDL support is implemented later, the intended commands are:

  • SDL OPEN <w> <h> <title>
  • SDL CLEAR <r> <g> <b>
  • SDL RECT <x> <y> <w> <h> <r> <g> <b>
  • SDL PRESENT
  • SDL POLL
  • SDL DELAY <ms>
  • SDL CLOSE
  • SDL LOADBMP <path> AS var
  • SDL BLIT <handle> AT x y
  • SDL BLITCLIP <handle> SRC sx sy sw sh AT x y
  • SDL KEYDOWN <keycode> AS var
  • SDL MOUSE AS mx my mb

These are planned/experimental, not stable features yet.