Re:Linus Torvalds' 1986 Sinclair QL code listing
by hschenker on Thursday July 17, 2008 @03:28AM
(#248308)
> Onko joskus tullut eteen tilanne, jossa olisit halunnut siirtää osan ikkunasta toiseen paikkaan? Homma ei onnistu ilman oheista Basic-laajennusta. Se lisää QL:n käskysvalikoimaan GMOVE-käskyn, jolla voi siirtää grafiikkaa esimerkiksi piirto-ohjelmissa.
Here's one attempt at an awkward translation of the introductory paragraph:
"Have you ever come across a situation in which you would have wanted to move part of a window to another location? Your task won't be successful without expanding the set of Basic instructions. It adds to QL's selection of commands the GMOVE command, with which you can move a graphic, for example, within a drawing program."
Also, in the bold part in the middle of the first column, it gives the calling syntax:
GMOVE (#ch),x1,y1,l,k TO x2,y2
All of this evidence leads me to believe it's a blitting function. As for how it's implemented, I have no idea - looks to me like the DATA statements basically contain Sinclair QL bytecode. Anyone got a disassembler handy for that platform? ;-)
Out of interest, does anyone know what the (#ch) might be? The rest of the parameters are obvious.