Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- https://github.com/z00m128/zmakebas/blob/master/zmakebas.c
- portable emscripten https://github.com/kaizhu256/emsdk_portable , DOWNLOAD https://gsdview.appspot.com/webports/mirror/emscripten/
- convert WSM to JS https://rustwasm.github.io/wasm-bindgen/examples/wasm2js.html
- _______________
- PAWS ZX adventure creators : https://www.ifwiki.org/Stable_authoring_systems
- Latest adventuron https://adventuron.io/betabeta/ (there is in archive.org an older version for local https://archive.org/details/adventuron-classroom-beta-68j )
- adventuron OLDER versions :(check for PAW) : https://web.archive.org/web/*/https://adventuron.io/classroom/
- Tiny Computer 80 - https://tic80.com/
- _________________________
- https://stackoverflow.com/questions/36957821/sending-octet-stream-via-ajax
- ________________________
- JS
- https://stackoverflow.com/questions/70666337/how-do-i-convert-the-c-to-javascript
- ________________________
- __________________________
- https://www.php.net/manual/en/ffi.examples-basic.php
- <?php
- // create gettimeofday() binding
- $ffi = FFI::cdef("
- typedef unsigned int time_t;
- typedef unsigned int suseconds_t;
- struct timeval {
- time_t tv_sec;
- suseconds_t tv_usec;
- };
- struct timezone {
- int tz_minuteswest;
- int tz_dsttime;
- };
- int gettimeofday(struct timeval *tv, struct timezone *tz);
- ", "libc.so.6");
- // create C data structures
- $tv = $ffi->new("struct timeval");
- $tz = $ffi->new("struct timezone");
- // call C's gettimeofday()
- var_dump($ffi->gettimeofday(FFI::addr($tv), FFI::addr($tz)));
- // access field of C data structure
- var_dump($tv->tv_sec);
- // print the whole C data structure
- var_dump($tz);
- ?>
- ________________________
- ________________________
- __________________________
- ________________________
- ________________________
- SNA hexedit info:
- first line starts at 0x00001CE6
- 0D : end of line eg 0D 00 0A is line 11 (00 0A is line number)
- 0D 00 0A
- END of program ??? 0D 80 0D
- EG
- 00 0A 0A 00 20 F5 22 68 65 6C 6C 6F 22 0D
- 10 PRINT " h e l l o "
- 00 0B 0C 00 20 F5 22 68 65 6C 6C 6F 31 31 22 0D
- 11 PRINT " h e l l o 1 1 "
- 00 0C 05 00 20 EE 61 24 0D
- 12 INPUT a $
- 80 0D 80 20 EE 61 24 0D 80 20
- __________________________
- DEC codes for commands:
- 58: ":",
- 59: ";",
- 60: "<",
- 62: ">",
- 135: "PEEK$",
- 136: "REG",
- 137: "DPOKE",
- 138: "DPEEK",
- 139: "MOD",
- 140: "<<",
- 141: ">>",
- 142: "UNTIL",
- 143: "ERROR",
- 144: "ON",
- 145: "DEFPROC",
- 146: "ENDPROC",
- 147: "PROC",
- 148: "LOCAL",
- 149: "DRIVER",
- 150: "WHILE",
- 151: "REPEAT",
- 152: "ELSE",
- 153: "REMOUNT",
- 154: "BANK",
- 155: "TILE",
- 156: "LAYER",
- 157: "PALETTE",
- 158: "SPRITE",
- 159: "PWD",
- 160: "CD",
- 161: "MKDIR",
- 162: "RMDIR",
- 163: "SPECTRUM",
- 164: "PLAY",
- 165: "RND",
- 166: "INKEY$",
- 167: "PI",
- 168: "FN",
- 169: "POINT",
- 170: "SCREEN$",
- 171: "ATTR",
- 172: "AT",
- 173: "TAB",
- 174: "VAL$",
- 175: "CODE",
- 176: "VAL",
- 177: "LEN",
- 178: "SIN",
- 179: "COS",
- 180: "TAN",
- 181: "ASN",
- 182: "ACS",
- 183: "ATN",
- 184: "LN",
- 185: "EXP",
- 186: "INT",
- 187: "SQR",
- 188: "SGN",
- 189: "ABS",
- 190: "PEEK",
- 191: "IN",
- 192: "USR",
- 193: "STR$",
- 194: "CHR$",
- 195: "NOT",
- 196: "BIN",
- 197: "OR",
- 198: "AND",
- 199: "<=",
- 200: ">=",
- 201: "<>",
- 202: "LINE",
- 203: "THEN",
- 204: "TO",
- 205: "STEP",
- 206: "DEF FN",
- 207: "CAT",
- 208: "FORMAT",
- 209: "MOVE",
- 210: "ERASE",
- 211: "OPEN #",
- 212: "CLOSE #",
- 213: "MERGE",
- 214: "VERIFY",
- 215: "BEEP",
- 216: "CIRCLE",
- 217: "INK",
- 218: "PAPER",
- 219: "FLASH",
- 220: "BRIGHT",
- 221: "INVERSE",
- 222: "OVER",
- 223: "OUT",
- 224: "LPRINT",
- 225: "LLIST",
- 226: "STOP",
- 227: "READ",
- 228: "DATA",
- 229: "RESTORE",
- 230: "NEW",
- 231: "BORDER",
- 232: "CONTINUE",
- 233: "DIM",
- 234: "REM",
- 235: "FOR",
- 236: "GO TO",
- 237: "GO SUB",
- 238: "INPUT",
- 239: "LOAD",
- 240: "LIST",
- 241: "LET",
- 242: "PAUSE",
- 243: "NEXT",
- 244: "POKE",
- 245: "PRINT",
- 246: "PLOT",
- 247: "RUN",
- 248: "SAVE",
- 249: "RANDOMIZE",
- 250: "IF",
- 251: "CLS",
- 252: "DRAW",
- 253: "CLEAR",
- 254: "RETURN",
- 255: "COPY"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement