more sane directory name, updated binaries

This commit is contained in:
FeralChild64 committed 2020-06-26 19:44:01 +02:00
1 parent d4d32095d1
commit 76aaf298b8
697 files changed
+56 -56

No files matched your search

@@ -0,0 +1,72 @@
// #LAYOUT# STD * #TAKE
// #LAYOUT# * BASIC_0 #TAKE
// #LAYOUT# * * #IGNORE
//
// Jumptable for BASIC V2 dialect functions
//
.const function_list = List().add(
// $B4-$BF
fun_sgn,
fun_int,
fun_abs,
fun_usr,
fun_fre,
fun_pos,
fun_sqr,
fun_rnd,
fun_log,
fun_exp,
fun_cos,
fun_sin,
// $C0-$CA
fun_tan,
fun_atn,
fun_peek,
fun_len,
fun_str,
fun_val,
fun_asc,
fun_chr,
fun_left,
fun_right,
fun_mid
)
#if !HAS_OPCODES_65C02
function_jumptable_lo:
put_jumptable_lo(function_list)
function_jumptable_hi:
put_jumptable_hi(function_list)
#else // HAS_OPCODES_65C02
__before_function_jumptable:
.if (mod(*, $2) == 1) { brk } // align code so that vector never crosses page boundary
function_jumptable:
put_jumptable(function_list)
// Make sure routine size is always the same - build system limitation
.if (__before_function_jumptable == function_jumptable) { brk }
#endif
@@ -0,0 +1,61 @@
// #LAYOUT# STD * #TAKE
// #LAYOUT# * BASIC_0 #TAKE
// #LAYOUT# * * #IGNORE
//
// Default handler for all not-yet-implemented functions
//
// Note: NOPs are here just to make debugging easier (no duplicated labels)!
//
fun_sgn:
nop
fun_int:
nop
fun_abs:
nop
fun_usr:
nop
fun_fre:
nop
fun_pos:
nop
fun_sqr:
nop
fun_rnd:
nop
fun_log:
nop
fun_exp:
nop
fun_cos:
nop
fun_sin:
nop
fun_tan:
nop
fun_atn:
nop
fun_peek:
nop
fun_len:
nop
fun_str:
nop
fun_val:
nop
fun_asc:
nop
fun_chr:
nop
fun_left:
nop
fun_right:
nop
fun_mid:
nop
// Unimplemented tokens
jmp do_NOT_IMPLEMENTED_error