Open main menu

Difference between revisions of "SCUMM/V6 opcodes"

1,551 bytes added ,  16:42, 9 February 2007
adding missing opcodes (still need information); typo; formatting
(beginning SCUMM/V6 opcodes page)
 
(adding missing opcodes (still need information); typo; formatting)
Line 5: Line 5:


|-|
|-|
|$AB||The constant hexadecimal byte 0xAB.
|<tt>$AB</tt>||The constant hexadecimal byte 0xAB.
|-
|-
|value[8]||A constant byte value.
|<tt>value[8]</tt>||A constant byte value.
|-
|-
|value[16]||A constant word LE value.
|<tt>value[16]</tt>||A constant word LE value.
|-
|-
|}
|}


The following conventions are used in the stack descriptions.
The following conventions are used in the stack descriptions:


{| border="1" cellpadding="2" width=100%
''(in1, in2, in3 : out1, out2)''


|-|
Indicates that the opcode is called with three items on the stack (the most recently pushed being in3) and replaces them with two items on the stack (the most recently pushed being out2).
|(in1, in2, in3 : out1, out2)||Indicates that the opcode is called with three items on the stack (the most recently pushed being in3) and replaces them with two items on the stack (the most recently pushed being out2).
|-
|}


==abs ($C4)==
==abs ($C4)==
Line 73: Line 70:
==MM 5A byteArrayDec==
==MM 5A byteArrayDec==


===MM 52 byteArrayInc==
==MM 52 byteArrayInc==


==byteArrayIndexedRead==
==byteArrayIndexedRead==
Line 395: Line 392:


==MM 94 getVerbFromXY==
==MM 94 getVerbFromXY==
==gt==
==MM6D ifClassOfls==
==MM AF isActorInBox==
==isAnyOf==
==MM 98 isSoundRunning==
==MM 73 jump==
==jumpFalse==
==jumpTrue==
==kill==
==land==
==le==
==MM 7B loadRoom==
==MM 85 loadRoomWithEgo==
==lor==
==lt==
==MM c9 miscOps==
==mul==
==neq==
==MM 78 panCameraTo==
==pickOneOf==
==pickOneOfDefault==
==MM 84 pickupObject==
==MM B8 printActor==
==MM B9 printEgo==
==MM B4 print0==
==MM B5 print1==
==MM B6 print2==
==MM B7 print3==
==MM A1 psuedoRoom==
==pushByte==
==pushByteVar==
==pushWord==
==pushWordVar==
==MM 80 putActorAtObject==
==MM 7F putActorInRoom==
==quitPauseRestart==
==MM 9B resourceRoutines==
==MM 9C roomOps==
==MM BF runScriptQuick==
==MM BE runVerbCodeQuick==
==MM A5 saveRestoreVerbs==
==MM 99 setBoxFlags==
==MM 7A setCameraAt==
==MM 6E setClass==
==MM 97 setObjectName==
==MM 61 setObjectState==
==MM 62 setObjectXY==
==MM 71 setOwner==
==MM 70 setState==
==MM AC soundKludge==
==MM 76 startMusic==
==MM 60 startObject==
==startScript==
==MM 5E startScriptEx==
==MM 74 startSound==
==MM 69 stopMusic==
==MM 65 stopObjectCode==
==MM 66 stopObjectCode==
==MM 77 stopObjectScript==
==MM 7C stopScript==
==MM B3 stopSentence==
==MM 75 stopSound==
==sub==
==MM BA talkActor==
==MM BB talkEgo==
==MM 9E verbOps==
==MM A9 wait==
==MM 75 walkActorTo==
==MM 7D walkActorToObj==
==wordArrayDec==
==wordArrayInc==
==wordArrayIndexedRead==
==wordArrayIndexedWrite==
==wordArrayRead==
==wordArrayWrite==
==wordVarDec==
==wordVarInc==
==writeByteVar==
==writeWordVar==
==zero==


''All material © 2000-2002 David Given, unless where stated otherwise.''
''All material © 2000-2002 David Given, unless where stated otherwise.''
2,051

edits