tdraudio: add irq_enable flag, add pcmaudio library
runtime: disable interrupts on PTERM stdlib: check for error state in FileSize
This commit is contained in:
parent
7cc9ee807d
commit
5c00dfcec9
8 changed files with 390 additions and 21 deletions
|
|
@ -1931,6 +1931,12 @@ _CLEARESTACK_XT:
|
|||
; Terminate program: clear estack and
|
||||
; jump to coreloader
|
||||
PTERM:
|
||||
; just to be safe, disable interrupts
|
||||
LOADC $980
|
||||
LOADC 0
|
||||
STOREI
|
||||
DROP
|
||||
|
||||
LOADCP _CLEARESTACK
|
||||
CALL
|
||||
LOADCP LOADER_START
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue