API

From SpecNext official Wiki
Revision as of 15:03, 8 March 2024 by SevenFFF (talk | contribs)
Jump to: navigation, search

NextZXOS has two APIs which can be used to make ROM calls.

The NextZXOS API directly descends from the +3DOS API present in the Sinclair ZX Spectrum +2A/+2B/+3, and the IDEDOS API additionally provided with the ZX Spectrum +3e ROMs.

The esxDOS API is compatible with esxDOS 0.8.x, but contains several enhancements.

The latest reference documentation for the APIs is on the distro and Next SD card at c:/docs/NextZXOS/NextZXOS_and_esxDOS_APIs.pdf, and online at gitlab.

The APIs are published and kept up to date for each new NextZXOS and NextBASIC release. In Next-specific programs, all ROM calls should be made through the APIs, so that your code continues to work in future versions. Other code inside the ROM is not documented, and may (and does) move around between releases.