Program starting as 'F:\Games\tic80\tic80.exe --cmd="load C:\Users\atesin\AppData\Roaming\com.nesbox.tic\TIC-80\zbs-test.tic& import code C:\Users\atesin\AppData\Roaming\com.nesbox.tic\TIC-80\zbs-test.lua"'.
Program 'tic80.exe' started in 'C:\Users\atesin\AppData\Roaming\com.nesbox.tic\TIC-80' (pid: 9628).
TIC-80 tiny computer
version 1.1.2837 (be42d6f)
https://tic80.com (C) 2017-2023
hello! type help for help
>load C:\Users\atesin\AppData\Roaming\com.nesbox.tic\TIC-80\zbs-test.tic& import code C:\Users\atesin\AppData\Roaming\com.nesbox.tic\TIC-80\zbs-test.lua
unknown section: import
---=== COMMAND ===---
load cartridge from the local filesystem(there's no need to type the .tic extension).
you can also load just the section (sprites, map etc) from another cart.
usage: load <cart> [code|tiles|sprites|map|sfx|music|palette|flags|screen]
note that parameter for load command ends with an ampersand "&"... this generates a parse error in cli interpreter
to fix this we must add an space before "&" in line 48, before "& import":
local cmd = string.format(tic80.." --cmd="..'"'.."load "..cart.." & import code %s"..'"',code)
but this is not the only error, i fixed it locally and found more... stay tuned (edit: see new issue #6 )
unknown section: import
note that parameter for
load
command ends with an ampersand "&"... this generates a parse error in cli interpreterto fix this we must add an space before "&" in line 48, before "& import":
but this is not the only error, i fixed it locally and found more... stay tuned (edit: see new issue #6 )