## other

### Members

#### inner ARGS
`doc/internal.js`, `line 54`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `ARGS` | Array.<string> | the command line arguments including the script name.

#### inner DEBUG
`jsboot/func.js`, `line 36`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `DEBUG` | boolean | enable/disable Debug() output.

#### inner DOJS_VERSION
`doc/internal.js`, `line 49`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `DOJS_VERSION` | number | the version

#### inner FILE
`jsboot/file.js`, `line 31`

  file mode definition.

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `READ` | * | open file in read mode.
  `WRITE` | * | open file in write mode (truncating existing contents)
  `APPEND` | * | open file in append mode.

#### inner IPX_AVAILABLE
`doc/internal.js`, `line 44`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `IPX_AVAILABLE` | boolean | true if networking is available.

#### inner KEY
`jsboot/func.js`, `line 290`

  keyboard input.

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `Code` | * | key definitions.

#### inner MOUSE
`jsboot/func.js`, `line 271`

  event interface.

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `Mode.NONE` | * | no cursor
  `Mode.ARROW` | * | arrow cursor
  `Mode.BUSY` | * | busy cursor
  `Mode.QUESTION` | * | questionmark cursor
  `Mode.CURSOR_EDIT` | * | edit cursor
  `Buttons` | * | mouse button definitions ###### Properties
  Name | Type | Description
  --- | --- | ---
  `LEFT` | * |
  `RIGHT` | * |
  `MIDDLE` | * |

#### inner MOUSE_AVAILABLE
`doc/internal.js`, `line 39`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `MOUSE_AVAILABLE` | boolean | true if mouse is available.

#### inner REMOTE_DEBUG
`jsboot/func.js`, `line 41`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `REMOTE_DEBUG` | boolean | enable/disable Debug() sending via IPX.

#### inner SOUND
`jsboot/func.js`, `line 231`

  sound input selection.

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `Input.MIC` | * | use microphone input
  `Input.LINE` | * | use line input
  `Input.CD` | * | use CD input
  `Bits.BITS8` | * | use 8 bits
  `Bits.BITS16` | * | use 16 bits

#### inner SOUND_AVAILABLE
`doc/internal.js`, `line 34`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `SOUND_AVAILABLE` | boolean | true if sound is available.

#### inner SYSTEM
`jsboot/func.js`, `line 251`

  System() flags for subsystem shutdown/restart.

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `MOUSE` | * | de/reinit mouse
  `SOUND` | * | de/reinit sound
  `JOYSTICK` | * | de/reinit joystick
  `KEYBOARD` | * | de/reinit keyboard
  `TIMER` | * | de/reinit timer

### Methods

#### inner _Debug(str)
`jsboot/func.js`, `line 60`

  Internal debug which does not redirect to IPX if enabled.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `str` | string | the message to print.

#### inner CharCode(s)
`jsboot/func.js`, `line 165`

  get char code.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `s` | string | a string

  ##### Returns:

  - the ASCII-code of the first character.

#### inner CompareKey(k, s)
`jsboot/func.js`, `line 175`

  compare a keycode with a character.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `k` | number | keycode from an Event
  `s` | string | a string with one char

#### inner Debug(str)
`jsboot/func.js`, `line 48`

  print javascript debug output if DEBUG is true.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `str` | string | the message to print.

#### inner Gc(info)
`doc/internal.js`, `line 524`

  Run garbage collector, print statistics to logfile if 'info==true'.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `info` | boolean | true to print collection stats to logfile.

#### inner GetFramerate() → {number}
`doc/internal.js`, `line 542`

  Current frame rate.

  ##### Returns:

  number - current framerate.

#### inner Include(name)
`jsboot/func.js`, `line 107`

  include a module. The exported functions are copied into global scope.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `name` | string | module file name.

#### inner InPortByte(port) → {number}
`doc/internal.js`, `line 584`

  read a byte value from a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to read from.

  ##### Returns:

  number - 8-bit value read from port.

#### inner InPortLong(port) → {number}
`doc/internal.js`, `line 598`

  read a long value from a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to read from.

  ##### Returns:

  number - 32-bit value read from port.

#### inner InPortWord(port) → {number}
`doc/internal.js`, `line 591`

  read a word value from a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to read from.

  ##### Returns:

  number - 16-bit value read from port.

#### inner List(dname) → {Array.<string>}
`doc/internal.js`, `line 510`

  Get directory listing.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `dname` | string | name of directory to list.

  ##### Throws:

  Throws an error if listing fails.

  ##### Returns:

  Array.<string> - array of entry names.

#### inner MemoryInfo() → {MemInfo}
`doc/internal.js`, `line 530`

  Get information system memory.

  ##### Returns:

  MemInfo - an info object.

#### inner MouseSetCursorMode(mode)
`doc/internal.js`, `line 466`

  Change mode of the mouse cursor.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `mode` | * | a mode from MOUSE.

#### inner MouseSetLimits(x1, y1, x2, y2)
`doc/internal.js`, `line 447`

  Limit mouse movement.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `x1` | number | start x coordinate.
  `y1` | number | start y coordinate.
  `x2` | number | end x coordinate.
  `y2` | number | end y coordinate.

#### inner MouseSetSpeed(x, y)
`doc/internal.js`, `line 438`

  Set mouse speed.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `x` | number | horizontal speed.
  `y` | number | vertical speed.

#### inner MouseShowCursor(b)
`doc/internal.js`, `line 460`

  Show hide mouse cursor.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `b` | boolean | true or false.

#### inner MouseWarp(x, y)
`doc/internal.js`, `line 454`

  Move mouse cursor.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `x` | number | x coordinate.
  `y` | number | y coordinate.

#### inner MsecTime() → {number}
`doc/internal.js`, `line 494`

  Get ms timestamp.

  ##### Returns:

  number - ms time.

#### inner OutPortByte(port, value)
`doc/internal.js`, `line 563`

  write a byte value to a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to write to.
  `value` | number | 8-bit value to write to port.

#### inner OutPortLong(port, value)
`doc/internal.js`, `line 577`

  write a long value to a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to write to.
  `value` | number | 32-bit value to write to port.

#### inner OutPortWord(port, value)
`doc/internal.js`, `line 570`

  write a word value to a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to write to.
  `value` | number | 16-bit value to write to port.

#### inner POST(val)
`jsboot/func.js`, `line 219`

  Write the given value to io-port 80h to be displayed by a POST card.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `val` | number | value to write to 0x80.

#### inner Print(s)
`doc/internal.js`, `line 472`

  Write data to JSLOG.TXT logfile.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `s` | string | the string to print.

#### inner Println(s)
`doc/internal.js`, `line 477`

  Write data to JSLOG.TXT logfile with a newline.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `s` | string | the string to print.

#### inner RandomInt(min, max) → {number}
`jsboot/func.js`, `line 187`

  get random integer between min and max (or between 0 and min if max is not provided).

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `min` | number | min
  `max` | number | max

  ##### Returns:

  number - an integer between min and max.

#### inner Read(filename) → {string}
`doc/internal.js`, `line 502`

  Load the contents of a file into a string. Throws exception if loading fails.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `filename` | string | name of file to read.

  ##### Throws:

  Throws an error if reading fails.

  ##### Returns:

  string - the contents of the file.

#### inner Require(name)
`jsboot/func.js`, `line 71`

  import a module.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `name` | string | module file name.

  ##### Returns:

  - the imported module.

#### inner SetExitKey(key)
`doc/internal.js`, `line 548`

  Change the exit key from ESCAPE to any other keycode from KEY}.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `key` | number |

#### inner SetFramerate(rate)
`doc/internal.js`, `line 536`

  Set maximum frame rate. If Loop takes longer than '1/rate' seconds then the framerate will not be reached.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `rate` | number | max frame rate wanted.

#### inner Sleep(ms)
`doc/internal.js`, `line 488`

  Sleep for the given number of ms.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `ms` | number | time to sleep.

#### inner StartupInfo()
`jsboot/func.js`, `line 126`

  print startup info with screen details.

#### inner Stat(name) → {StatInfo}
`doc/internal.js`, `line 518`

  Get information about a file / directory.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `name` | string | name of the file to get info for.

  ##### Throws:

  Throws an error if stat fails.

  ##### Returns:

  StatInfo - an info object.

#### inner Stop()
`doc/internal.js`, `line 482`

  DOjS will exit after the current call to Loop.

#### inner System(cmd, flags) → {number}
`doc/internal.js`, `line 556`

  Run a DOS command.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `cmd` | string | the command to execute with its parameters.
  `flags` | SYSTEM | flags indicating which subsystems to shutdown (if any) during execution of cmd.

  ##### Returns:

  number - the return code of the command.

## other

### Members

#### inner ARGS
`doc/internal.js`, `line 54`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `ARGS` | Array.<string> | the command line arguments including the script name.

#### inner DEBUG
`jsboot/func.js`, `line 36`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `DEBUG` | boolean | enable/disable Debug() output.

#### inner DOJS_VERSION
`doc/internal.js`, `line 49`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `DOJS_VERSION` | number | the version

#### inner FILE
`jsboot/file.js`, `line 31`

  file mode definition.

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `READ` | * | open file in read mode.
  `WRITE` | * | open file in write mode (truncating existing contents)
  `APPEND` | * | open file in append mode.

#### inner IPX_AVAILABLE
`doc/internal.js`, `line 44`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `IPX_AVAILABLE` | boolean | true if networking is available.

#### inner KEY
`jsboot/func.js`, `line 290`

  keyboard input.

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `Code` | * | key definitions.

#### inner MOUSE
`jsboot/func.js`, `line 271`

  event interface.

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `Mode.NONE` | * | no cursor
  `Mode.ARROW` | * | arrow cursor
  `Mode.BUSY` | * | busy cursor
  `Mode.QUESTION` | * | questionmark cursor
  `Mode.CURSOR_EDIT` | * | edit cursor
  `Buttons` | * | mouse button definitions ###### Properties
  Name | Type | Description
  --- | --- | ---
  `LEFT` | * |
  `RIGHT` | * |
  `MIDDLE` | * |

#### inner MOUSE_AVAILABLE
`doc/internal.js`, `line 39`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `MOUSE_AVAILABLE` | boolean | true if mouse is available.

#### inner REMOTE_DEBUG
`jsboot/func.js`, `line 41`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `REMOTE_DEBUG` | boolean | enable/disable Debug() sending via IPX.

#### inner SOUND
`jsboot/func.js`, `line 231`

  sound input selection.

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `Input.MIC` | * | use microphone input
  `Input.LINE` | * | use line input
  `Input.CD` | * | use CD input
  `Bits.BITS8` | * | use 8 bits
  `Bits.BITS16` | * | use 16 bits

#### inner SOUND_AVAILABLE
`doc/internal.js`, `line 34`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `SOUND_AVAILABLE` | boolean | true if sound is available.

#### inner SYSTEM
`jsboot/func.js`, `line 251`

  System() flags for subsystem shutdown/restart.

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `MOUSE` | * | de/reinit mouse
  `SOUND` | * | de/reinit sound
  `JOYSTICK` | * | de/reinit joystick
  `KEYBOARD` | * | de/reinit keyboard
  `TIMER` | * | de/reinit timer

### Methods

#### inner _Debug(str)
`jsboot/func.js`, `line 60`

  Internal debug which does not redirect to IPX if enabled.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `str` | string | the message to print.

#### inner CharCode(s)
`jsboot/func.js`, `line 165`

  get char code.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `s` | string | a string

  ##### Returns:

  - the ASCII-code of the first character.

#### inner CompareKey(k, s)
`jsboot/func.js`, `line 175`

  compare a keycode with a character.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `k` | number | keycode from an Event
  `s` | string | a string with one char

#### inner Debug(str)
`jsboot/func.js`, `line 48`

  print javascript debug output if DEBUG is true.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `str` | string | the message to print.

#### inner Gc(info)
`doc/internal.js`, `line 524`

  Run garbage collector, print statistics to logfile if 'info==true'.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `info` | boolean | true to print collection stats to logfile.

#### inner GetFramerate() → {number}
`doc/internal.js`, `line 542`

  Current frame rate.

  ##### Returns:

  number - current framerate.

#### inner Include(name)
`jsboot/func.js`, `line 107`

  include a module. The exported functions are copied into global scope.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `name` | string | module file name.

#### inner InPortByte(port) → {number}
`doc/internal.js`, `line 584`

  read a byte value from a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to read from.

  ##### Returns:

  number - 8-bit value read from port.

#### inner InPortLong(port) → {number}
`doc/internal.js`, `line 598`

  read a long value from a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to read from.

  ##### Returns:

  number - 32-bit value read from port.

#### inner InPortWord(port) → {number}
`doc/internal.js`, `line 591`

  read a word value from a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to read from.

  ##### Returns:

  number - 16-bit value read from port.

#### inner List(dname) → {Array.<string>}
`doc/internal.js`, `line 510`

  Get directory listing.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `dname` | string | name of directory to list.

  ##### Throws:

  Throws an error if listing fails.

  ##### Returns:

  Array.<string> - array of entry names.

#### inner MemoryInfo() → {MemInfo}
`doc/internal.js`, `line 530`

  Get information system memory.

  ##### Returns:

  MemInfo - an info object.

#### inner MouseSetCursorMode(mode)
`doc/internal.js`, `line 466`

  Change mode of the mouse cursor.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `mode` | * | a mode from MOUSE.

#### inner MouseSetLimits(x1, y1, x2, y2)
`doc/internal.js`, `line 447`

  Limit mouse movement.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `x1` | number | start x coordinate.
  `y1` | number | start y coordinate.
  `x2` | number | end x coordinate.
  `y2` | number | end y coordinate.

#### inner MouseSetSpeed(x, y)
`doc/internal.js`, `line 438`

  Set mouse speed.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `x` | number | horizontal speed.
  `y` | number | vertical speed.

#### inner MouseShowCursor(b)
`doc/internal.js`, `line 460`

  Show hide mouse cursor.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `b` | boolean | true or false.

#### inner MouseWarp(x, y)
`doc/internal.js`, `line 454`

  Move mouse cursor.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `x` | number | x coordinate.
  `y` | number | y coordinate.

#### inner MsecTime() → {number}
`doc/internal.js`, `line 494`

  Get ms timestamp.

  ##### Returns:

  number - ms time.

#### inner OutPortByte(port, value)
`doc/internal.js`, `line 563`

  write a byte value to a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to write to.
  `value` | number | 8-bit value to write to port.

#### inner OutPortLong(port, value)
`doc/internal.js`, `line 577`

  write a long value to a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to write to.
  `value` | number | 32-bit value to write to port.

#### inner OutPortWord(port, value)
`doc/internal.js`, `line 570`

  write a word value to a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to write to.
  `value` | number | 16-bit value to write to port.

#### inner POST(val)
`jsboot/func.js`, `line 219`

  Write the given value to io-port 80h to be displayed by a POST card.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `val` | number | value to write to 0x80.

#### inner Print(s)
`doc/internal.js`, `line 472`

  Write data to JSLOG.TXT logfile.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `s` | string | the string to print.

#### inner Println(s)
`doc/internal.js`, `line 477`

  Write data to JSLOG.TXT logfile with a newline.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `s` | string | the string to print.

#### inner RandomInt(min, max) → {number}
`jsboot/func.js`, `line 187`

  get random integer between min and max (or between 0 and min if max is not provided).

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `min` | number | min
  `max` | number | max

  ##### Returns:

  number - an integer between min and max.

#### inner Read(filename) → {string}
`doc/internal.js`, `line 502`

  Load the contents of a file into a string. Throws exception if loading fails.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `filename` | string | name of file to read.

  ##### Throws:

  Throws an error if reading fails.

  ##### Returns:

  string - the contents of the file.

#### inner Require(name)
`jsboot/func.js`, `line 71`

  import a module.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `name` | string | module file name.

  ##### Returns:

  - the imported module.

#### inner SetExitKey(key)
`doc/internal.js`, `line 548`

  Change the exit key from ESCAPE to any other keycode from KEY}.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `key` | number |

#### inner SetFramerate(rate)
`doc/internal.js`, `line 536`

  Set maximum frame rate. If Loop takes longer than '1/rate' seconds then the framerate will not be reached.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `rate` | number | max frame rate wanted.

#### inner Sleep(ms)
`doc/internal.js`, `line 488`

  Sleep for the given number of ms.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `ms` | number | time to sleep.

#### inner StartupInfo()
`jsboot/func.js`, `line 126`

  print startup info with screen details.

#### inner Stat(name) → {StatInfo}
`doc/internal.js`, `line 518`

  Get information about a file / directory.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `name` | string | name of the file to get info for.

  ##### Throws:

  Throws an error if stat fails.

  ##### Returns:

  StatInfo - an info object.

#### inner Stop()
`doc/internal.js`, `line 482`

  DOjS will exit after the current call to Loop.

#### inner System(cmd, flags) → {number}
`doc/internal.js`, `line 556`

  Run a DOS command.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `cmd` | string | the command to execute with its parameters.
  `flags` | SYSTEM | flags indicating which subsystems to shutdown (if any) during execution of cmd.

  ##### Returns:

  number - the return code of the command.

## other

### Members

#### inner ARGS
`doc/internal.js`, `line 54`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `ARGS` | Array.<string> | the command line arguments including the script name.

#### inner DEBUG
`jsboot/func.js`, `line 36`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `DEBUG` | boolean | enable/disable Debug() output.

#### inner DOJS_VERSION
`doc/internal.js`, `line 49`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `DOJS_VERSION` | number | the version

#### inner FILE
`jsboot/file.js`, `line 31`

  file mode definition.

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `READ` | * | open file in read mode.
  `WRITE` | * | open file in write mode (truncating existing contents)
  `APPEND` | * | open file in append mode.

#### inner IPX_AVAILABLE
`doc/internal.js`, `line 44`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `IPX_AVAILABLE` | boolean | true if networking is available.

#### inner KEY
`jsboot/func.js`, `line 290`

  keyboard input.

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `Code` | * | key definitions.

#### inner MOUSE
`jsboot/func.js`, `line 271`

  event interface.

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `Mode.NONE` | * | no cursor
  `Mode.ARROW` | * | arrow cursor
  `Mode.BUSY` | * | busy cursor
  `Mode.QUESTION` | * | questionmark cursor
  `Mode.CURSOR_EDIT` | * | edit cursor
  `Buttons` | * | mouse button definitions ###### Properties
  Name | Type | Description
  --- | --- | ---
  `LEFT` | * |
  `RIGHT` | * |
  `MIDDLE` | * |

#### inner MOUSE_AVAILABLE
`doc/internal.js`, `line 39`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `MOUSE_AVAILABLE` | boolean | true if mouse is available.

#### inner REMOTE_DEBUG
`jsboot/func.js`, `line 41`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `REMOTE_DEBUG` | boolean | enable/disable Debug() sending via IPX.

#### inner SOUND
`jsboot/func.js`, `line 231`

  sound input selection.

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `Input.MIC` | * | use microphone input
  `Input.LINE` | * | use line input
  `Input.CD` | * | use CD input
  `Bits.BITS8` | * | use 8 bits
  `Bits.BITS16` | * | use 16 bits

#### inner SOUND_AVAILABLE
`doc/internal.js`, `line 34`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `SOUND_AVAILABLE` | boolean | true if sound is available.

#### inner SYSTEM
`jsboot/func.js`, `line 251`

  System() flags for subsystem shutdown/restart.

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `MOUSE` | * | de/reinit mouse
  `SOUND` | * | de/reinit sound
  `JOYSTICK` | * | de/reinit joystick
  `KEYBOARD` | * | de/reinit keyboard
  `TIMER` | * | de/reinit timer

### Methods

#### inner _Debug(str)
`jsboot/func.js`, `line 60`

  Internal debug which does not redirect to IPX if enabled.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `str` | string | the message to print.

#### inner CharCode(s)
`jsboot/func.js`, `line 165`

  get char code.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `s` | string | a string

  ##### Returns:

  - the ASCII-code of the first character.

#### inner CompareKey(k, s)
`jsboot/func.js`, `line 175`

  compare a keycode with a character.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `k` | number | keycode from an Event
  `s` | string | a string with one char

#### inner Debug(str)
`jsboot/func.js`, `line 48`

  print javascript debug output if DEBUG is true.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `str` | string | the message to print.

#### inner Gc(info)
`doc/internal.js`, `line 524`

  Run garbage collector, print statistics to logfile if 'info==true'.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `info` | boolean | true to print collection stats to logfile.

#### inner GetFramerate() → {number}
`doc/internal.js`, `line 542`

  Current frame rate.

  ##### Returns:

  number - current framerate.

#### inner Include(name)
`jsboot/func.js`, `line 107`

  include a module. The exported functions are copied into global scope.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `name` | string | module file name.

#### inner InPortByte(port) → {number}
`doc/internal.js`, `line 584`

  read a byte value from a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to read from.

  ##### Returns:

  number - 8-bit value read from port.

#### inner InPortLong(port) → {number}
`doc/internal.js`, `line 598`

  read a long value from a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to read from.

  ##### Returns:

  number - 32-bit value read from port.

#### inner InPortWord(port) → {number}
`doc/internal.js`, `line 591`

  read a word value from a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to read from.

  ##### Returns:

  number - 16-bit value read from port.

#### inner List(dname) → {Array.<string>}
`doc/internal.js`, `line 510`

  Get directory listing.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `dname` | string | name of directory to list.

  ##### Throws:

  Throws an error if listing fails.

  ##### Returns:

  Array.<string> - array of entry names.

#### inner MemoryInfo() → {MemInfo}
`doc/internal.js`, `line 530`

  Get information system memory.

  ##### Returns:

  MemInfo - an info object.

#### inner MouseSetCursorMode(mode)
`doc/internal.js`, `line 466`

  Change mode of the mouse cursor.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `mode` | * | a mode from MOUSE.

#### inner MouseSetLimits(x1, y1, x2, y2)
`doc/internal.js`, `line 447`

  Limit mouse movement.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `x1` | number | start x coordinate.
  `y1` | number | start y coordinate.
  `x2` | number | end x coordinate.
  `y2` | number | end y coordinate.

#### inner MouseSetSpeed(x, y)
`doc/internal.js`, `line 438`

  Set mouse speed.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `x` | number | horizontal speed.
  `y` | number | vertical speed.

#### inner MouseShowCursor(b)
`doc/internal.js`, `line 460`

  Show hide mouse cursor.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `b` | boolean | true or false.

#### inner MouseWarp(x, y)
`doc/internal.js`, `line 454`

  Move mouse cursor.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `x` | number | x coordinate.
  `y` | number | y coordinate.

#### inner MsecTime() → {number}
`doc/internal.js`, `line 494`

  Get ms timestamp.

  ##### Returns:

  number - ms time.

#### inner OutPortByte(port, value)
`doc/internal.js`, `line 563`

  write a byte value to a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to write to.
  `value` | number | 8-bit value to write to port.

#### inner OutPortLong(port, value)
`doc/internal.js`, `line 577`

  write a long value to a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to write to.
  `value` | number | 32-bit value to write to port.

#### inner OutPortWord(port, value)
`doc/internal.js`, `line 570`

  write a word value to a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to write to.
  `value` | number | 16-bit value to write to port.

#### inner POST(val)
`jsboot/func.js`, `line 219`

  Write the given value to io-port 80h to be displayed by a POST card.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `val` | number | value to write to 0x80.

#### inner Print(s)
`doc/internal.js`, `line 472`

  Write data to JSLOG.TXT logfile.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `s` | string | the string to print.

#### inner Println(s)
`doc/internal.js`, `line 477`

  Write data to JSLOG.TXT logfile with a newline.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `s` | string | the string to print.

#### inner RandomInt(min, max) → {number}
`jsboot/func.js`, `line 187`

  get random integer between min and max (or between 0 and min if max is not provided).

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `min` | number | min
  `max` | number | max

  ##### Returns:

  number - an integer between min and max.

#### inner Read(filename) → {string}
`doc/internal.js`, `line 502`

  Load the contents of a file into a string. Throws exception if loading fails.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `filename` | string | name of file to read.

  ##### Throws:

  Throws an error if reading fails.

  ##### Returns:

  string - the contents of the file.

#### inner Require(name)
`jsboot/func.js`, `line 71`

  import a module.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `name` | string | module file name.

  ##### Returns:

  - the imported module.

#### inner SetExitKey(key)
`doc/internal.js`, `line 548`

  Change the exit key from ESCAPE to any other keycode from KEY}.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `key` | number |

#### inner SetFramerate(rate)
`doc/internal.js`, `line 536`

  Set maximum frame rate. If Loop takes longer than '1/rate' seconds then the framerate will not be reached.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `rate` | number | max frame rate wanted.

#### inner Sleep(ms)
`doc/internal.js`, `line 488`

  Sleep for the given number of ms.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `ms` | number | time to sleep.

#### inner StartupInfo()
`jsboot/func.js`, `line 126`

  print startup info with screen details.

#### inner Stat(name) → {StatInfo}
`doc/internal.js`, `line 518`

  Get information about a file / directory.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `name` | string | name of the file to get info for.

  ##### Throws:

  Throws an error if stat fails.

  ##### Returns:

  StatInfo - an info object.

#### inner Stop()
`doc/internal.js`, `line 482`

  DOjS will exit after the current call to Loop.

#### inner System(cmd, flags) → {number}
`doc/internal.js`, `line 556`

  Run a DOS command.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `cmd` | string | the command to execute with its parameters.
  `flags` | SYSTEM | flags indicating which subsystems to shutdown (if any) during execution of cmd.

  ##### Returns:

  number - the return code of the command.

## other

Other properties

### Members

#### inner ARGS
`doc/internal.js`, `line 54`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `ARGS` | Array.<string> | the command line arguments including the script name.

#### inner DEBUG
`jsboot/func.js`, `line 36`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `DEBUG` | boolean | enable/disable Debug() output.

#### inner DOJS_VERSION
`doc/internal.js`, `line 49`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `DOJS_VERSION` | number | the version

#### inner FILE
`jsboot/file.js`, `line 31`

  file mode definition.

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `READ` | * | open file in read mode.
  `WRITE` | * | open file in write mode (truncating existing contents)
  `APPEND` | * | open file in append mode.

#### inner IPX_AVAILABLE
`doc/internal.js`, `line 44`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `IPX_AVAILABLE` | boolean | true if networking is available.

#### inner KEY
`jsboot/func.js`, `line 290`

  keyboard input.

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `Code` | * | key definitions.

#### inner MOUSE
`jsboot/func.js`, `line 271`

  event interface.

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `Mode.NONE` | * | no cursor
  `Mode.ARROW` | * | arrow cursor
  `Mode.BUSY` | * | busy cursor
  `Mode.QUESTION` | * | questionmark cursor
  `Mode.CURSOR_EDIT` | * | edit cursor
  `Buttons` | * | mouse button definitions ###### Properties
  Name | Type | Description
  --- | --- | ---
  `LEFT` | * |
  `RIGHT` | * |
  `MIDDLE` | * |

#### inner MOUSE_AVAILABLE
`doc/internal.js`, `line 39`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `MOUSE_AVAILABLE` | boolean | true if mouse is available.

#### inner REMOTE_DEBUG
`jsboot/func.js`, `line 41`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `REMOTE_DEBUG` | boolean | enable/disable Debug() sending via IPX.

#### inner SOUND
`jsboot/func.js`, `line 231`

  sound input selection.

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `Input.MIC` | * | use microphone input
  `Input.LINE` | * | use line input
  `Input.CD` | * | use CD input
  `Bits.BITS8` | * | use 8 bits
  `Bits.BITS16` | * | use 16 bits

#### inner SOUND_AVAILABLE
`doc/internal.js`, `line 34`

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `SOUND_AVAILABLE` | boolean | true if sound is available.

#### inner SYSTEM
`jsboot/func.js`, `line 251`

  System() flags for subsystem shutdown/restart.

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `MOUSE` | * | de/reinit mouse
  `SOUND` | * | de/reinit sound
  `JOYSTICK` | * | de/reinit joystick
  `KEYBOARD` | * | de/reinit keyboard
  `TIMER` | * | de/reinit timer

### Methods

#### inner _Debug(str)
`jsboot/func.js`, `line 60`

  Internal debug which does not redirect to IPX if enabled.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `str` | string | the message to print.

#### inner CharCode(s)
`jsboot/func.js`, `line 165`

  get char code.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `s` | string | a string

  ##### Returns:

  - the ASCII-code of the first character.

#### inner CompareKey(k, s)
`jsboot/func.js`, `line 175`

  compare a keycode with a character.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `k` | number | keycode from an Event
  `s` | string | a string with one char

#### inner Debug(str)
`jsboot/func.js`, `line 48`

  print javascript debug output if DEBUG is true.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `str` | string | the message to print.

#### inner Gc(info)
`doc/internal.js`, `line 524`

  Run garbage collector, print statistics to logfile if 'info==true'.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `info` | boolean | true to print collection stats to logfile.

#### inner GetFramerate() → {number}
`doc/internal.js`, `line 542`

  Current frame rate.

  ##### Returns:

  number - current framerate.

#### inner Include(name)
`jsboot/func.js`, `line 107`

  include a module. The exported functions are copied into global scope.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `name` | string | module file name.

#### inner InPortByte(port) → {number}
`doc/internal.js`, `line 584`

  read a byte value from a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to read from.

  ##### Returns:

  number - 8-bit value read from port.

#### inner InPortLong(port) → {number}
`doc/internal.js`, `line 598`

  read a long value from a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to read from.

  ##### Returns:

  number - 32-bit value read from port.

#### inner InPortWord(port) → {number}
`doc/internal.js`, `line 591`

  read a word value from a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to read from.

  ##### Returns:

  number - 16-bit value read from port.

#### inner List(dname) → {Array.<string>}
`doc/internal.js`, `line 510`

  Get directory listing.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `dname` | string | name of directory to list.

  ##### Throws:

  Throws an error if listing fails.

  ##### Returns:

  Array.<string> - array of entry names.

#### inner MemoryInfo() → {MemInfo}
`doc/internal.js`, `line 530`

  Get information system memory.

  ##### Returns:

  MemInfo - an info object.

#### inner MouseSetCursorMode(mode)
`doc/internal.js`, `line 466`

  Change mode of the mouse cursor.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `mode` | * | a mode from MOUSE.

#### inner MouseSetLimits(x1, y1, x2, y2)
`doc/internal.js`, `line 447`

  Limit mouse movement.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `x1` | number | start x coordinate.
  `y1` | number | start y coordinate.
  `x2` | number | end x coordinate.
  `y2` | number | end y coordinate.

#### inner MouseSetSpeed(x, y)
`doc/internal.js`, `line 438`

  Set mouse speed.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `x` | number | horizontal speed.
  `y` | number | vertical speed.

#### inner MouseShowCursor(b)
`doc/internal.js`, `line 460`

  Show hide mouse cursor.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `b` | boolean | true or false.

#### inner MouseWarp(x, y)
`doc/internal.js`, `line 454`

  Move mouse cursor.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `x` | number | x coordinate.
  `y` | number | y coordinate.

#### inner MsecTime() → {number}
`doc/internal.js`, `line 494`

  Get ms timestamp.

  ##### Returns:

  number - ms time.

#### inner OutPortByte(port, value)
`doc/internal.js`, `line 563`

  write a byte value to a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to write to.
  `value` | number | 8-bit value to write to port.

#### inner OutPortLong(port, value)
`doc/internal.js`, `line 577`

  write a long value to a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to write to.
  `value` | number | 32-bit value to write to port.

#### inner OutPortWord(port, value)
`doc/internal.js`, `line 570`

  write a word value to a hardware io-port.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `port` | number | port address to write to.
  `value` | number | 16-bit value to write to port.

#### inner POST(val)
`jsboot/func.js`, `line 219`

  Write the given value to io-port 80h to be displayed by a POST card.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `val` | number | value to write to 0x80.

#### inner Print(s)
`doc/internal.js`, `line 472`

  Write data to JSLOG.TXT logfile.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `s` | string | the string to print.

#### inner Println(s)
`doc/internal.js`, `line 477`

  Write data to JSLOG.TXT logfile with a newline.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `s` | string | the string to print.

#### inner RandomInt(min, max) → {number}
`jsboot/func.js`, `line 187`

  get random integer between min and max (or between 0 and min if max is not provided).

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `min` | number | min
  `max` | number | max

  ##### Returns:

  number - an integer between min and max.

#### inner Read(filename) → {string}
`doc/internal.js`, `line 502`

  Load the contents of a file into a string. Throws exception if loading fails.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `filename` | string | name of file to read.

  ##### Throws:

  Throws an error if reading fails.

  ##### Returns:

  string - the contents of the file.

#### inner Require(name)
`jsboot/func.js`, `line 71`

  import a module.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `name` | string | module file name.

  ##### Returns:

  - the imported module.

#### inner SetExitKey(key)
`doc/internal.js`, `line 548`

  Change the exit key from ESCAPE to any other keycode from KEY}.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `key` | number |

#### inner SetFramerate(rate)
`doc/internal.js`, `line 536`

  Set maximum frame rate. If Loop takes longer than '1/rate' seconds then the framerate will not be reached.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `rate` | number | max frame rate wanted.

#### inner Sleep(ms)
`doc/internal.js`, `line 488`

  Sleep for the given number of ms.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `ms` | number | time to sleep.

#### inner StartupInfo()
`jsboot/func.js`, `line 126`

  print startup info with screen details.

#### inner Stat(name) → {StatInfo}
`doc/internal.js`, `line 518`

  Get information about a file / directory.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `name` | string | name of the file to get info for.

  ##### Throws:

  Throws an error if stat fails.

  ##### Returns:

  StatInfo - an info object.

#### inner Stop()
`doc/internal.js`, `line 482`

  DOjS will exit after the current call to Loop.

#### inner System(cmd, flags) → {number}
`doc/internal.js`, `line 556`

  Run a DOS command.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `cmd` | string | the command to execute with its parameters.
  `flags` | SYSTEM | flags indicating which subsystems to shutdown (if any) during execution of cmd.

  ##### Returns:

  number - the return code of the command.