forked from project64/project64
-
Notifications
You must be signed in to change notification settings - Fork 0
/
JS-API-Documentation.html
2141 lines (2062 loc) · 174 KB
/
JS-API-Documentation.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<!-- Generated Jan 12 2022 -->
<!-- YAML source: https://github.com/shygoo/pj64d-docs -->
<head>
<title>Project64 JavaScript API 2022.01.12</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
<style>
:root {
--clr-bg0: #EEE;
--clr-bg1: #FFF;
--clr-bg2: #DDD;
--clr-bg3: #CCC;
--clr-bg4: #BBB;
--clr-text: #222;
--clr-hr: #ECC;
--clr-link: #090;
--clr-link-hover: #070;
--clr-link-unstable: #990;
--clr-link-unstable-hover: #770;
--clr-highlight: #DFD;
--clr-tag-blue: #8AD;
--clr-tag-red: #D77;
--clr-js-keyword: #22F;
--clr-js-string: #880;
--clr-js-number: #722;
--clr-js-comment: #272;
--clr-js-word: #222;
--clr-js-etc: #666;
}
[data-theme="dark"] {
--clr-bg0: #222;
--clr-bg1: #2A2A2A;
--clr-bg2: #444;
--clr-bg3: #555;
--clr-bg4: #666;
--clr-text: #FFF;
--clr-hr: #744;
--clr-link: #8D8;
--clr-link-hover: #7C7;
--clr-link-unstable: #DD8;
--clr-link-unstable-hover: #CC7;
--clr-highlight: #252;
--clr-tag-blue: #247;
--clr-tag-red: #722;
--clr-js-keyword: #67F;
--clr-js-string: #FFA;
--clr-js-number: #FAA;
--clr-js-comment: #7A7;
--clr-js-word: #FFF;
--clr-js-etc: #AAA;
}
*::-webkit-scrollbar {
background: #FFF;
background: var(--clr-bg1);
border: 1px solid #FFF;
border-color: var(--clr-bg1);
width: 1.2em;
padding: 2px;
margin: 2px;
}
*::-webkit-scrollbar-thumb {
background: #DDD;
background: var(--clr-bg2);
border: 2px solid #FFF;
border-color: var(--clr-bg1);
}
*::-webkit-scrollbar-thumb:hover {
background: #CCC;
background: var(--clr-bg3);
}
*::-webkit-scrollbar-thumb:active {
background: #BBB;
background: var(--clr-bg4);
}
body {
margin: 0px;
background: #EEE;
background: var(--clr-bg0);
font-family: 'Open Sans', sans-serif;
font-size: 14px;
color: #222;
color: var(--clr-text);
}
a {
color: #090;
color: var(--clr-link);
text-decoration: none;
}
a:hover {
color: #070;
color: var(--clr-link-hover);
}
table {
border-collapse: collapse;
border-spacing: 0px;
font-size: inherit;
}
thead {
font-weight: bold;
background: #EEE;
background: var(--clr-bg0);
}
td {
border: 1px solid #CCC;
border-color: var(--clr-bg3);
padding: 2px 6px;
}
ul {
color: #222;
color: var(--clr-text);
padding-inline-start: 20px;
}
hr {
border: none;
border-top: 1px solid #ECC;
border-color: var(--clr-hr);
}
div.pagetitle {
font-size: 1.5em;
font-weight: bold;
}
div.module {
border-top: 1px solid #ECC;
border-color: var(--clr-hr);
padding: 20px;
margin-bottom: 10px;
background: #FFF;
background: var(--clr-bg1);
}
div.modtitle {
font-size: 2em;
font-weight: bold;
}
div.prop {
border-top: 1px solid #DDD;
border-color: var(--clr-bg2);
padding-top: 20px;
margin-top: 20px;
font-size: 1.3em;
font-weight: bold;
}
span.title:target {
background: #DFD;
background: var(--clr-highlight);
}
span.title2 {
font-size: 1.3em;
font-weight: bold;
}
div.tsproto {
font-size: 0.8em;
font-family: monospace;
}
div.desc {
margin-top: 10px;
padding: 5px;
}
span.snip {
display: inline-block;
background: #EEE;
background: var(--clr-bg0);
font-family: monospace;
padding-left: 2px;
padding-right: 2px;
}
div.tag {
float:right;
font-size: 12px;
padding: 2px 8px;
border-radius: 4px;
font-weight: normal;
}
div.tag.blue {
background: #8AD;
background: var(--clr-tag-blue);
}
div.tag.red {
background: #D77;
background: var(--clr-tag-red);
}
div.sidebar {
width: 440px;
position: fixed;
top: 0px;
left: 0px;
bottom: 0px;
overflow-y: auto;
background: #FFF;
background: var(--clr-bg1);
}
div.sidebar-content {
font-size: 13px;
padding: 10px;
}
div.content {
margin-left: 440px;
padding: 10px;
}
pre.ex {
margin-top: 10px;
padding: 10px;
font-family: monospace;
font-size: 0.9em;
background: #EEE;
background: var(--clr-bg0);
color: #666;
color: var(--clr-js-etc);
white-space: pre-wrap;
}
a.unstable {
color: var(--clr-link-unstable);
}
a.unstable:hover {
color: var(--clr-link-unstable-hover);
}
span.js-keyword { color: #22F; color: var(--clr-js-keyword); }
span.js-string { color: #880; color: var(--clr-js-string); }
span.js-number { color: #722; color: var(--clr-js-number); }
span.js-comment { color: #272; color: var(--clr-js-comment); }
span.js-word { color: #222; color: var(--clr-js-word); }
</style>
<script>
if(localStorage && localStorage.getItem('theme')) {
document.documentElement.setAttribute('data-theme', localStorage.getItem('theme'));
}
else if(window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches) {
document.documentElement.setAttribute('data-theme', 'dark');
}
window.addEventListener('load', function() {
if(document.documentElement.getAttribute('data-theme') == 'dark') {
document.querySelector('#darkmode-toggle').checked = true;
}
document.querySelector('#darkmode-toggle').onchange = function(e) {
var theme = e.target.checked ? 'dark' : 'default';
document.documentElement.setAttribute('data-theme', theme);
if(localStorage) {
localStorage.setItem('theme', theme);
}
}
});
</script>
</head>
<body>
<div class="sidebar">
<div class="sidebar-content">
<div class="pagetitle">Project64 JavaScript API</div>
2022.01.12
<hr>
<ul>
<p><li><a class="" href="#Project64 JavaScript API">Project64 JavaScript API</a><ul>
<li><a class="" href="#Required_settings">Required settings</a></li>
<li><a class="" href="#Script_console">Script console</a></li>
<li><a class="" href="#JavaScript_environment">JavaScript environment</a></li>
</ul></li></p>
<p><li><a class="" href="#console">console</a>: Console interface<ul>
<li><a class="" href="#console_log">console.log(message[, ...])</a></li>
<li><a class="" href="#console_print">console.print(message[, ...])</a></li>
<li><a class="" href="#console_error">console.error(err)</a></li>
<li><a class="" href="#console_clear">console.clear()</a></li>
<li><a class="" href="#console_listen">console.listen(inputListener)</a></li>
</ul></li></p>
<p><li><a class="" href="#pj64">pj64</a>: Project64 interface<ul>
<li><a class="" href="#pj64_open">pj64.open(romPath)</a></li>
<li><a class="" href="#pj64_close">pj64.close()</a></li>
<li><a class="" href="#pj64_reset">pj64.reset([soft])</a></li>
<li><a class="" href="#pj64_pause">pj64.pause()</a></li>
<li><a class="" href="#pj64_resume">pj64.resume()</a></li>
<li><a class="" href="#pj64_limitfps">pj64.limitfps(limitFps)</a></li>
<li><a class="" href="#pj64_installDirectory">pj64.installDirectory</a></li>
<li><a class="" href="#pj64_scriptsDirectory">pj64.scriptsDirectory</a></li>
<li><a class="" href="#pj64_modulesDirectory">pj64.modulesDirectory</a></li>
<li><a class="" href="#pj64_romDirectory">pj64.romDirectory</a></li>
<li><a class="" href="#pj64_romInfo">pj64.romInfo</a></li>
</ul></li></p>
<p><li><a class="" href="#mem">mem</a>: N64 memory interface<ul>
<li><a class="" href="#mem__">mem.u8|u16|u32|s8|s16|s32|f32|f64</a></li>
<li><a class="" href="#mem_bindvar">mem.bindvar(object, address, name, typeId)</a></li>
<li><a class="" href="#mem_bindvars">mem.bindvars(object, vars)</a></li>
<li><a class="" href="#mem_bindstruct">mem.bindstruct(object, address, properties)</a></li>
<li><a class="" href="#mem_typedef">mem.typedef(properties)</a></li>
<li><a class="" href="#mem_getblock">mem.getblock(address, length)</a></li>
<li><a class="" href="#mem_setblock">mem.setblock(address, data[, length])</a></li>
<li><a class="" href="#mem_getstring">mem.getstring(address[, length])</a></li>
<li><a class="" href="#mem_setstring">mem.setstring(address, data[, length])</a></li>
<li><a class="" href="#mem_ramSize">mem.ramSize</a></li>
<li><a class="" href="#mem_romSize">mem.romSize</a></li>
<li><a class="" href="#mem_ptr">mem.ptr</a></li>
</ul></li></p>
<p><li><a class="" href="#events">events</a>: Event hooking interface<ul>
<li><a class="" href="#events_onstatechange">events.onstatechange(callback)</a></li>
<li><a class="" href="#EmuStateChangeEvent">EmuStateChangeEvent</a></li>
<li><a class="" href="#events_onexec">events.onexec(address, callback)</a></li>
<li><a class="" href="#CPUExecEvent">CPUExecEvent</a></li>
<li><a class="" href="#events_onread">events.onread(address, callback)</a></li>
<li><a class="" href="#events_onwrite">events.onwrite(address, callback)</a></li>
<li><a class="" href="#CPUReadWriteEvent">CPUReadWriteEvent</a></li>
<li><a class="" href="#events_onopcode">events.onopcode(address, opcode, mask, callback)</a></li>
<li><a class="" href="#CPUOpcodeEvent">CPUOpcodeEvent</a></li>
<li><a class="" href="#events_ongprvalue">events.ongprvalue(address, regFlags, value, callback)</a></li>
<li><a class="" href="#GPR_flags">General purpose register flags</a></li>
<li><a class="" href="#CPURegValueEvent">CPURegValueEvent</a></li>
<li><a class="" href="#events_onpifread">events.onpifread(callback)</a></li>
<li><a class="" href="#GenericEvent">GenericEvent</a></li>
<li><a class="" href="#events_onsptask">events.onsptask(callback)</a></li>
<li><a class="" href="#SPTaskEvent">SPTaskEvent</a></li>
<li><a class="" href="#events_onpidma">events.onpidma(callback)</a></li>
<li><a class="" href="#PIEvent">PIEvent</a></li>
<li><a class="" href="#events_onmousedown">events.onmousedown(callback)</a></li>
<li><a class="" href="#events_onmouseup">events.onmouseup(callback)</a></li>
<li><a class="" href="#events_onmousemove">events.onmousemove(callback)</a></li>
<li><a class="" href="#MouseEvent">MouseEvent</a></li>
<li><a class="" href="#events_remove">events.remove(callbackId)</a></li>
</ul></li></p>
<p><li><a class="" href="#AddressRange">AddressRange</a>: Address range class<ul>
<li><a class="" href="#new_AddressRange">new AddressRange(start, end)</a></li>
<li><a class="" href="#range_size">range.size()</a></li>
<li><a class="" href="#range_includes">range.includes(address)</a></li>
<li><a class="" href="#range_offset">range.offset(address)</a></li>
<li><a class="" href="#range_address">range.address(offset)</a></li>
<li><a class="" href="#range_start">range.start</a></li>
<li><a class="" href="#range_end">range.end</a></li>
</ul></li></p>
<p><li><a class="" href="#N64Image">N64Image</a>: N64 image class<ul>
<li><a class="" href="#new_N64Image">new N64Image(width, height[, format [, pixels[, palette]]])</a></li>
<li><a class="" href="#N64Image_fromPNG">N64Image.fromPNG(pngData[, format])</a></li>
<li><a class="" href="#N64Image_format">N64Image.format(gbiFmt, gbiSiz[, gbiTlutFmt])</a></li>
<li><a class="" href="#N64Image_bpp">N64Image.bpp(format)</a></li>
<li><a class="" href="#image_toPNG">image.toPNG()</a></li>
<li><a class="" href="#image_update">image.update()</a></li>
<li><a class="" href="#image_format">image.format</a></li>
<li><a class="" href="#image_width">image.width</a></li>
<li><a class="" href="#image_height">image.height</a></li>
<li><a class="" href="#image_pixels">image.pixels</a></li>
<li><a class="" href="#image_palette">image.palette</a></li>
</ul></li></p>
<p><li><a class="" href="#cpu">cpu</a>: CPU register interface<ul>
<li><a class="" href="#cpu_pc">cpu.pc</a></li>
<li><a class="" href="#cpu_hi">cpu.hi</a></li>
<li><a class="" href="#cpu_lo">cpu.lo</a></li>
<li><a class="" href="#cpu_uhi">cpu.uhi</a></li>
<li><a class="" href="#cpu_ulo">cpu.ulo</a></li>
<li><a class="" href="#cpu_gpr__">cpu.gpr.r0|at|v0|v1..ra</a></li>
<li><a class="" href="#cpu_ugpr__">cpu.ugpr.r0|at|v0|v1..ra</a></li>
<li><a class="" href="#cpu_fpr__">cpu.fpr.f0..f31</a></li>
<li><a class="" href="#cpu_dfpr__">cpu.dfpr.f0..f30</a></li>
<li><a class="" href="#cpu_cop0">cpu.cop0.index..errorepc</a></li>
</ul></li></p>
<p><li><a class="" href="#debug">debug</a>: Debugger interface<ul>
<li><a class="" href="#debug_breakhere">debug.breakhere([silent])</a></li>
<li><a class="" href="#debug_resume">debug.resume()</a></li>
<li><a class="" href="#debug_step">debug.step()</a></li>
<li><a class="" href="#debug_skip">debug.skip()</a></li>
<li><a class="" href="#debug_showmemory">debug.showmemory(address[, physical])</a></li>
<li><a class="" href="#debug_showcommands">debug.showcommands(address)</a></li>
<li><a class="" href="#debug_paused">debug.paused</a></li>
</ul></li></p>
<p><li><a class="" href="#asm">asm</a>: ASM utilities<ul>
<li><a class="" href="#asm_encode">asm.encode(command[, address])</a></li>
<li><a class="" href="#asm_decode">asm.decode(opcode[, address])</a></li>
<li><a class="" href="#asm_gprname">asm.gprname(regIndex)</a></li>
</ul></li></p>
<p><li><a class="" href="#fs">fs</a>: File system interface<ul>
<li><a class="" href="#fs_open">fs.open(path, mode)</a></li>
<li><a class="" href="#fs_close">fs.close(fd)</a></li>
<li><a class="" href="#fs_write">fs.write(fd, buffer[, offset[, length[, position]]])</a></li>
<li><a class="" href="#fs_writefile">fs.writefile(path, buffer)</a></li>
<li><a class="" href="#fs_read">fs.read(fd, buffer, offset, length, position)</a></li>
<li><a class="" href="#fs_readfile">fs.readfile(path)</a></li>
<li><a class="" href="#fs_exists">fs.exists(path)</a></li>
<li><a class="" href="#fs_fstat">fs.fstat(fd)</a></li>
<li><a class="" href="#fs_stat">fs.stat(path)</a></li>
<li><a class="" href="#fs_unlink">fs.unlink(path)</a></li>
<li><a class="" href="#fs_mkdir">fs.mkdir(path)</a></li>
<li><a class="" href="#fs_rmdir">fs.rmdir(path)</a></li>
<li><a class="" href="#fs_readdir">fs.readdir(path)</a></li>
<li><a class="" href="#fs_Stats">fs.Stats</a></li>
</ul></li></p>
<p><li><a class="" href="#Socket">Socket</a>: TCP socket class<ul>
<li><a class="" href="#new_Socket">new Socket([options])</a></li>
<li><a class="" href="#socket_connect">socket.connect(port, host[, connectListener])</a></li>
<li><a class="" href="#socket_write">socket.write(data[, callback])</a></li>
<li><a class="" href="#socket_end">socket.end([data[, callback]])</a></li>
<li><a class="" href="#socket_close">socket.close()</a></li>
<li><a class="" href="#socket_on_connect">socket.on('connect', listener)</a></li>
<li><a class="" href="#socket_on_lookup">socket.on('lookup', listener)</a></li>
<li><a class="" href="#socket_on_data">socket.on('data', listener)</a></li>
<li><a class="" href="#socket_on_end">socket.on('end', listener)</a></li>
<li><a class="" href="#socket_on_close">socket.on('close', listener)</a></li>
<li><a class="" href="#socket_on_drain">socket.on('drain', listener)</a></li>
<li><a class="" href="#socket_on_error">socket.on('error', listener)</a></li>
<li><a class="" href="#socket_off">socket.off(eventName, listener)</a></li>
<li><a class="" href="#socket_remoteAddress">socket.remoteAddress</a></li>
<li><a class="" href="#socket_remotePort">socket.remotePort</a></li>
<li><a class="" href="#socket_localAddress">socket.localAddress</a></li>
<li><a class="" href="#socket_localPort">socket.localPort</a></li>
<li><a class="" href="#socket_addressFamily">socket.addressFamily</a></li>
</ul></li></p>
<p><li><a class="" href="#Server">Server</a>: TCP server class<ul>
<li><a class="" href="#new_Server">new Server()</a></li>
<li><a class="" href="#server_listen">server.listen(port[, address])</a></li>
<li><a class="" href="#server_close">server.close()</a></li>
<li><a class="" href="#server_on_connection">server.on('connection', listener)</a></li>
<li><a class="" href="#server_on_listening">server.on('listening', listener)</a></li>
<li><a class="" href="#server_on_close">server.on('close', listener)</a></li>
<li><a class="" href="#server_on_error">server.on('error', listener)</a></li>
<li><a class="" href="#server_off">server.off(eventName, listener)</a></li>
<li><a class="" href="#server_port">server.port</a></li>
<li><a class="" href="#server_address">server.address</a></li>
<li><a class="" href="#server_addressFamily">server.addressFamily</a></li>
</ul></li></p>
<p><li><a class="" href="#script">script</a>: Script instance configuration interface<ul>
<li><a class="" href="#script_keepalive">script.keepalive(keepAlive)</a></li>
<li><a class="" href="#script_timeout">script.timeout(milliseconds)</a></li>
<li><a class="" href="#script_abort">script.abort()</a></li>
</ul></li></p>
<p><li><a class="" href="#Globals">Globals</a><ul>
<li><a class="" href="#global">global</a></li>
<li><a class="" href="#PJ64_JSAPI_VERSION">PJ64_JSAPI_VERSION</a></li>
<li><a class="" href="#require">require(id)</a></li>
<li><a class="" href="#exec">exec(command[, options])</a></li>
<li><a class="" href="#alert">alert(message[, caption])</a></li>
<li><a class="" href="#setTimeout">setTimeout(callback, delay)</a></li>
<li><a class="" href="#clearTimeout">clearTimeout(timeoutId)</a></li>
<li><a class="" href="#setInterval">setInterval(callback, delay)</a></li>
<li><a class="" href="#clearInterval">clearInterval(intervalId)</a></li>
<li><a class="" href="#number_hex">number.hex([numChars])</a></li>
<li><a class="" href="#type_ids">Type IDs</a></li>
<li><a class="" href="#N64_memory_addresses">N64 memory addresses</a></li>
<li><a class="" href="#Miscellaneous">Miscellaneous</a></li>
</ul></li></p>
</ul>
<hr>
<label style="font-size: 12px; vertical-align: middle; user-select: none;">
<input id="darkmode-toggle" type="checkbox" style="vertical-align: bottom; margin-right: 5px;"/>
Dark theme
</label>
</div>
</div>
<div class="content">
<!-- Project64 JavaScript API -->
<div class="module">
<div class="modtitle"><span class="title" id="Project64 JavaScript API">Project64 JavaScript API</span></div>
<!-- Required_settings -->
<p><div class="prop"><span class="title" id="Required_settings">Required settings</span></div>
</p>
<p>The following settings must be used to enable the script console.</p>
<p>Go to <i>Options > Configuration</i> and uncheck <i>Hide advanced settings</i>.
Optional: You may also want to uncheck <i>Pause emulation when window is not active</i> for general debugging.</p>
<p><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAACcCAYAAAAUAsXtAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAA/kSURBVHhe7Z1taBzHGcf/suMPSYmgebEdHLcxsiJsRTWqrQ92PqSJHOG4/pAK1aQODQqEE9RUsluCUUwJiUmMCHmRiD5IFHIkxBRFqFCMbRS/pIFYHxRXuLYc5JNwUwx+SQ2JjF/AdtSZ2bnd2dPem3U7t3f6/2DZ3dm52bnb+e/zzOztMxWbW343A0KIFRboNSHEAhUzArnR/2+1X7bEfqE3CCkiPsGtXaLSyo4Tlyg4Eg3oUhJiEQqOEItQcIRYJD/BHW3DuqUV7vJy36Q+kCfnPsDLSzdg3zm9X3QOoq1iAz6Y9XXSpZvkkocQh9wFJ8W27RT+NDKDry/KJYFn/1Gdo+gO4m1TYCt24KOLx7Fthd4nZJ6Qo+Amse/dfjTvM0WyEts+fB94/R18pVMIIZnJTXDn9uPzEzE89YzeT7JiC55dewrfKsulrdhR6S6aLqdM34whjOC99SL91YNe3qTFUy6m56q+fVSnJ/P1ea6sZ1HFTeDXQZ8JkckPsKGiAhVqaRO1S0W7lwe9fBvoaxKD3F3KtavwM73pZwT/cftiQlTvAm9Kl3NEWr+XhKiew2sXD6AZ6x139J3ndN4kQlTrd6J6n3ZVxecS28z+nSh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3gWpmZy8rPV7rVWUmnlOL5Z2bfeIO3lXiqfoUPtlv4qCCufyW/tUk7Yb/XNKh2Jb7tbSnTCygwjLxWZ6Khq1gw7dFA+IArpS1QbXeRrShyvud2KuNcpCSLb6tM+MNkkZoFGffZg++98hn325FqpZbpKIU1oHRaAOKRKH/X6opr207OPCh6M5UBsXnZRwTs1aNb5VBmbVFfRktDymdQiFTm9KQQzV6RFPWcZVmYo3Ga2wpoVysr2ZqnC4hvSl8g2arpTyiJkK9TkdVa2MkOvU562uHD7hSHfuHiEtTWwfWCiGb43Fl6XVHOnvd5RTBpPzb47ceW70+7M1r9+p51f56XlatyQGVdnnHZIPmXwdyHSrny2Zhs3ajofGA+eaiu/fnYYevPmDbbye5Hwm8y8PswvIwW9iOQGW/lNHs++BhrI0g7V+O0iPdXLwmdIb3+WaWb61U6Li/lzFxlYPFmoIZ5AwKIYN4CXhNmEgQOLZ452r+OJJ5hMJsAfKDvLnqbyldsBN5h84A8UjBO41yaP0bVAQzmlDWM9vmLxnKPaHcQTAADA8EjsLdzhskSH5gUkGS4Jf4ECAABgmMAfKBhbkprCBWBYYAp3spiANVDwUklCQAEAYFDGdA0UAAAAeE6I/j+BtkH/YQHv/gAAAABJRU5ErkJggg=="></p>
<p>Click <i>Advanced</i>, then check <i>Enable Debugger</i>.
Optional: Check <i>Always use interpreter core</i> --
This is required for some of the <a href="#events">events</a> interface functions to work, but it may impact game performance.</p>
<p><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAABxCAYAAADlGcXsAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAB+VSURBVHhe7Z0/TCvPdse/JNWv+l2lT2PMRc+hQleOBNJtXgwyNLiAFlcGXgFOgRSkmypIRHERg64E3ApSQiRoDAJyS5CCnqiIIy6G5vYRv0R6qSIyZ/6sZ9e767Ux4LXPRxrsnZ2dmV3b58w5M8wZeHp6egbDMAzDvBF/pl8Z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bWleYT2yDkYi2pP1CEuklaWQ6as+nCzIcsEQlaWfuvC53rHmljbapzL6BAvbcOxMmzTz6LV+l/SH8eSKZn5mEdsF7cx6LFwOt3nboMtHoaJCCmar1+/yhRF6RC2m83guNt8hMbgsBbp0g2VgJYvan5HvJo5B+ViWcSRPGuRWIKc6iHyqzDTOK6Ja7K6aI7BOzrOLMs5I1E5RkU57b2RBF5PykgqIjP5rlK7rjxRoWO1OZP57bZh30f+EIHGQGj9HewPQdfq+Rjqm3SX0uBB5MsByd6srIv6TIOV9vrc/XA8HibWvHZYBNoCp5UdCT59+oTv37/ro/eAVrepuZ/84VOw4OplaOLdKMdzM5fS3/RkWARWOkwvQ8okanp3zJySELrL/ah0mFjAFg8TazgQHMM0hy2eTqA33eT/j2EYhokfb7+qzU9pRFEkrGwYhmF6Ap7jYRiGYd6Ut5/jIctlHti3/5PfzqP3tKuzPFHAidxJgGLgDKGoMjFWKAC3KVX+dAEDU7co319iBfa1Yyovqa6tfjE7IJxiYWAdKXFuujKOIafSchu7ZDPvTafneBimV+mmOZ6OKJ6WcCkWCyn4P6Kk92YjJSGjkVa/4FkduJUTvd8H5mX8G1JOpFCOMWO2vLHLk3I6nlH1mPerP0Q/zLWUvQBQaAO6lokNnVQ8DMO8DR2d42n26uANHUDhESg/MDaOD7QBqKU45LVBsXCyMyjoek6Pv6FAYQ1oV2pvPB0qyzAMw7wqHZ3jafbaUYSCOjHRQg1ehWaUkvhLgeOOT09x/M3E8DGbfHri6TAMwzCvytuvagsjJDaOxA4aJxhaucQJpjAu4ymEx8KhwHG3U1O4La+q+mo+8XR4yRzDMMwrA/w/DbhzESL3ZWQAAAAASUVORK5CYII="></p>
<!-- Script_console -->
<p><div class="prop"><span class="title" id="Script_console">Script console</span></div>
</p>
<p>Go to <i>Debugger > Scripts...</i> to open the script console.</p>
<p><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARsAAABiCAYAAABgd3ecAAAACXBIWXMAAA7DAAAOwwHHb6hkAA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+DfnJ786E+7nM3fAfzD+xD224G42b5gQ/49rlH8+Obbze8rnG/dwNz/zUce9xau/+QPe+gGaKxzfbxu68W73vu+Z/jfuf3Q+w/fn7N8+yOdbZ9lIDJcYz7aLZrz43J8Y77De1jR+N70W6XvdejyT6Tgb+3zdqB5WOR2L2+4Xw681yaLz92uzmG9Ny4fdscQ2iOY/b4g/8BM3+e9r1au3vN64LUbDf9/Vsbz5P0uGeFbDiXNs8z7n/YZ+X8Hfc/OPA7124zWZ6dD8c+XwCuW3vV794rgJ988snBAlgXH77TwVMylIPtB/yjeODxna3X87aSYxiHfbvs0W0H9EN/zo9+rjyVC50bbWl6kCc8Vy92zGtXcz4AnK9jAYwrAQeuopxg8/VTvu5SHnJ8D9HreVtxDK8mV5r6lNLhatHZw3pbIA9drXuBLnJuXLBMPdm5epFjvr7zAeAxPHoBBADgaRy66tfeDgogAMCVOFT62tshOl6UPwUQAGAhxgIYfS96364ABgUQAOD6pAVwLIGxEgCA6xPlb1cAP/30010BDOPK8XviUfzFQQAA+vve9763k60fjT2uLX+TAtiWwLYIjtoy2MqeDACAp5N1tNB2ubHjRecbCmBbAu8rgqPsSQAA6CfrbG2vG7vergDOS2BoHzDKdgwAwPORdbi7jvfJ6v8DmJyiP3NqVakAAAAASUVORK5CYII="></p>
<p>You can view the scripts directory in the file explorer by clicking the <span class="snip">...</span> button.
JavaScript (<span class="snip">*.js</span>) files in the root of this directory are visible to the console.</p>
<p>A script may be toggled by double clicking it, or selecting it and then clicking the <i>Run/Stop</i> button.</p>
<p>While a script is active you may select it and enter code in the input box at the bottom of of the window.
Entered code is evaluated in the selected script's instance (namespace is not shared between instances).
You can use the up and down arrow keys to scroll through input history.</p>
<p>You may configure a script to run automatically when Project64 is started by right clicking it and clicking <i>Autorun...</i></p>
<p><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOUAAAB9CAYAAABd/KQ4AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAI9klEQVR4Xu2dsYtUSR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kSSm7P5j1ry6aza/Oma2up+7lR7PZmGU+hICUEZKilN9eOWfWrxyMXn1zjoKUMUDKCElPygOzVXRI2zF/MN+OalXxinN5zf+9V6HY9sr7nfHNTvl9m1vnhuMXzdcT13WOr1wcrTP9F8XJAykjJDkpSyI6gtrzKeQp1RwRraDuXFeuz63riN4ROUXkYu4fC6SMkNSkrG5Z5Xz8wOdz8jg1K2FZHnl4lElat071/HNz/1ggZYSkJaVc8OPt5phCrhnkQUoVkDJCkpJStoale0hBtrCFTO7xELuVrJOnun2dJPes6/pqk45PFkgZISlJKZ3M9xCltIW1wuQddOti6eK3f7dpx30PelxJPNJMXLc6dxoRPeufEJAyQpLqlJA8SBkhSAmzgJQRgpQwC0gZIUgJs4CUEYKUMAtIGSFICbOAlBGClDALSBkhrpQA04KUikFKCAEpFSO/XIAQkDJi5Jvw+fPn5v79++b27dum0+mYmzdvgsOf//JXc+PGjVquX7/uHRfqai7nz5+3nycCpMbS0pJZXl42q6urSKmdd+/emZcvX5pHjx5ZMbvdrrl37x44/O3v/zB37typ5datW95xoa7mcuHCBft50pFSQ4RcWVkxa2trZmNjAyk18/79e/PmzRsrpnTMp0+fmoODA3D455VvTK/Xq+Xhw4fecaGu5nLp0iX7ebJFTA3pkCKkdEmkVM7Hjx+tmG/fvrVbWREUylz/7t/2S6uOJ0+eeMeFuprL1atX7efJhZ8iImNVSKRUyKdPnywip/Dhwweo8N2/bppXr17VIrsM37hQV3O5du2a/bzqRZ86SEmi5/t2x/vf+7kMBgPvuFBXc9nZ2bGf57vwUwYpSfQgZT1ISaIHKes4a/4PipCEqgHeGysAAAAASUVORK5CYII="></p>
<!-- JavaScript_environment -->
<p><div class="prop"><span class="title" id="JavaScript_environment">JavaScript environment</span></div>
</p>
<p>Project64's script system uses the <a target="blank" href="https://duktape.org/">Duktape JavaScript engine</a>. Duktape supports ECMAScript E5 and some features from ES2015+.</p>
<ul>
<li><a target="blank" href="https://wiki.duktape.org/postes5features">Post-ES5 features</a></li>
<li><a target="blank" href="https://duktape.org/guide.html#duktapebuiltins">Duktape built-ins</a></li>
</ul>
</div>
<!-- console -->
<div class="module">
<div class="modtitle"><span class="title" id="console">console</span></div>
Console interface
<!-- console_log -->
<p><div class="prop"><span class="title" id="console_log">console.log(message[, ...])</span></div>
<div class="tsproto">console.log(message: any, ...optionalParams): void</div>
</p>
Prints all provided arguments to the console with a trailing newline.
<pre class="ex">
<span class="js-word">console</span>.<span class="js-word">log</span>(<span class="js-string">"Hello"</span>, <span class="js-string">"world!"</span>);
</pre>
<!-- console_print -->
<p><div class="prop"><span class="title" id="console_print">console.print(message[, ...])</span></div>
<div class="tsproto">console.print(message: any, ...optionalParams): void</div>
</p>
Prints all provided arguments to the console.
<pre class="ex">
<span class="js-word">console</span>.<span class="js-word">print</span>(<span class="js-string">"Hello "</span>);
<span class="js-word">console</span>.<span class="js-word">print</span>(<span class="js-string">"world!\n"</span>);
</pre>
<!-- console_error -->
<p><div class="prop"><span class="title" id="console_error">console.error(err)</span></div>
<div class="tsproto">console.print(err: Error): void</div>
</p>
Prints the stack property of an error object.
<!-- console_clear -->
<p><div class="prop"><span class="title" id="console_clear">console.clear()</span></div>
<div class="tsproto">console.clear(): void</div>
</p>
Clears the console.
<!-- console_listen -->
<p><div class="prop"><span class="title" id="console_listen">console.listen(inputListener)</span></div>
<div class="tsproto">console.listen(inputListener: null | (input: string) => void): void</div>
</p>
<p>Overrides the default input behavior; console input will be passed to <span class="snip">inputListener</span> instead of being evaluated as JS code.</p>
<p>The listener may be unset by calling <span class="snip">console.listen(null)</span>.</p>
<pre class="ex">
<span class="js-word">console</span>.<span class="js-word">listen</span>(<span class="js-keyword">function</span>(<span class="js-word">input</span>) {
<span class="js-keyword">var</span> <span class="js-word">args</span> = <span class="js-word">input</span>.<span class="js-word">split</span>(<span class="js-string">" "</span>);
<span class="js-keyword">var</span> <span class="js-word">command</span> = <span class="js-word">args</span>.<span class="js-word">shift</span>();
<span class="js-keyword">switch</span>(<span class="js-word">command</span>) {
<span class="js-keyword">case</span> <span class="js-string">"ping"</span>:
<span class="js-word">console</span>.<span class="js-word">log</span>(<span class="js-string">"pong (args were:"</span>, <span class="js-word">args</span>.<span class="js-word">join</span>(<span class="js-string">", "</span>), <span class="js-string">")"</span>);
<span class="js-keyword">return</span>;
<span class="js-keyword">case</span> <span class="js-string">"end"</span>:
<span class="js-word">console</span>.<span class="js-word">log</span>(<span class="js-string">"done"</span>);
<span class="js-word">console</span>.<span class="js-word">listen</span>(<span class="js-keyword">null</span>);
<span class="js-keyword">return</span>;
<span class="js-keyword">default</span>:
<span class="js-word">console</span>.<span class="js-word">log</span>(<span class="js-string">"unknown command '"</span> + <span class="js-word">command</span> + <span class="js-string">"'"</span>);
}
});
</pre>
</div>
<!-- pj64 -->
<div class="module">
<div class="modtitle"><span class="title" id="pj64">pj64</span></div>
Project64 interface
<!-- pj64_open -->
<p><div class="prop"><span class="title" id="pj64_open">pj64.open(romPath)</span></div>
<div class="tsproto">pj64.open(romPath: string): void</div>
</p>
Opens a ROM.
<!-- pj64_close -->
<p><div class="prop"><span class="title" id="pj64_close">pj64.close()</span></div>
<div class="tsproto">pj64.close(): void</div>
</p>
Closes the current ROM.
<!-- pj64_reset -->
<p><div class="prop"><span class="title" id="pj64_reset">pj64.reset([soft])</span></div>
<div class="tsproto">pj64.reset(soft?: boolean = false): void</div>
</p>
Resets emulation. Performs a soft reset if <span class="snip">soft</span> is true.
<!-- pj64_pause -->
<p><div class="prop"><span class="title" id="pj64_pause">pj64.pause()</span></div>
<div class="tsproto">pj64.pause(): void</div>
</p>
Pauses emulation.
<!-- pj64_resume -->
<p><div class="prop"><span class="title" id="pj64_resume">pj64.resume()</span></div>
<div class="tsproto">pj64.resume(): void</div>
</p>
Resumes emulation.
<!-- pj64_limitfps -->
<p><div class="prop"><span class="title" id="pj64_limitfps">pj64.limitfps(limitFps)</span></div>
<div class="tsproto">pj64.limitfps(limitFps: boolean): void</div>
</p>
Enables or disables the FPS limit.
<!-- pj64.installDirectory -->
<p><div class="prop"><span class="title" id="pj64_installDirectory">pj64.installDirectory</span></div>
<div class="tsproto">pj64.installDirectory: string</div>
</p>
Path to the directory containing the Project64 executable. Read-only.
<!-- pj64.scriptsDirectory -->
<p><div class="prop"><span class="title" id="pj64_scriptsDirectory">pj64.scriptsDirectory</span></div>
<div class="tsproto">pj64.scriptsDirectory: string</div>
</p>
Path to the scripts directory. Read-only.
<!-- pj64.modulesDirectory -->
<p><div class="prop"><span class="title" id="pj64_modulesDirectory">pj64.modulesDirectory</span></div>
<div class="tsproto">pj64.modulesDirectory: string</div>
</p>
Path to the script modules directory. Read-only.
<!-- pj64.romDirectory -->
<p><div class="prop"><span class="title" id="pj64_romDirectory">pj64.romDirectory</span></div>
<div class="tsproto">pj64.romDirectory: string</div>
</p>
<p>Path to the current ROM directory. Read-only.</p>
<!-- pj64.romInfo -->
<p><div class="prop"><span class="title" id="pj64_romInfo">pj64.romInfo</span></div>
<div class="tsproto">pj64.romInfo: null | Object</div>
</p>
<p>Object containing information about the current ROM. <span class="snip">null</span> if no ROM is loaded.</p>
<table>
<tr><td><span class="snip">pj64.romInfo.goodName</span> </td><td>RDB "Good Name".</td></tr>
<tr><td><span class="snip">pj64.romInfo.fileName</span> </td><td>Name of the ROM file including the file extension.</td></tr>
<tr><td><span class="snip">pj64.romInfo.filePath</span> </td><td>Path to the ROM file.</td></tr>
<tr><td><span class="snip">pj64.romInfo.crc1</span> </td><td>Internal CRC 1.</td></tr>
<tr><td><span class="snip">pj64.romInfo.crc2</span> </td><td>Internal CRC 2.</td></tr>
<tr><td><span class="snip">pj64.romInfo.name</span> </td><td>Internal name.</td></tr>
<tr><td><span class="snip">pj64.romInfo.mediaFormat</span> </td><td>Internal media format number.</td></tr>
<tr><td><span class="snip">pj64.romInfo.id</span> </td><td>Internal ID character pair.</td></tr>
<tr><td><span class="snip">pj64.romInfo.countryCode</span> </td><td>Internal country code character.</td></tr>
<tr><td><span class="snip">pj64.romInfo.version</span> </td><td>Internal version number.</td></tr>
</table>
</div>
<!-- mem -->
<div class="module">
<div class="modtitle"><span class="title" id="mem">mem</span></div>
N64 memory interface
<!-- mem__ -->
<p><div class="prop"><span class="title" id="mem__">mem.u8|u16|u32|s8|s16|s32|f32|f64</span></div>
</p>
Arrays for reading and writing memory. Virtual addresses are used as indices.
<pre class="ex">
<span class="js-comment">// Read some data from ROM and RAM</span>
<span class="js-keyword">var</span> <span class="js-word">firstWordInROM</span> = <span class="js-word">mem</span>.<span class="js-word">u32</span>[<span class="js-number">0xB0000000</span>];
<span class="js-keyword">var</span> <span class="js-word">firstWordInRAM</span> = <span class="js-word">mem</span>.<span class="js-word">u32</span>[<span class="js-number">0x80000000</span>];
</pre>
<pre class="ex">
<span class="js-comment">// Move player to 0,0,0 (SM64 US)</span>
<span class="js-keyword">const</span> <span class="js-word">pPlayerX</span> = <span class="js-number">0x8033B1AC</span>;
<span class="js-keyword">const</span> <span class="js-word">pPlayerY</span> = <span class="js-number">0x8033B1B0</span>;
<span class="js-keyword">const</span> <span class="js-word">pPlayerZ</span> = <span class="js-number">0x8033B1B4</span>;
<span class="js-word">mem</span>.<span class="js-word">f32</span>[<span class="js-word">pPlayerX</span>] = <span class="js-number">0</span>;
<span class="js-word">mem</span>.<span class="js-word">f32</span>[<span class="js-word">pPlayerY</span>] = <span class="js-number">0</span>;
<span class="js-word">mem</span>.<span class="js-word">f32</span>[<span class="js-word">pPlayerZ</span>] = <span class="js-number">0</span>;
</pre>
<!-- mem_bindvar -->
<p><div class="prop"><span class="title" id="mem_bindvar">mem.bindvar(object, address, name, typeId)</span></div>
<div class="tsproto">mem.bindvar(object: Object, address: number, name: string, typeId: number): void</div>
</p>
Adds a memory-bound property to <span class="snip">object</span>.
Valid types are <span class="snip">u8</span>, <span class="snip">u16</span>, <span class="snip">u32</span>, <span class="snip">s8</span>, <span class="snip">s16</span>, <span class="snip">s32</span>, <span class="snip">f32</span>, <span class="snip">f64</span>.
See <a href="#type_ids">Type IDs</a> for more details.
<pre class="ex">
<span class="js-word">mem</span>.<span class="js-word">bindvar</span>(<span class="js-word">global</span>, <span class="js-number">0x8033B1AC</span>, <span class="js-string">'playerX'</span>, <span class="js-word">f32</span>);
<span class="js-word">mem</span>.<span class="js-word">bindvar</span>(<span class="js-word">global</span>, <span class="js-number">0x8033B1B0</span>, <span class="js-string">'playerY'</span>, <span class="js-word">f32</span>);
<span class="js-word">mem</span>.<span class="js-word">bindvar</span>(<span class="js-word">global</span>, <span class="js-number">0x8033B1B4</span>, <span class="js-string">'playerZ'</span>, <span class="js-word">f32</span>);
<span class="js-word">console</span>.<span class="js-word">log</span>(<span class="js-string">"Player's coordinates are "</span>, <span class="js-word">playerX</span>, <span class="js-word">playerY</span>, <span class="js-word">playerZ</span>);
</pre>
<!-- mem_bindvars -->
<p><div class="prop"><span class="title" id="mem_bindvars">mem.bindvars(object, vars)</span></div>
<div class="tsproto">mem.bindvars(object: Object, vars: any[]): Object</div>
</p>
<p>Adds multiple memory-bound properties to <span class="snip">object</span>.
<span class="snip">vars</span> must be an array in which each item is an array containing an address, name, and <a href="#type_ids">type ID</a> (in order) describing a variable.</p>
<p>Returns <span class="snip">object</span>.</p>
<pre class="ex">
<span class="js-word">mem</span>.<span class="js-word">bindvars</span>(<span class="js-word">global</span>, [
[ <span class="js-number">0x8033B1AC</span>, <span class="js-string">'playerX'</span>, <span class="js-word">f32</span> ],
[ <span class="js-number">0x8033B1B0</span>, <span class="js-string">'playerY'</span>, <span class="js-word">f32</span> ],
[ <span class="js-number">0x8033B1B4</span>, <span class="js-string">'playerZ'</span>, <span class="js-word">f32</span> ]
]);
<span class="js-word">console</span>.<span class="js-word">log</span>(<span class="js-string">"Player's coordinates are "</span>, <span class="js-word">playerX</span>, <span class="js-word">playerY</span>, <span class="js-word">playerZ</span>);
</pre>
<!-- mem_bindstruct -->
<p><div class="prop"><span class="title" id="mem_bindstruct">mem.bindstruct(object, address, properties)</span></div>
<div class="tsproto">mem.bindstruct(object: Object, address: number, properties: Object): Object</div>
</p>
<p>Adds multiple memory-bound properties to <span class="snip">object</span>.
<span class="snip">properties</span> must be an object in which each key/value pair specifies the name and <a href="#type_ids">type ID</a> of a variable.</p>
<p>Returns <span class="snip">object</span>.</p>
<pre class="ex">
<span class="js-keyword">var</span> <span class="js-word">playerPos</span> = <span class="js-word">mem</span>.<span class="js-word">bindstruct</span>({}, <span class="js-number">0x8033B1AC</span>, { <span class="js-word">x</span>: <span class="js-word">f32</span>, <span class="js-word">y</span>: <span class="js-word">f32</span>, <span class="js-word">z</span>: <span class="js-word">f32</span> });
<span class="js-word">console</span>.<span class="js-word">log</span>(<span class="js-string">"Player's coordinates are "</span>, <span class="js-word">playerPos</span>.<span class="js-word">x</span>, <span class="js-word">playerPos</span>.<span class="js-word">y</span>, <span class="js-word">playerPos</span>.<span class="js-word">z</span>);
</pre>
<!-- mem_typedef -->
<p><div class="prop"><span class="title" id="mem_typedef">mem.typedef(properties)</span></div>
<div class="tsproto">mem.typedef(properties: Object): MemTypeConstructor</div>
</p>
Returns a constructor function that will create an object representing a structure in memory, given its address.
<pre class="ex">
<span class="js-keyword">const</span> <span class="js-word">vec3f</span> = <span class="js-word">mem</span>.<span class="js-word">typedef</span>({ <span class="js-word">x</span>: <span class="js-word">f32</span>, <span class="js-word">y</span>: <span class="js-word">f32</span>, <span class="js-word">z</span>: <span class="js-word">f32</span> });
<span class="js-keyword">var</span> <span class="js-word">playerAngle</span> = <span class="js-keyword">new</span> <span class="js-word">vec3f</span>(<span class="js-number">0x8033B19C</span>);
<span class="js-keyword">var</span> <span class="js-word">playerPos</span> = <span class="js-keyword">new</span> <span class="js-word">vec3f</span>(<span class="js-number">0x8033B1AC</span>);
</pre>
<!-- mem_getblock -->
<p><div class="prop"><span class="title" id="mem_getblock">mem.getblock(address, length)</span></div>
<div class="tsproto">mem.getblock(address: number, length: number): Buffer</div>
</p>
Returns a block of data from memory as a <a target="blank" href="https://nodejs.org/docs/v0.12.1/api/buffer.html">Buffer</a> object.
<pre class="ex">
<span class="js-word">fs</span>.<span class="js-word">writefile</span>(<span class="js-string">"ram_dump.bin"</span>, <span class="js-word">mem</span>.<span class="js-word">getblock</span>(<span class="js-word">K0BASE</span>, <span class="js-word">mem</span>.<span class="js-word">ramSize</span>));
</pre>
<!-- mem_setblock -->
<p><div class="prop"><span class="title" id="mem_setblock">mem.setblock(address, data[, length])</span></div>
<div class="tsproto">mem.setblock(address: number, data: string | Buffer | TypedArray, length?: number): void</div>
</p>
Writes a block of data into memory. <span class="snip">data</span> may be one of the following types:
<a target="blank" href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer">ArrayBuffer</a>,
<a target="blank" href="https://nodejs.org/docs/v0.12.1/api/buffer.html">Buffer</a>,
<a target="blank" href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView">DataView</a>,
<a target="blank" href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray">TypedArray</a>, string.
<pre class="ex">
<span class="js-word">mem</span>.<span class="js-word">setblock</span>(<span class="js-number">0x80400000</span>, <span class="js-word">fs</span>.<span class="js-word">readfile</span>(<span class="js-string">"textures.bin"</span>));
</pre>
<!-- mem_getstring -->
<p><div class="prop"><span class="title" id="mem_getstring">mem.getstring(address[, length])</span></div>
<div class="tsproto">mem.getblock(address: number, length?: number): string</div>
</p>
Returns a zero-terminated ASCII string from memory.
<pre class="ex">
<span class="js-keyword">const</span> <span class="js-word">romName</span> = <span class="js-word">mem</span>.<span class="js-word">getstring</span>(<span class="js-number">0xB0000020</span>, <span class="js-number">0x14</span>);
</pre>
<!-- mem_setstring -->
<p><div class="prop"><span class="title" id="mem_setstring">mem.setstring(address, data[, length])</span></div>
<div class="tsproto">mem.setstring(address: number, data: string | Buffer | TypedArray, length?: number): void</div>
</p>
Writes a string into memory (alias of <a href="#mem_setblock">mem.setblock</a>).
<!-- mem_ramSize -->
<p><div class="prop"><span class="title" id="mem_ramSize">mem.ramSize</span></div>
<div class="tsproto">mem.ramSize: number</div>
</p>
The size of RDRAM in bytes. <span class="snip">0</span> if RDRAM is not initialized.
<!-- mem_romSize -->
<p><div class="prop"><span class="title" id="mem_romSize">mem.romSize</span></div>
<div class="tsproto">mem.romSize: number</div>
</p>
The size of cartridge ROM in bytes. <span class="snip">0</span> if ROM is not initialized.
<!-- mem_ptr -->
<p><div class="prop"><span class="title" id="mem_ptr">mem.ptr</span></div>
<div class="tsproto">mem.ptr: pointer</div>
</p>
Native pointer to Project64's N64 memory buffer. May be used by native modules for faster memory access.
<pre class="ex">
<span class="js-comment">// C</span>
<span class="js-word">duk_ret_t</span> <span class="js-word">example</span>(<span class="js-word">duk_context</span>* <span class="js-word">ctx</span>)
{
<span class="js-word">uint8_t</span>* <span class="js-word">memory</span> = <span class="js-word">NULL</span>;
<span class="js-word">duk_get_global_string</span>(<span class="js-word">ctx</span>, <span class="js-string">"mem"</span>);
<span class="js-word">duk_get_prop_string</span>(<span class="js-word">ctx</span>, -<span class="js-number">1</span>, <span class="js-string">"ptr"</span>);
<span class="js-word">memory</span> = <span class="js-word">duk_get_pointer</span>(<span class="js-word">ctx</span>, -<span class="js-number">1</span>);
<span class="js-word">duk_pop_n</span>(<span class="js-word">ctx</span>, <span class="js-number">3</span>);
<span class="js-comment">// do something to memory here</span>
<span class="js-keyword">return</span> <span class="js-number">0</span>;
}
</pre>
</div>
<!-- events -->
<div class="module">
<div class="modtitle"><span class="title" id="events">events</span></div>
Event hooking interface
<!-- events_onstatechange -->
<p><div class="prop"><span class="title" id="events_onstatechange">events.onstatechange(callback)</span></div>
<div class="tsproto">events.onstatechange(callback: (e: EmuStateChangeEvent) => void): number</div>
</p>
Registers a callback that is invoked when the state of the emulator changes.
<span class="snip">callback</span> receives an <a href="#EmuStateChangeEvent">EmuStateChangeEvent</a> object.
<p>Returns a callback ID.</p>
<!-- EmuStateChangeEvent -->
<p><div class="prop"><span class="title" id="EmuStateChangeEvent">EmuStateChangeEvent</span></div>
</p>
<p>
<table>
<tr><td><span class="snip">e.callbackId</span></td><td>ID of the callback associated with the event.</td></tr>
<tr><td><span class="snip">e.state</span></td><td>State number. See table below.</td></tr>
</table>
</p>
<table>
<tr><td><span class="snip">EMU_STARTED</span></td><td>Emulation started.</td></tr>
<tr><td><span class="snip">EMU_STOPPED</span></td><td>Emulation stopped.</td></tr>
<tr><td><span class="snip">EMU_PAUSED</span></td><td>Emulation paused.</td></tr>
<tr><td><span class="snip">EMU_RESUMED</span></td><td>Emulation resumed from a pause.</td></tr>
<tr><td><span class="snip">EMU_RESETTING</span></td><td>Emulation is resetting.</td></tr>
<tr><td><span class="snip">EMU_RESET</span></td><td>Emulation reset.</td></tr>
<tr><td><span class="snip">EMU_LOADED_ROM</span></td><td>A ROM or 64DD image has been loaded.</td></tr>
<tr><td><span class="snip">EMU_DEBUG_PAUSED</span></td><td>Emulation paused via debugger break.</td></tr>
<tr><td><span class="snip">EMU_DEBUG_RESUMED</span></td><td>Emulation resumed via the debugger.</td></tr>
</table>
<!-- events_onexec -->
<p><div class="prop"><span class="title" id="events_onexec">events.onexec(address, callback)</span><div class="tag blue">Requires interpreter core</div></div>
<div class="tsproto">events.onexec(address: number | AddressRange, callback: (e: CPUExecEvent) => void): number</div>
</p>
Registers a callback that is invoked at the beginning of a CPU step if the program counter is at <span class="snip">address</span>.
<span class="snip">address</span> may be a single address or an object containing <span class="snip">start</span> and <span class="snip">end</span> address properties (e.g. <a href="#AddressRange">AddressRange</a>).
<span class="snip">callback</span> receives a <a href="#CPUExecEvent">CPUExecEvent</a> object.
<p>Returns a callback ID.</p>
<pre class="ex">
<span class="js-comment">// SM64 US</span>
<span class="js-word">events</span>.<span class="js-word">onexec</span>(<span class="js-number">0x802CB1C0</span>, <span class="js-keyword">function</span>() {
<span class="js-word">console</span>.<span class="js-word">log</span>(<span class="js-string">"func_802CB1C0 was called"</span>);
});
</pre>
<pre class="ex">
<span class="js-comment">// Log every CPU step</span>
<span class="js-word">events</span>.<span class="js-word">onexec</span>(<span class="js-word">ADDR_ANY</span>, <span class="js-keyword">function</span>(<span class="js-word">e</span>) {
<span class="js-word">console</span>.<span class="js-word">log</span>(<span class="js-word">e</span>.<span class="js-word">pc</span>.<span class="js-word">hex</span>() + <span class="js-string">": "</span> + <span class="js-word">asm</span>.<span class="js-word">decode</span>(<span class="js-word">mem</span>.<span class="js-word">u32</span>[<span class="js-word">e</span>.<span class="js-word">pc</span>], <span class="js-word">e</span>.<span class="js-word">pc</span>));
});
</pre>
<!-- CPUExecEvent -->
<p><div class="prop"><span class="title" id="CPUExecEvent">CPUExecEvent</span></div>
</p>
<table>
<tr><td><span class="snip">e.callbackId</span></td><td>ID of the callback associated with the event.</td></tr>
<tr><td><span class="snip">e.pc</span></td><td>Program counter address.</td></tr>
</table>
<!-- events_onread -->
<p><div class="prop"><span class="title" id="events_onread">events.onread(address, callback)</span><div class="tag blue">Requires interpreter core</div></div>
<div class="tsproto">events.onread(address: number | AddressRange, callback: (e: CPUReadWriteEvent) => void): number</div>
</p>
Registers a callback that is invoked at the beginning of a CPU step if the CPU is going to read from <span class="snip">address</span>.
<span class="snip">address</span> may be a single address or an object containing <span class="snip">start</span> and <span class="snip">end</span> address properties (e.g. <a href="#AddressRange">AddressRange</a>).
<span class="snip">callback</span> receives a <a href="#CPUReadWriteEvent">CPUReadWriteEvent</a> object.
<p>Returns a callback ID.</p>
<!-- events_onwrite -->
<p><div class="prop"><span class="title" id="events_onwrite">events.onwrite(address, callback)</span><div class="tag blue">Requires interpreter core</div></div>
<div class="tsproto">events.onwrite(address: number | AddressRange, callback: (e: CPUReadWriteEvent) => void): number</div>
</p>
Registers a callback that is invoked at the beginning of a CPU step if the CPU is going to write to <span class="snip">address</span>.
<span class="snip">address</span> may be a single address or an object containing <span class="snip">start</span> and <span class="snip">end</span> address properties (e.g. <a href="#AddressRange">AddressRange</a>).
<span class="snip">callback</span> receives a <a href="#CPUReadWriteEvent">CPUReadWriteEvent</a> object.
<p>Returns a callback ID.</p>
<!-- CPUReadWriteEvent -->
<p><div class="prop"><span class="title" id="CPUReadWriteEvent">CPUReadWriteEvent</span></div>
</p>
<p>
<table>
<tr><td><span class="snip">e.callbackId</span></td><td>ID of the callback associated with the event.</td></tr>
<tr><td><span class="snip">e.pc</span></td><td>Program counter address.</td></tr>
<tr><td><span class="snip">e.address</span></td><td>Address that the CPU is going to read/write.</td></tr>
<tr><td><span class="snip">e.fpu</span></td><td><span class="snip">true</span> if the source/destination register is on the floating point unit.</td></tr>
<tr><td><span class="snip">e.reg</span></td><td>Index of the source/destination register.</td></tr>
<tr><td><span class="snip">e.valueType</span></td><td>The value's <a href="#type_ids">type ID</a>. Varies depending on the opcode; refer to the table below.</td></tr>
<tr><td><span class="snip">e.value</span></td><td>Value that the CPU is going to read/write.</td></tr>
<tr><td><span class="snip">e.valueHi</span></td><td>Upper 32 bits of the value if <span class="snip">e.valueType</span> is <span class="snip">u64</span>; otherwise <span class="snip">undefined</span>.</td></tr>
</table>
</p>
<p>
<table>
<thead><tr><td><b>e.valueType</b></td><td><b>Opcode(s)</b></td></tr></thead>
<tr><td><span class="snip">s8</span></td><td>LB, SB</td></tr>
<tr><td><span class="snip">u8</span></td><td>LBU</td></tr>
<tr><td><span class="snip">s16</span></td><td>LH, SH</td></tr>
<tr><td><span class="snip">u16</span></td><td>LHU</td></tr>
<tr><td><span class="snip">s32</span></td><td>LL, LW, LWL, LWR, SW, SWL, SWR</td></tr>
<tr><td><span class="snip">u32</span></td><td>LWU</td></tr>
<tr><td><span class="snip">u64</span></td><td>LD, LDL, LDR, SD, SDL, SDR</td></tr>
<tr><td><span class="snip">f32</span></td><td>LWC1, SWC1</td></tr>
<tr><td><span class="snip">f64</span></td><td>LDC1, SDC1</td></tr>
</table>
</p>
<!-- events_onopcode -->
<p><div class="prop"><span class="title" id="events_onopcode">events.onopcode(address, opcode, mask, callback)</span><div class="tag blue">Requires interpreter core</div></div>
<div class="tsproto">events.onopcode(address: number | AddressRange, opcode: number, mask: number, callback: (e: CPUOpcodeEvent) => void): number</div>
</p>
Registers a callback that is invoked at the beginning of a CPU step if the program counter is at <span class="snip">address</span> and
<span class="snip">opcode</span> is equal to the current opcode ANDed with <span class="snip">mask</span>.
<span class="snip">callback</span> receives a <a href="#CPUOpcodeEvent">CPUOpcodeEvent</a> object.
<p>Returns a callback ID.</p>
<pre class="ex">
<span class="js-comment">// Log every JAL</span>
<span class="js-keyword">const</span> <span class="js-word">JAL</span> = <span class="js-word">asm</span>.<span class="js-word">encode</span>(<span class="js-string">"jal 0"</span>);
<span class="js-keyword">const</span> <span class="js-word">ANY_TARGET</span> = <span class="js-number">0xFC000000</span>; <span class="js-comment">// Mask off target field</span>
<span class="js-word">events</span>.<span class="js-word">onopcode</span>(<span class="js-word">ADDR_ANY</span>, <span class="js-word">JAL</span>, <span class="js-word">ANY_TARGET</span>, <span class="js-keyword">function</span>(<span class="js-word">e</span>) {
<span class="js-word">console</span>.<span class="js-word">log</span>(<span class="js-word">e</span>.<span class="js-word">pc</span>.<span class="js-word">hex</span>() + <span class="js-string">": "</span> + <span class="js-word">asm</span>.<span class="js-word">decode</span>(<span class="js-word">mem</span>.<span class="js-word">u32</span>[<span class="js-word">e</span>.<span class="js-word">pc</span>], <span class="js-word">e</span>.<span class="js-word">pc</span>));
});
</pre>
<!-- CPUOpcodeEvent -->
<p><div class="prop"><span class="title" id="CPUOpcodeEvent">CPUOpcodeEvent</span></div>
</p>
<table>
<tr><td><span class="snip">e.callbackId</span></td><td>ID of the callback associated with the event.</td></tr>
<tr><td><span class="snip">e.pc</span></td><td>Program counter address.</td></tr>
<tr><td><span class="snip">e.opcode</span></td><td>The opcode.</td></tr>
</table>
<!-- events_ongprvalue -->
<p><div class="prop"><span class="title" id="events_ongprvalue">events.ongprvalue(address, regFlags, value, callback)</span><div class="tag blue">Requires interpreter core</div></div>
<div class="tsproto">events.ongprvalue(address: number | AddressRange, regFlags: number, value: number, callback: (e: CPURegValueEvent) => void): number</div>
</p>
Registers a callback that is invoked at the beginning of a CPU step if the program counter is at <span class="snip">address</span> and at least one of
the general purpose registers specified by <span class="snip">regFlags</span> is equal to <span class="snip">value</span> (lower 32 bits only).
<span class="snip">callback</span> receives a <a href="#CPURegValueEvent">CPURegValueEvent</a> object.
<p>Returns a callback ID.</p>
<p>See <a href="#GPR_flags">General purpose register flags</a> for a list of valid flags. Multiple registers may be specified via bitwise OR.</p>
<pre class="ex">
<span class="js-comment">// Break when any general purpose register contains 0x49533634</span>
<span class="js-keyword">const</span> <span class="js-word">IS64_SIGNATURE</span> = <span class="js-number">0x49533634</span>;
<span class="js-word">events</span>.<span class="js-word">ongprvalue</span>(<span class="js-word">ADDR_ANY</span>, <span class="js-word">GPR_ANY</span>, <span class="js-word">IS64_SIGNATURE</span>, <span class="js-keyword">function</span>() {
<span class="js-word">debug</span>.<span class="js-word">breakhere</span>();
});
</pre>
<!-- GPR_flags -->
<p><div class="prop"><span class="title" id="GPR_flags">General purpose register flags</span></div>
</p>
Global flags for <a href="#events_ongprvalue">events.ongprvalue</a>'s <span class="snip">regFlags</span> parameter.
<p><span class="snip">GPR_ANY</span></p>
<p><span class="snip">GPR_R0</span> <span class="snip">GPR_AT</span> <span class="snip">GPR_V0</span> <span class="snip">GPR_V1</span> <span class="snip">GPR_A0</span> <span class="snip">GPR_A1</span> <span class="snip">GPR_A2</span> <span class="snip">GPR_A3</span></p>
<p><span class="snip">GPR_T0</span> <span class="snip">GPR_T1</span> <span class="snip">GPR_T2</span> <span class="snip">GPR_T3</span> <span class="snip">GPR_T4</span> <span class="snip">GPR_T5</span> <span class="snip">GPR_T6</span> <span class="snip">GPR_T7</span></p>
<p><span class="snip">GPR_S0</span> <span class="snip">GPR_S1</span> <span class="snip">GPR_S2</span> <span class="snip">GPR_S3</span> <span class="snip">GPR_S4</span> <span class="snip">GPR_S5</span> <span class="snip">GPR_S6</span> <span class="snip">GPR_S7</span></p>
<p><span class="snip">GPR_T8</span> <span class="snip">GPR_T9</span> <span class="snip">GPR_K0</span> <span class="snip">GPR_K1</span> <span class="snip">GPR_GP</span> <span class="snip">GPR_SP</span> <span class="snip">GPR_FP</span> <span class="snip">GPR_RA</span></p>
<!-- CPURegValueEvent -->
<p><div class="prop"><span class="title" id="CPURegValueEvent">CPURegValueEvent</span></div>
</p>
<table>
<tr><td><span class="snip">e.callbackId</span></td><td>ID of the callback associated with the event.</td></tr>
<tr><td><span class="snip">e.pc</span></td><td>Program counter address.</td></tr>
<tr><td><span class="snip">e.value</span></td><td>The value.</td></tr>
<tr><td><span class="snip">e.reg</span></td><td>Index of the register containing the value.</td></tr>
</table>
<!-- events_onpifread -->
<p><div class="prop"><span class="title" id="events_onpifread">events.onpifread(callback)</span></div>
<div class="tsproto">events.onpifread(callback: (e: GenericEvent) => void): number</div>
</p>
Registers a callback that is invoked when PIF RAM data is going to be read into RDRAM.
<span class="snip">callback</span> receives a <a href="#GenericEvent">GenericEvent</a> object.
<p>Returns a callback ID.</p>
<p>Useful for monitoring and overriding controller input.</p>
<pre class="ex">
<span class="js-comment">// Log P1's controller input</span>
<span class="js-word">events</span>.<span class="js-word">onpifread</span>(<span class="js-keyword">function</span>() {
<span class="js-keyword">if</span>(<span class="js-word">mem</span>.<span class="js-word">u32</span>[<span class="js-word">PIF_RAM_START</span> + <span class="js-number">0x00</span>] == <span class="js-number">0xFF010401</span>) {
<span class="js-word">console</span>.<span class="js-word">log</span>(<span class="js-word">mem</span>.<span class="js-word">u32</span>[<span class="js-word">PIF_RAM_START</span> + <span class="js-number">0x04</span>].<span class="js-word">hex</span>());
}
});
</pre>
<pre class="ex">
<span class="js-comment">// Play an M64 TAS file</span>
<span class="js-keyword">var</span> <span class="js-word">m64file</span> = <span class="js-word">fs</span>.<span class="js-word">readfile</span>(<span class="js-string">"sm64-1key.m64"</span>);
<span class="js-keyword">var</span> <span class="js-word">numSamples</span> = <span class="js-word">m64file</span>.<span class="js-word">readUInt32LE</span>(<span class="js-number">0x018</span>);
<span class="js-keyword">var</span> <span class="js-word">sampleIndex</span> = <span class="js-number">0</span>;
<span class="js-word">events</span>.<span class="js-word">onpifread</span>(<span class="js-keyword">function</span>() {
<span class="js-keyword">for</span>(<span class="js-keyword">var</span> <span class="js-word">nController</span> = <span class="js-number">0</span>; <span class="js-word">nController</span> < <span class="js-number">4</span>; <span class="js-word">nController</span>++) {
<span class="js-keyword">var</span> <span class="js-word">cmdAddr</span> = <span class="js-word">PIF_RAM_START</span> + (<span class="js-word">nController</span> * <span class="js-number">8</span>);
<span class="js-keyword">if</span>(<span class="js-word">mem</span>.<span class="js-word">u32</span>[<span class="js-word">cmdAddr</span> + <span class="js-number">0x00</span>] == <span class="js-number">0xFF010401</span> && <span class="js-word">sampleIndex</span> < <span class="js-word">numSamples</span>) {
<span class="js-word">mem</span>.<span class="js-word">u32</span>[<span class="js-word">cmdAddr</span> + <span class="js-number">0x04</span>] = <span class="js-word">m64file</span>.<span class="js-word">readUInt32BE</span>(<span class="js-number">0x400</span> + <span class="js-word">sampleIndex</span> * <span class="js-number">4</span>);
<span class="js-word">sampleIndex</span>++;
}
}
});
</pre>
<!-- GenericEvent -->
<p><div class="prop"><span class="title" id="GenericEvent">GenericEvent</span></div>
</p>
<table>
<tr><td><span class="snip">e.callbackId</span></td><td>ID of the callback associated with the event.</td></tr>
</table>
<!-- events_onsptask -->
<p><div class="prop"><span class="title" id="events_onsptask">events.onsptask(callback)</span></div>
<div class="tsproto">events.onsptask(callback: (e: SPTaskEvent) => void): number</div>
</p>
Registers a callback that is invoked when a task is sent to the RSP.
<span class="snip">callback</span> receives an <a href="#SPTaskEvent">SPTaskEvent</a> object.
<p>Returns a callback ID.</p>
<p>Useful for monitoring and overriding display lists and audio lists.</p>
<pre class="ex">
<span class="js-word">events</span>.<span class="js-word">onsptask</span>(<span class="js-keyword">function</span>(<span class="js-word">e</span>) {
<span class="js-keyword">if</span> (<span class="js-word">e</span>.<span class="js-word">taskType</span> == <span class="js-word">M_GFXTASK</span>) {
<span class="js-word">console</span>.<span class="js-word">log</span>(<span class="js-string">"Display list address: "</span> + <span class="js-word">e</span>.<span class="js-word">dataAddress</span>);
}
<span class="js-keyword">else</span> <span class="js-keyword">if</span> (<span class="js-word">e</span>.<span class="js-word">taskType</span> == <span class="js-word">M_AUDTASK</span>) {
<span class="js-word">console</span>.<span class="js-word">log</span>(<span class="js-string">"Audio list address: "</span> + <span class="js-word">e</span>.<span class="js-word">dataAddress</span>);
}
});