It's always exciting to get something working, and so I was really chuffed to day: Funktal is finally so far that I could implement the Uxn DVD Bounce demo, and it works! Here is a short video. #Funktal #Uxn
@neauoire The dvd.tal demo has a BRK for on-frame, and I think that is what it should be. With a JMP2r, it would try to get a value from the RST but there is nothing there because for vectors there is no JSR. That's what was wrong with my code.
So what I've done is added a new function, `done`, which simply emits as BRK.
Devine Lu Linvega
in reply to WimⓂ️ • • •you implemented devices! Well done 😁
For anyone looking for the ftal sources: https://codeberg.org/wimvanderbauwhede/funktal/src/branch/main/examples/dvd.ftal
funktal
Codeberg.orgWimⓂ️
in reply to Devine Lu Linvega • • •@neauoire Yes, it's generic so it will work for all devices. I'm very happy I got it to work!
I am puzzled that I get "Return stack underflow" , even if the vector is a totally empty routine.
Have you encountered that before?
Devine Lu Linvega
Unknown parent • • •WimⓂ️
in reply to Devine Lu Linvega • • •@neauoire The dvd.tal demo has a BRK for on-frame, and I think that is what it should be. With a JMP2r, it would try to get a value from the RST but there is nothing there because for vectors there is no JSR. That's what was wrong with my code.
So what I've done is added a new function, `done`, which simply emits as BRK.
@csepp