Summary
Kernel calls are done with brk VALUE.
Some parameter are set into A,X,Y and some others ones needs to be set in Kernel zp memory.
Orix-sdk must be used in order to manage in the right way kernel calls
Args from commandline
Numbers
- XBINDX : convert a number to decimal
- XHEXA : convert a number to hexadecimal and printit
- XDECIM : display a number to the output
- XDECAY : Convert a string into a number (16 bits)
Memory
Files
- XOPEN : Open a file
- XWRITE : Write bytes to file
- XFREAD : read bytes from file
- XCLOSE : Close file
- XFSEEK : Seek into files
- XMKDIR : Create a folder
- XGETCWD : get current path
- XPUTCWD : change current path
- XOPENDIR : opendir
- XREADDIR : readdir (return a struct with the files)
- XRM : remove file
Text mode
Graphic mode
- XHIRES : start graphic mode
Execute
- XEXEC : Execute binary
Keyboard
- XRDW0 : Get a char from keyboard (wait for a key)
- XRD0 : check if a char is typed on the keyboard (continue execution)
Last update:
2022-11-23