Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/burakcan/jsgs
/ functions
Functions
88 in github.com/burakcan/jsgs
⨍
Functions
88
◇
Types & classes
14
↓ 20 callers
Method
poke
(addr, val)
src/Ram.js:30
↓ 15 callers
Method
peek
(addr)
src/Ram.js:26
↓ 13 callers
Function
pset
(x, y, colorIndex, color8)
src/OS/graphics.lib.js:57
↓ 9 callers
Function
stringy
(byte)
src/OS/readCartridge.lib.js:9
↓ 8 callers
Function
line
(x0, y0, x1, y1, colorIndex)
src/OS/graphics.lib.js:102
↓ 6 callers
Function
fget
(n, f)
src/OS/graphics.lib.js:465
↓ 6 callers
Method
memwrite
(dest_addr, data)
src/Ram.js:42
↓ 4 callers
Method
memread
(dest_addr, length)
src/Ram.js:38
↓ 3 callers
Method
boot
(machine)
src/OS/index.js:37
↓ 3 callers
Function
buildString
(str, len)
src/OS/readCartridge.lib.js:14
↓ 2 callers
Method
ifInRange
(addr, fn)
src/Ram.js:18
↓ 2 callers
Function
pad
(byte)
src/OS/readCartridge.lib.js:4
↓ 2 callers
Method
sendEvent
(type, machine, payload)
src/OS/index.js:15
↓ 2 callers
Method
update
()
src/OS/index.js:187
↓ 1 callers
Method
_draw
()
src/OS/index.js:185
↓ 1 callers
Function
_getCamera
()
src/OS/graphics.lib.js:398
↓ 1 callers
Function
_getClip
()
src/OS/graphics.lib.js:422
↓ 1 callers
Method
_update
()
src/OS/index.js:184
↓ 1 callers
Method
btn
(which, player = 0)
src/Controller/Keyboard.js:34
↓ 1 callers
Method
buildButtons
()
src/Controller/OnScreen.js:9
↓ 1 callers
Method
cartridgeEject
(machine)
src/OS/index.js:93
↓ 1 callers
Method
cartridgeMount
(machine)
src/OS/index.js:81
↓ 1 callers
Method
createCanvas
({ element, size })
src/Screen/index.js:36
↓ 1 callers
Function
decompress
(code)
src/OS/readCartridge.lib.js:26
↓ 1 callers
Function
getData
(bmp)
src/OS/readCartridge.lib.js:59
↓ 1 callers
Function
getGraphicsFunctions
(ram)
src/OS/graphics.lib.js:3
↓ 1 callers
Function
getSoundFunctions
(ram)
src/OS/sound.lib.js:1
↓ 1 callers
Method
loadCartridge
(url, machine)
src/OS/index.js:97
↓ 1 callers
Function
memoize
(fn)
src/OS/graphics.lib.js:4
↓ 1 callers
Method
memset
(dest_addr, value, length)
src/Ram.js:34
↓ 1 callers
Function
mget
(celX, celY)
src/OS/graphics.lib.js:220
↓ 1 callers
Method
mountCanvas
(element)
src/Screen/index.js:46
↓ 1 callers
Function
palt
(c, t)
src/OS/graphics.lib.js:379
↓ 1 callers
Method
runCartridge
(____cartridgeData____)
src/OS/index.js:127
↓ 1 callers
Function
spr
(n, x, y, w, h, flip_x, flip_y)
src/OS/graphics.lib.js:250
↓ 1 callers
Method
transpileLua
(code)
src/OS/index.js:192
↓ 1 callers
Method
updateLoop
(fn, fps)
src/JSGS.js:18
Function
_color8toHexStr
(color8)
src/OS/graphics.lib.js:21
Function
_getCursor
()
src/OS/graphics.lib.js:447
Function
band
(x, y)
src/OS/math.lib.js:36
Function
bnot
(x)
src/OS/math.lib.js:48
Function
bor
(x, y)
src/OS/math.lib.js:40
Method
btnp
(which, player = 0)
src/Controller/Keyboard.js:38
Function
bxor
(x, y)
src/OS/math.lib.js:44
Function
camera
(x = 0, y = 0)
src/OS/graphics.lib.js:411
Function
circ
(x0, y0, r, colorIndex)
src/OS/graphics.lib.js:151
Function
circfill
(x0, y0, radius, colorIndex)
src/OS/graphics.lib.js:184
Function
clip
(x = 0, y = 0, w = 127, h = 127)
src/OS/graphics.lib.js:431
Function
cls
()
src/OS/graphics.lib.js:98
Function
color
(colorIndex = 0)
src/OS/graphics.lib.js:443
Method
constructor
(size)
src/Ram.js:2
Method
constructor
(options)
src/JSGS.js:2
Method
constructor
(options)
src/Screen/index.js:2
Method
constructor
(machine)
src/Controller/OnScreen.js:4
Method
constructor
()
src/Controller/Keyboard.js:2
Method
constructor
(machine)
src/OS/index.js:10
Function
cos
(x)
src/OS/math.lib.js:20
Method
createCanvas
(options)
src/Screen/CRTScreen.js:5
Method
cstore
()
src/Ram.js:58
Function
cursor
(x, y)
src/OS/graphics.lib.js:455
Method
enter
(node, parent)
src/OS/index.js:207
Function
fset
(n, f, v)
src/OS/graphics.lib.js:475
Method
getUptime
()
src/OS/index.js:223
Function
map
(celX, celY, sx, sy, celW, celH, layer)
src/OS/graphics.lib.js:234
Method
memcpy
(dest_addr, source_addr, length)
src/Ram.js:49
Function
mid
(x, y, z)
src/OS/math.lib.js:14
Method
mountCanvas
(element)
src/Screen/CRTScreen.js:20
Function
mset
(celX, celY, sNum)
src/OS/graphics.lib.js:209
Function
music
(n, fadeLen, channelMask)
src/OS/sound.lib.js:2
Function
pal
(c1, c2, p = 0)
src/OS/graphics.lib.js:361
Function
pget
(x, y)
src/OS/graphics.lib.js:36
Function
print
(text, x = 0, y = 0, colorIndex)
src/OS/graphics.lib.js:331
Function
readCartridge
($bmp)
src/OS/readCartridge.lib.js:3
Function
rect
(x1, y1, x2, y2, colorIndex)
src/OS/graphics.lib.js:128
Function
rectfill
(x1, y1, x2, y2, colorIndex)
src/OS/graphics.lib.js:139
Method
reload
()
src/Ram.js:56
Function
rnd
(x)
src/OS/math.lib.js:2
Function
sfx
(n, channel, offset)
src/OS/sound.lib.js:4
Function
sget
(x, y)
src/OS/graphics.lib.js:291
Function
sgn
(x)
src/OS/math.lib.js:6
Function
shl
(x, y)
src/OS/math.lib.js:52
Function
shr
(x, y)
src/OS/math.lib.js:54
Function
sin
(x)
src/OS/math.lib.js:24
Function
srand
(x)
src/OS/math.lib.js:34
Function
sset
(x, y, colorIndex)
src/OS/graphics.lib.js:305
Function
stat
()
src/OS/graphics.lib.js:495
Method
update
(ram)
src/Screen/index.js:11
Method
update
(ram)
src/Screen/CRTScreen.js:24