Skip to content

Commit

Permalink
YAYA Tc565-1 / 565-2のFUNCDECL_系関数に対応
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolat committed Nov 20, 2021
1 parent 7177cfa commit c2f4ad0
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ postic http://navy.nm.land.to/post/


■更新履歴
コミットログ
https://github.com/nikolat/yaya-as-saori/commits/main

2021.11.12 builtins.aymにsleepを追加
      yaya.dllを Tc564-1に変更
      ファイルの文字コードをShift_JISからUTF-8に変更
Expand Down
33 changes: 33 additions & 0 deletions yaya_saori/builtins.aym
Original file line number Diff line number Diff line change
Expand Up @@ -1787,3 +1787,36 @@ sleep

RES.RESULT = SLEEP(TOINT(REQ.ARGS[0]))
}

funcdecl_read
{
if ARRAYSIZE(REQ.ARGS) < 2 {
LOGGING("funcdecl_read: 引数が不足しています")
-1
return
}

RES.RESULT = FUNCDECL_READ(REQ.ARGS[0], REQ.ARGS[1])
}

funcdecl_write
{
if ARRAYSIZE(REQ.ARGS) < 2 {
LOGGING("funcdecl_write: 引数が不足しています")
-1
return
}

RES.RESULT = FUNCDECL_WRITE(REQ.ARGS[0], REQ.ARGS[1])
}

funcdecl_erase
{
if ARRAYSIZE(REQ.ARGS) < 2 {
LOGGING("funcdecl_erase: 引数が不足しています")
-1
return
}

RES.RESULT = FUNCDECL_ERASE(REQ.ARGS[0], REQ.ARGS[1])
}
Binary file modified yaya_saori/yaya.dll
Binary file not shown.

0 comments on commit c2f4ad0

Please sign in to comment.