I made a computer again. It can do a lot of stuff the previous one couldn't and still can't do a lot of stuff I'd like it to be able to do. It definitely can solve quadratic equations. Check the relevant forum thread too. And try tpt.setfpscap(2)!
technology
computer
magic
electronics
16bit
processor
programmable
subframe
rt2812a
r216
Comments
-
GOSH not here. Send me a PM.
-
Okay, hold on, I'm gonna update the assembler on GitHub; I fixed a few bugs. It might be a good idea to upgrade yours from the repository every hour or so.
-
r2asm.lua:795: in function <r2asm.lua:783> [C]: in function 'xpcall' r2asm.lua:783: in main chunk [r2asm] this is a serious problem in the assembler (it was too long for one comment)
-
I logged it and it says: [r2asm] r2asm.lua:30: bad argument #2 to 'format' (number expected, got string) [r2asm] stack traceback: r2asm.lua:817: in function <r2asm.lua:815> [C]: in function 'format' r2asm.lua:30: in function 'print_e' r2asm.lua:347: in function 'print_el' r2asm.lua:543: in function <r2asm.lua:536> [C]: in function 'gsub' r2asm.lua:536: in function 'assemble_source'
-
Alright, I got the block of error text this time.
-
I don't think so.
-
Well, if you put r2asm.lua into the TPT folder, /path/to/r2asm.lua becomes simply r2asm.lua. It's not in the to directory which is inside the path directory, is it?
-
I think I might be doing something wrong. I copied one of the example programs from the manual into my code.asm file, and put the r2asm.lua file in my TPT folder. When I run loadfile("/path/to/r2asm.lua")("/path/to/code.asm") , it says I "attempted to call a nil value".
-
Good luck with that! Note that there may be a slight delay between what's in the save, what's on my server, what's on GitHub and what I'm working on currently. I'll try to keep everything up-to-date though.
-
Okay, I've got the assembler and I'm now trying to figure out how to program it. I'll be using the manual for help understanding how the assembly works and the assembly code for the quadratic equation solver for reference.