Editing Wikifang:Network Translation Patchsite/BugVM

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 95: Line 95:
|-
|-
! 5x
! 5x
| SCRCURS <br> [[#op_C54|$C54]] || || || || || || || || || || WINDIALOG <br> [[#op_AED|$AED]] || WINCLR <br> [[#op_97C|$97C]] || || || || RESLD <br> [[#op_9C6|$9C6]]
| SCRCURS <br> [[#op_C54|$C54]] || || || || || || || || || || || WINCLR <br> [[#op_97C|$97C]] || || || || RESLD <br> [[#op_9C6|$9C6]]
|-
|-
! 6x
! 6x
Line 110: Line 110:
|-
|-
! Ax
! Ax
| BLKKEY <br> [[#op_42A|$42A]] || PRMOVE <br> [[#op_1668|$1668]] || BLKMOVE <br> [[#op_3FE|$3FE]] || || || PRNAME <br> [[#op_162A|$162A]] || SPRCTRL <br> [[#op_235E|$235E]] || SPRFINISH <br> [[#op_2386|$2386]] || || || || || || WINFRARROW <br> [[#op_B05|$B05]] || || PRMON <br> [[#op_1622|$1622]]
| BLKKEY <br> [[#op_42A|$42A]] || PRMOVE <br> [[#op_1668|$1668]] || BLKMOVE <br> [[#op_3FE|$3FE]] || || || PRNAME <br> [[#op_162A|$162A]] || SPRCTRL <br> [[#op_235E|$235E]] || SPRFINISH <br> [[#op_2386|$2386]] || || || || || || || || PRMON <br> [[#op_1622|$1622]]
|-
|-
! Bx
! Bx
Line 125: Line 125:
|-
|-
! Fx
! Fx
| || BLKENC <br> [[#op_3CD|$3CD]] || || || WINARROW <br> [[#op_B10|$B10]] || || || || || || || || || || ||
| || BLKENC <br> [[#op_3CD|$3CD]] || || || || || || || || || || || || || ||
|}
|}


Line 354: Line 354:


If this window is a menu, and the item counts are configured correctly, WINFRAME will also draw the overflow arrows.
If this window is a menu, and the item counts are configured correctly, WINFRAME will also draw the overflow arrows.
|- id='op_B05'
| WINFRARROW <br> (WINdow FRame ARROW) || $AD || $B05 || None || arrow_position (TOP) -> (TOP) || Draw the current window's frame, with overflow arrows.


This is equivalent to [[#op_AFC|WINFRAME]] + [[#op_B10|WINARROW]] all at once.
|- id='op_B2D'
|- id='op_B2D'
| WINOPEN <br> (WINdow OPEN) || $B2 || $B2D || None || None || Animate the current window opening.
| WINOPEN <br> (WINdow OPEN) || $B2 || $B2D || None || None || Animate the current window opening.


This animation requires that the window span the whole width of the screen and that [[#op_1C92|TMAPSAV]] had been used to copy the screen before the window frame was drawn (e.g. with [[#op_AFC|WINFRAME]]). Execution of BugVM code is halted until the animation completes.
This animation requires that the window span the whole width of the screen and that [[#op_1C92|TMAPSAV]] had been used to copy the screen before the window frame was drawn (e.g. with [[#op_AFC|WINFRAME]]). Execution of BugVM code is halted until the animation completes.
|- id='op_AED'
| WINDIALOG <br> (WINdow DIALOG) || $5A || $AED || None || None || Draw and open the current window.
This is equivalent to [[#op_1C92|TMAPSAV]] + [[#op_AFC|WINFRAME]] + [[#op_B2D|WINOPEN]] all at once.
|- id='op_97C'
|- id='op_97C'
| WINCLR <br> (WINdow CLeaR) || $5B || $97C || None || None || Clear the active window region.
| WINCLR <br> (WINdow CLeaR) || $5B || $97C || None || None || Clear the active window region.
Line 378: Line 371:


The choice arguments are string pointers (e.g. from [[#op_941|DB]]); this opcode consumes all pointers on the data stack.
The choice arguments are string pointers (e.g. from [[#op_941|DB]]); this opcode consumes all pointers on the data stack.
|- id='op_B10'
| WINARROW <br> (WINdow ARROW) || $F4 || $B10 || None || arrow_position (TOP) -> (TOP) || Draw overflow arrows for a given menu position.
''arrow_position'' is the index of a particular selected menu choice. Overflow arrows will be drawn on top of the window frame based on this value.
|- id='op_A12'
|- id='op_A12'
| WINWAIT <br> (WINdow WAIT) || $60 || $A12 || None || None || Wait for user input.
| WINWAIT <br> (WINdow WAIT) || $60 || $A12 || None || None || Wait for user input.
Please note that all contributions to Wikifang are considered to be released under the Attribution-NonCommercial-ShareAlike 3.0 Unported (see Wikifang:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)