From 3f9ac808b3ce14c80caec341fe705d8c6b8fd545 Mon Sep 17 00:00:00 2001 From: shygoo Date: Thu, 17 Dec 2020 10:58:42 -0600 Subject: [PATCH] [Debugger] Add socket.close to js api doc --- apidoc.htm | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/apidoc.htm b/apidoc.htm index fe51e4481..9bfab52c7 100644 --- a/apidoc.htm +++ b/apidoc.htm @@ -121,8 +121,8 @@ span.tag2 {
mem.u8|u16|u32|s8|s16|s32|float|double
- Arrays for reading and modifying values in virtual memory. - Virtual addresses are always used for indeces regardless of type size. + Arrays for reading and writing values in virtual memory. + Virtual addresses are always used for indices regardless of type size.
 var addr_power = 0x8033B21E
 
@@ -281,7 +281,7 @@ events.onexec(0x802CB1C0, function()
 })
 
-events.onexec(ADDR_ANY, function(pc))
+events.onexec(ADDR_ANY, function(pc)
 {
     // Log every step!
     console.log('CPU is executing 0x' + pc.hex())
@@ -843,6 +843,12 @@ server.on('connection', function(socket)
 			Writes data to the socket.
 		
+
+
socket.close()
+
+ Closes the socket. +
+
socket.on('data', callback)
@@ -868,9 +874,9 @@ server.on('connection', function(socket)
 ADDR_ANY              0x00000000 : 0xFFFFFFFF Any 32-bit address
 
-ADDR_ANY_KUSEG        0x00000000 : 0x7FFFFFFF  MIPS user mode TLB mapped segment
-ADDR_ANY_KSEG0        0x80000000 : 0x9FFFFFFF  MIPS cached unmapped segment
-ADDR_ANY_KSEG1        0xA0000000 : 0xBFFFFFFF  MIPS uncached unmapped segment
+ADDR_ANY_KUSEG        0x00000000 : 0x7FFFFFFF MIPS user mode TLB mapped segment
+ADDR_ANY_KSEG0        0x80000000 : 0x9FFFFFFF MIPS cached unmapped segment
+ADDR_ANY_KSEG1        0xA0000000 : 0xBFFFFFFF MIPS uncached unmapped segment
 ADDR_ANY_KSEG2        0xC0000000 : 0xFFFFFFFF MIPS kernel mode TLB mapped segment
 
 ADDR_ANY_RDRAM        0x80000000 : 0x807FFFFF Cached RDRAM