Datetime syscall fixed and compat macro introduced

This commit is contained in:
Luxferre
2022-07-31 18:37:56 +03:00
parent f2bad1455f
commit cf6a6e4259
4 changed files with 37 additions and 8 deletions
+6
View File
@@ -3,6 +3,8 @@
|00 @Control [ &framevec $2 &io $2 &random $1 &status $1 &sound $1 &syscall $1 ]
|c0 @DateTime [ &year $2 &month $1 &day $1 &hour $1 &minute $1 &second $1 &dotw $1 &doty $2 &dst $1 ]
( control block macros )
%SETSCRVEC { .Control/framevec DEO2 }
@@ -24,6 +26,10 @@
%DBGBYTE { DUP DBG }
( val* -- val* )
%DBGSHORT { DUP2 SWP DBG DBG }
( addr* -- addr* )
%DATETIME { DUP2 #46 SYS SWP SYS SYS }
( load date and time into #00c0 similarly to Varvara or SPARTA specs )
%DATETIME-COMPAT { #c000 #46 SYS SYS SYS }
( input helper macros )