To move the window over some portion of the memory screen that you want displayed, you can move the virtual cursor to the position you want displayed and then call wn_adj(). Alternatively, you can explicitly change the origin of the window in the memory screen with the set window origin function, sw_org().
|
||
|
|
|
|
|
|
|
|
|
After a call to sw_org(), you should update the window with wn_upd(). The row you specify will then appear as the first row in the window, and the column you specify will then appear as the first column in the window.
If you specify an origin so far down or to the right in the memory screen so that the window extends beyond the edge of the memory screen, the system will move the origin back so that the window is within the boundaries of the memory screen.