LBPHacker
LBPHacker
623 / 14
7th Jul 2018
2nd Apr 2022
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)!
magic technology electronics computer 16bit processor programmable subframe rt2812a r216

Comments

  • UltimateNuker
    UltimateNuker
    8th Jul 2018
    This is mind-blowingly awesome. No wifi and subframe! +100000
  • RebMiami
    RebMiami
    8th Jul 2018
    Okay, I'll do so.
  • LBPHacker
    LBPHacker
    8th Jul 2018
    GOSH not here. Send me a PM.
  • LBPHacker
    LBPHacker
    8th Jul 2018
    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.
  • RebMiami
    RebMiami
    8th Jul 2018
    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)
  • RebMiami
    RebMiami
    8th Jul 2018
    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'
  • RebMiami
    RebMiami
    8th Jul 2018
    Alright, I got the block of error text this time.
  • RebMiami
    RebMiami
    8th Jul 2018
    I don't think so.
  • LBPHacker
    LBPHacker
    8th Jul 2018
    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?
  • RebMiami
    RebMiami
    8th Jul 2018
    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".