Hmmm... Mongui looks interesting.
Seems to do some pretty cool stuff for a type-in.
Looking at the listing, I can see a few things that won't work as a direct conversion.
For example, use of RND and VAL.
If I get time, I'll try to do a conversion, and take notes of what I had to change.
(I don't know if it'll work though, especially the RSX commands in the listing!)