23 lines
489 B
Tal
23 lines
489 B
Tal
( ESOP stdlib, macro part )
|
|
|
|
|00 @Control [ &framevec $2 &io $2 &random $1 &status $1 &sound $1 &syscall $1 ]
|
|
|
|
( control block macros )
|
|
|
|
%SETSCRVEC { .Control/framevec DEO2 }
|
|
%INKEY { .Control/io DEI2 }
|
|
%PXL { .Control/io DEO2 }
|
|
%RND { .Control/random DEI }
|
|
%STACKTRACE { #ff .Control/random DEO }
|
|
%DEVSTAT { .Control/status DEI }
|
|
%SND { .Control/sound DEO }
|
|
%SYS { .Control/syscall DEO }
|
|
|
|
( some syscall macros )
|
|
|
|
%HLT { #1f SYS }
|
|
%DBG { #20 SYS SYS }
|
|
|
|
( byte to short )
|
|
%BTS { #00 SWP }
|