Retro Rocket OS
BASIC-Powered Operating System
Loading...
Searching...
No Matches
LCPUID Function
result = LCPUID(integer-expression, integer-expression)

Executes a legacy CPUID query.

  • The first parameter is the leaf.
  • The second parameter is the subleaf.

The function always returns 0, but updates the legacy “last CPUID” information for later retrieval.


Examples

REM Run CPUID leaf 1, subleaf 0
dummy = LCPUID(&1, 0)

Notes

  • This is a legacy function (the L stands for “legacy”).
  • Always returns 0; its purpose is to update internal state.
  • For new code, use CPUID instead.

See also: CPUID