retroforth/interface/multicore.retro
crc a514c52369 all visible words now have stack comments added
FossilOrigin-Name: b6f90144f0af13ac973f6f4d5d6bbea38f8686cd218d14f6f7df03dc8dce89b8
2024-09-09 18:18:25 +00:00

24 lines
688 B
Forth

~~~
:io:core (:n-) DEVICE:MULTICORE io:scan-for io:invoke ;
:core:init (:n-) #0 io:core ;
:core:start (:an-) #1 io:core ;
:core:pause (:n-) #2 io:core ;
:core:pause-current (:-) #3 io:core ;
:core:resume (:n-) #4 io:core ;
:core:read/reg (:n-v) #5 io:core ;
:core:write/reg (:vn-) #6 io:core ;
~~~
~~~
'interface/multicore.retro s:dedup
dup 'io:core d:lookup d:source store
dup 'core:init d:lookup d:source store
dup 'core:start d:lookup d:source store
dup 'core:pause d:lookup d:source store
dup 'core:pause-current d:lookup d:source store
dup 'core:resume d:lookup d:source store
dup 'core:read/reg d:lookup d:source store
dup 'core:write/reg d:lookup d:source store
drop
~~~