immortalvm / ivm-implementations

iVM contemporary implementations
5 stars 0 forks source link

Problems with graphic output #17

Closed elnv closed 4 years ago

elnv commented 4 years ago

We tried to execute the script that showed the short video with sound, but we didn't manage to run it. The script only prints a sequence of numbers.

The same happens with instructions "new_frame", "set_pixel", that apparently do nothing.

Our system is a linux ubuntu 18.04, and library "libgdiplus" and dotnet system are installed.

ivar-rummelhoff commented 4 years ago

It works on my machine. :-) Did you specify the output directory using the --out option? Otherwise, audio and video output is ignored. The following works on my machine (running v0.20):

cd ivm-implementations/Assembler.Tests/test_code
ivm as-run --out ~/tmp/video-5 ex4_short_video.s ex5_write_decimal_number.s
../../video.sh ~/tmp/video-5
ffplay ~/tmp/video-5/all.mp4 
elnv commented 4 years ago

Ok, now it's working. Thanks.