Spaces:
Running
Running
File size: 10,676 Bytes
a893c6e | 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 | // Generated by chipformer/web.py (python -m chipformer.web space). Do not edit by hand.
export const ASSET_BASE = "./assets";
export const ASSET_VERSION = "604312eb3c";
export const MACHINE = {"VAL_BASE": 0, "ADDR_BASE": 4096, "STEP": 8705, "TICK": 8706, "BOOT": 8707, "NULL": 4608, "CLS": 4118, "PC": 4113, "RNG": 4117, "KEYS": 4144, "DISPLAY": 4352, "QUIRKS": 4119, "QUIRK_NAMES": ["shift", "loadstore", "clip", "logic", "jump", "vforder"]};
export const MODEL_FACTS = {"layers": 18, "dModel": 382, "heads": 42, "ffnUnits": 22276, "params": 32328660, "nonzero": 139229, "vocab": 8708, "modelBytes": 2244711, "wasmBytes": 223894};
export const LIBRARY = {"total": 119, "verified": 118};
/** Per layer: the names of its attention heads (in model order) and its FFN unit count. */
export const LAYERS = [{"heads": ["write_addr", "rec_start", "last_tick"], "units": 2}, {"heads": ["PC", "I", "SP", "DT", "ST", "RNG", "V0", "key0", "key1", "key2", "key3", "key4", "key5", "key6", "key7", "key8", "key9", "keyA", "keyB", "keyC", "keyD", "keyE", "keyF", "q.shift", "q.loadstore", "q.clip", "q.logic", "q.jump", "q.vforder", "old", "old.cls"], "units": 91}, {"heads": ["op_hi"], "units": 16477}, {"heads": ["op_lo", "stack_top"], "units": 1054}, {"heads": ["VX"], "units": 1108}, {"heads": ["VY"], "units": 1117}, {"heads": [], "units": 1080}, {"heads": [], "units": 65}, {"heads": [], "units": 52}, {"heads": ["ctx"], "units": 88}, {"heads": [], "units": 31}, {"heads": ["vread"], "units": 4}, {"heads": [], "units": 1007}, {"heads": [], "units": 64}, {"heads": [], "units": 8}, {"heads": [], "units": 2}, {"heads": ["last_collision"], "units": 2}, {"heads": [], "units": 24}];
export const GAMES = [
{
"id": "tetris",
"title": "Tetris",
"authors": [
"Fran Dachille"
],
"year": "1991",
"description": "TETRIS by Fran Dachille This is my first release of the famous Tetris game on the HP48S. I was inspired by the lack enjoyable games for our favorite handheld. [Not since the Goodies Disks have been available! -jkh-] This game, though it lacks some of the whistles and bangs of…",
"license": "freely distributable (Revival Studios CHIP-8 pack)",
"source": "https://github.com/kripod/chip8-roms/blob/master/games/Tetris%20%5BFran%20Dachille%2C%201991%5D.ch8",
"quirks": [
"shift",
"loadstore",
"clip",
"jump"
],
"ipf": 15,
"keys": {
"left": 5,
"right": 6,
"down": 7,
"a": 4
},
"controls": "Left/Right move, Down drops faster, Space rotates",
"tap": [
"a"
],
"gameOver": {
"rows": [
6,
7
],
"cols": [
27,
35
],
"seconds": 5,
"message": "The well is full"
}
},
{
"id": "space-invaders",
"title": "Space Invaders",
"authors": [
"David Winter"
],
"year": "1996",
"description": "Space Invaders (1978), by David Winter The well known game. Destroy the invaders with your ship. Shoot with 5, move with 4 and 6. Press 5 to begin a game.",
"license": "freely distributable (Revival Studios CHIP-8 pack)",
"source": "https://github.com/kripod/chip8-roms/blob/master/games/Space%20Invaders%20%5BDavid%20Winter%5D.ch8",
"quirks": [
"shift",
"loadstore",
"clip",
"jump"
],
"ipf": 30,
"keys": {
"left": 4,
"right": 6,
"a": 5
},
"controls": "Left/Right move, Space fires (press Space to start)",
"tap": [],
"gameOver": null
},
{
"id": "brix",
"title": "Brix",
"authors": [
"Andreas Gustafsson"
],
"year": "1990",
"description": "Brix - by Andreas Gustafsson (1990) ----------------------------------- This game is an \"arkanoid\" precursor. You have 5 lives, and your goal is the destruction of all the brixs. Use 4 and 6 to move your paddle. The game ends when all the brixs are destroyed.",
"license": "freely distributable (Revival Studios CHIP-8 pack)",
"source": "https://github.com/kripod/chip8-roms/blob/master/games/Brix%20%5BAndreas%20Gustafsson%2C%201990%5D.ch8",
"quirks": [
"clip",
"logic"
],
"ipf": 15,
"keys": {
"left": 4,
"right": 6
},
"controls": "Left/Right move the paddle",
"tap": [],
"gameOver": null
},
{
"id": "blinky",
"title": "Blinky",
"authors": [
"Hans Christian Egeberg"
],
"year": "1991",
"description": "Blinky (1991), by Hans Christian Egeberg Pacman clone. 3, 6 - down/up. 7, 8 - left/right",
"license": "freely distributable (Revival Studios CHIP-8 pack)",
"source": "https://github.com/kripod/chip8-roms/blob/master/games/Blinky%20%5BHans%20Christian%20Egeberg%2C%201991%5D.ch8",
"quirks": [
"shift",
"loadstore",
"clip",
"jump"
],
"ipf": 30,
"keys": {
"up": 6,
"down": 3,
"left": 7,
"right": 8
},
"controls": "Arrow keys steer through the maze",
"tap": [],
"gameOver": null
},
{
"id": "pong",
"title": "Pong",
"authors": [
"Paul Vervalin"
],
"year": "1990",
"description": "OK. here is PONG version 1.1. The ball is a little faster in this version making play a little more realistic. I know PONG 1.0 was just posted yesterday, but I think this version is significantly better, so here it is. Use keys 7 and 4 move left player and / and * move right…",
"license": "freely distributable (Revival Studios CHIP-8 pack)",
"source": "https://github.com/kripod/chip8-roms/blob/master/games/Pong%20%5BPaul%20Vervalin%2C%201990%5D.ch8",
"quirks": [
"clip",
"logic"
],
"ipf": 15,
"keys": {
"up": 1,
"down": 4,
"player2Up": 12,
"player2Down": 13
},
"controls": "Left paddle A/D (or W/S), right paddle Left/Right (or Up/Down)",
"tap": [],
"gameOver": null
},
{
"id": "super-pong",
"title": "Super Pong",
"authors": [
"offstatic"
],
"year": "2021",
"description": "A fast pong-like.",
"license": "CC0",
"source": "https://github.com/JohnEarnest/chip8Archive/master/roms/superpong.ch8",
"quirks": [],
"ipf": 30,
"keys": {
"up": 5,
"left": 7,
"down": 8,
"right": 9,
"a": 6
},
"controls": "WASD moves the paddles, Space (E) resets",
"tap": [],
"gameOver": null
},
{
"id": "ufo",
"title": "UFO",
"authors": [
"Lutz V"
],
"year": "1992",
"description": "Here's how to play UFO: You have a stationary missle launcher at the bottom of the screen. You can shoot in three directions; left diagonal, straight up, and right diagonal.. using the keys 4, 5, and 6 respectively.. You try to hit one of two objects flying by.. at apparently…",
"license": "freely distributable (Revival Studios CHIP-8 pack)",
"source": "https://github.com/kripod/chip8-roms/blob/master/games/UFO%20%5BLutz%20V%2C%201992%5D.ch8",
"quirks": [
"clip",
"logic"
],
"ipf": 15,
"keys": {
"left": 4,
"a": 5,
"right": 6
},
"controls": "Left/Space/Right fire left, up, right",
"tap": [],
"gameOver": null
},
{
"id": "missile-command",
"title": "Missile Command",
"authors": [
"David Winter"
],
"year": "1996",
"description": "Missile Command - by David Winter (19xx) ---------------------------------------- You must shoot the 8 targets on the screen using key 8. Your shooter moves a little bit faster each time you shoot. You have 12 missiles to shoot all the targets, and you win 5 points per target…",
"license": "freely distributable (Revival Studios CHIP-8 pack)",
"source": "https://github.com/kripod/chip8-roms/blob/master/games/Missile%20%5BDavid%20Winter%5D.ch8",
"quirks": [
"clip",
"logic"
],
"ipf": 15,
"keys": {
"a": 8
},
"controls": "Space fires",
"tap": [],
"gameOver": null
},
{
"id": "br8kout",
"title": "Br8kout",
"authors": [
"SharpenedSpoon"
],
"year": "2014",
"description": "You can't even imagine how amazing this breakout clone is!",
"license": "CC0",
"source": "https://github.com/JohnEarnest/chip8Archive/master/roms/br8kout.ch8",
"quirks": [],
"ipf": 7,
"keys": {
"up": 5,
"left": 7,
"down": 8,
"right": 9,
"a": 6
},
"controls": "Left/Right move the paddle",
"tap": [],
"gameOver": null
},
{
"id": "cave-explorer",
"title": "Cave Explorer",
"authors": [
"JohnEarnest"
],
"year": "2014",
"description": "Do you have what it takes to be a Cave Explorer?",
"license": "CC0",
"source": "https://github.com/JohnEarnest/chip8Archive/master/roms/caveexplorer.ch8",
"quirks": [],
"ipf": 20,
"keys": {
"up": 5,
"left": 7,
"down": 8,
"right": 9,
"a": 6
},
"controls": "Arrow keys move",
"tap": [],
"gameOver": null
},
{
"id": "outlaw",
"title": "Outlaw",
"authors": [
"JohnEarnest"
],
"year": "2014",
"description": "An adaptation of the Atari 2600 game \"Outlaw\" for the Chip8.",
"license": "CC0",
"source": "https://github.com/JohnEarnest/chip8Archive/master/roms/outlaw.ch8",
"quirks": [],
"ipf": 15,
"keys": {
"up": 5,
"left": 7,
"down": 8,
"right": 9,
"a": 6
},
"controls": "Arrow keys move, Space shoots",
"tap": [],
"gameOver": null
},
{
"id": "flight-runner",
"title": "Flight Runner",
"authors": [
"TodPunk"
],
"year": "2014",
"description": "A simple flight runner for the Chip8.",
"license": "CC0",
"source": "https://github.com/JohnEarnest/chip8Archive/master/roms/flightrunner.ch8",
"quirks": [],
"ipf": 15,
"keys": {
"up": 5,
"left": 7,
"down": 8,
"right": 9,
"a": 6
},
"controls": "Up/Down steer",
"tap": [],
"gameOver": null
},
{
"id": "down8",
"title": "down8",
"authors": [
"tinaun"
],
"year": "2015",
"description": "you fall down an endless hole and then you die!",
"license": "CC0",
"source": "https://github.com/JohnEarnest/chip8Archive/master/roms/down8.ch8",
"quirks": [],
"ipf": 15,
"keys": {
"up": 5,
"left": 7,
"down": 8,
"right": 9,
"a": 6
},
"controls": "Left/Right move",
"tap": [],
"gameOver": null
},
{
"id": "dino-run",
"title": "Dino Run",
"authors": [
"Andrezinrc"
],
"year": "2026",
"description": "An endless runner game for Chip-8.",
"license": "CC0",
"source": "https://github.com/JohnEarnest/chip8Archive/master/roms/dinorun.ch8",
"quirks": [
"clip",
"logic"
],
"ipf": 15,
"keys": {
"up": 5,
"left": 7,
"down": 8,
"right": 9,
"a": 6
},
"controls": "Up or Space jumps",
"tap": [],
"gameOver": null
}
];
|