Differences
This shows you the differences between two versions of the page.
| Previous revision | |||
| — | sys [2026/09/18 17:38] (current) – [Examples] jjflash | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== SYS ====== | ||
| + | [pet] [vic20] [c64] [c16] [cplus4] [c128] [x16] [m65] | ||
| + | |||
| + | The '' | ||
| + | |||
| + | ===== Syntax ===== | ||
| + | |||
| + | <code xcbasic> | ||
| + | SYS < | ||
| + | </ | ||
| + | |||
| + | If used without the '' | ||
| + | |||
| + | If however it is used with the '' | ||
| + | |||
| + | <adm note> | ||
| + | Use the '' | ||
| + | </ | ||
| + | ===== Examples ===== | ||
| + | |||
| + | <code xcbasic> | ||
| + | SYS $C000 FAST ' calls a subroutine at $C000 without passing registers | ||
| + | SYS 64738 FAST ' restarts the machine | ||
| + | |||
| + | ' -- Printing a character on screen using the KERNAL function CHROUT | ||
| + | CONST CHROUT = $FFD2 | ||
| + | CONST ACCU = $030C ' C64 and VIC-20 only | ||
| + | POKE ACCU, ' | ||
| + | SYS CHROUT ' will output " | ||
| + | </ | ||