Lines Matching +full:3 +full:- +full:line

2 #------------------------------------------------------------------------------
16 # Reference: https://vice-emu.sourceforge.io/vice_17.html#SEC391
18 # http://mark0.net/download/triddefs_xml.7z/defs/c/crt-c64.trid.xml
23 # skip DROID fmt-822-signature-id-1179.crt with missing packet length
25 >>0 use c64-crt
27 0 name c64-crt
29 #!:mime application/octet-stream
30 !:mime application/x-commodore-crt
32 # http://mark0.net/download/triddefs_xml.7z/defs/c/car-ccs64.trid.xml
36 # 32-byte null padded cartridge name like: "BUGS BUNNY" "CART64" "EasyFlash" "FINAL CARTRIDGE" "Mag…
40 # cartridge port EXROM line status
47 >0x16 beshort 3 Final Cartridge III
59 >0x16 beshort 15 C64 Game System, System 3
65 >0x16 beshort 21 Comal-80
79 >0x16 beshort 35 Action Replay 3
88 >0x16 beshort 41 IEEE-488
99 >0x16 beshort 52 Diashow-Maker
107 >0x16 beshort 58 RR-Net MK3
112 >0x16 beshort 63 ZIPP-CODE 48
116 >0x16 beshort 67 REX RAM-Floppy
117 >0x16 beshort 68 BIS-Plus
118 >0x16 beshort 69 SD-BOX
128 # cartridge hardware type: (0-78)
132 # padded with 3 space characters for CRT but for CCS64 Cartridge (*.CAR) maybe different according …
155 0 string CBM2\40CARTRIDGE Commodore CBM-II cartridge
159 0 string VIC20\40CARTRIDGE Commodore VIC-20 cartridge
164 >0x16 beshort 1 Mega-Cart
166 >0x16 beshort 3 Vic Flash Plugin
178 # https://www.c64-wiki.com/wiki/DreamLoad.
189 0 string GCR-1541 GCR Image
194 2 string -LH1- LHA archive (c64)
207 # https://vice-emu.sourceforge.io/vice_16.html#SEC394
208 # https://www.infinite-loop.at/Power64/Documentation/Power64-ReadMe/AE-File_Formats.html
209 # http://mark0.net/download/triddefs_xml.7z/defs/e/emu-t64.trid.xml
212 # verified by command like `deark -m t64 -l -d2 Caitan_the_Demo.t64` and
213 # `cbmconvert -v2 -t -D4 ironmanoffroad.d64 ironmanoffroad.t64`
218 # skip raw Commodore TAPe by check for unsed areas (\0 filled) and valid low (40h+m*20h; m=0-FFffh)…
220 #!:mime application/octet-stream
221 #!:mime application/x-commodore-tape
229 # ->ZYRON'S PD<- IMAGETAPE MY-T64-TEST\240\240\240 OPERATIONWOLF+3-711.T64
233 …0~free 1~normal tape file 2~tape file with header 3~memory snapshot 4~tape block 5~digitized strea…
271 # https://vice-emu.sourceforge.io/vice_16.html#SEC392
274 # a variant starting with C16-TAPE-RAW should exist, but no examples found
275 0 string/b C64-TAPE-RAW Commodore raw Tape image (platform
276 #0 string C64-TAPE-RAW C64 Raw Tape File (.tap),
277 #!:mime application/octet-stream
278 !:mime application/x-commodore-tape
282 # computer platform like: 0~C64 1~VIC-20 2~C16 Plus/4 3~PET 4~C5x0 5~C6x0 C7x0
284 >0xD ubyte 1 VIC-20
286 >0xD ubyte 3 PET
293 # http://mark0.net/download/triddefs_xml.7z/defs/t/tap-1.trid.xml
294 # Note: called "C64 Tape image format" (v0-original) (v1-updated)" by TrID
299 # video standard like: 0~PAL 1~NTSC 2~OLD NTSC 3~PALN
304 >0xE ubyte 3 PALN
306 >0xE ubyte >3 %#2.2x
324 # Reference: https://www.c64-wiki.com/wiki/BASIC_token
326 # http://mark0.net/download/triddefs_xml.7z/defs/p/prg-c64.trid.xml
328 # Note: "PUCrunch archive data" moved from ./archive and merged with c64-exe
334 # but sELF-ExTRACTING-zIP executable unzp6420.prg contains SYS token at end of second BASIC line (a…
335 >>23 search/30 \323ELF-E\330TRACTING-\332IP
336 >>>0 use c64-exe
338 >>>0 use c64-prg
341 >>0 use c64-exe
342 # display information about C64 binary executable (memory address, line number, token)
343 0 name c64-exe
346 # start address 0801h; next offset 080bh; BASIC line number is 239=00EFh; BASIC instruction is SYS …
350 !:mime application/x-compress-pucrunch
353 !:mime application/x-commodore-exec
358 >2 use basic-line
359 # jump to 1 byte before next BASIC fragment; this must be zero-byte marking the end of line
360 >(2.s-0x800) ubyte x
361 >>&-1 ubyte !0 \b, no EOL=%#x
362 # valid 2nd BASIC fragment found only in sELF-ExTRACTING-zIP executable unzp6420.prg
363 >>23 search/30 \323ELF-E\330TRACTING-\332IP
365 >>>(2.s-0x800) ubyte x
366 >>>>&0 use basic-line
367 # Zero-byte marking the end of the BASIC line
368 >-3 ubyte !0 \b, 3 last bytes %#2.2x
369 # Two zero-bytes in place of the pointer to next BASIC line indicates the end of the program
370 >>-2 ubeshort x \b%4.4x
371 # display information about tokenized C64 BASIC program (memory address, line number, token)
372 0 name c64-prg
374 !:mime application/x-commodore-basic
382 >2 use basic-line
383 # jump to 1 byte before next BASIC fragment; this must be zero-byte marking the end of line
384 >(2.s-0x0800) ubyte x
385 >>&-1 ubyte !0 \b, no EOL=%#x
387 >>&0 use basic-line
388 # zero-byte marking the end of the BASIC line
389 >-3 ubyte !0 \b, 3 last bytes %#2.2x
390 # Two zero-bytes in place of the pointer to next BASIC line indicates the end of the program
391 >>-2 ubeshort x \b%4.4x
394 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/p/prg-c128.trid.xml
399 # GRR: line above with strength 51 (50+1) is too generic because it matches SVr3 curses screen imag…
400 # probably skip SVr3 curses images with "invalid high" second line offset
402 # skip foo with "invalid low" second line offset
406 >>>>0 use c128-prg
409 >>>>0 use c128-exe
414 #>0 use c128-prg
419 #>0 use c128-prg
420 # display information about tokenized C128 BASIC program (memory address, line number, token)
421 0 name c128-prg
423 !:mime application/x-commodore-basic
428 >2 use basic-line
429 # jump to 1 byte before next BASIC fragment; this must be zero-byte marking the end of line
430 >(2.s-0x1C00) ubyte x
431 >>&-1 ubyte !0 \b, no EOL=%#x
433 >>&0 use basic-line
434 # Zero-byte marking the end of the BASIC line
435 >-3 ubyte !0 \b, 3 last bytes %#2.2x
436 # Two zero-bytes in place of the pointer to next BASIC line indicates the end of the program
437 >>-2 ubeshort x \b%4.4x
438 # display information about C128 program (memory address, line number, token)
439 0 name c128-exe
441 !:mime application/x-commodore-exec
446 >2 use basic-line
447 # jump to 1 byte before next BASIC fragment; this must be zero-byte marking the end of line
448 >(2.s-0x1C00) ubyte x
449 >>&-1 ubyte !0 \b, no EOL=%#x
451 #>>&0 use basic-line
452 # Zero-byte marking the end of the BASIC line
453 >-3 ubyte !0 \b, 3 last bytes %#2.2x
454 # Two zero-bytes in place of the pointer to next BASIC line indicates the end of the program
455 >>-2 ubeshort x \b%4.4x
456 # Summary: binary executable or Basic program for Commodore C16/VIC-20/Plus4 computers
458 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/p/prg-vic20.trid.xml
459 # defs/p/prg-plus4.trid.xml
461 # Note: there exist VIC-20 variants with different start address
462 # GRR: line below is too generic because it matches Novell LANalyzer capture
465 # skip regular Novell LANalyzer capture (novell-2.tr1 novell-lanalyzer.tr1 novell-win10.tr1) with "…
467 …gular Novell LANalyzer capture (novell-2.tr1 novell-lanalyzer.tr1 novell-win10.tr1) with "invalid …
469 # skip foo with "invalid high" second line offset but not for 0x123b (Minefield.prg)
473 # valid second end of line separator implies BASIC program
474 >>>(2.s-0x1000) ubyte =0
475 >>>>0 use c16-prg
476 # invalid second end of line separator !=0 implies binary executable like: Minefield.prg
477 >>>(2.s-0x1000) ubyte !0
478 >>>>0 use c16-exe
481 >>>0 use c16-exe
482 # display information about C16 program (memory address, line number, token)
483 0 name c16-exe
484 >0 uleshort x Commodore C16/VIC-20/Plus4 program
485 !:mime application/x-commodore-exec
490 >2 use basic-line
491 # jump to 1 byte before next BASIC fragment; this must be zero-byte marking the end of line
492 >(2.s-0x1000) ubyte x
493 >>&-1 ubyte !0 \b, no EOL=%#x
495 #>>&0 use basic-line
496 # Zero-byte marking the end of the BASIC line
497 >-3 ubyte !0 \b, 3 last bytes %#2.2x
498 # Two zero-bytes in place of the pointer to next BASIC line indicates the end of the program
499 >>-2 ubeshort x \b%4.4x
500 # display information about tokenized C16 BASIC program (memory address, line number, token)
501 0 name c16-prg
502 >0 uleshort x Commodore C16/VIC-20/Plus4 BASIC program
503 !:mime application/x-commodore-basic
508 >2 use basic-line
509 # jump to 1 byte before next BASIC fragment; this must be zero-byte marking the end of line
510 >(2.s-0x1000) ubyte x
511 >>&-1 ubyte !0 \b, no EOL=%#x
513 >>&0 use basic-line
514 # Zero-byte marking the end of the BASIC line
515 >-3 ubyte !0 \b, 3 last bytes %#2.2x
516 # Two zero-bytes in place of the pointer to next BASIC line indicates the end of the program
517 >>-2 ubeshort x \b%4.4x
518 # Summary: binary executable or Basic program for Commodore VIC-20 computer with 8K RAM expansion
519 # URL: https://en.wikipedia.org/wiki/VIC-20
520 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/p/prg-vic20-8k.trid.xml
522 # Note: Basic v2.0 with Basic v4.0 extension (VIC20); there exist VIC-20 variants with different s…
527 >>0 use vic-prg
530 >>0 use vic-exe
531 # display information about Commodore VIC-20 BASIC+8K program (memory address, line number, token)
532 0 name vic-prg
533 >0 uleshort x Commodore VIC-20 +8K BASIC program
534 !:mime application/x-commodore-basic
539 >2 use basic-line
540 # jump to 1 byte before next BASIC fragment; this must be zero-byte marking the end of line
541 >(2.s-0x1200) ubyte x
542 >>&-1 ubyte !0 \b, no EOL=%#x
544 >>&0 use basic-line
545 # Zero-byte marking the end of the BASIC line
546 >-3 ubyte !0 \b, 3 last bytes %#2.2x
547 # Two zero-bytes in place of the pointer to next BASIC line indicates the end of the program
548 >>-2 ubeshort x \b%4.4x
549 # display information about Commodore VIC-20 +8K program (memory address, line number, token)
550 0 name vic-exe
551 >0 uleshort x Commodore VIC-20 +8K program
552 !:mime application/x-commodore-exec
557 >2 use basic-line
558 # jump to 1 byte before next BASIC fragment; this must be zero-byte marking the end of line
559 >(2.s-0x0400) ubyte x
560 >>&-1 ubyte !0 \b, no EOL=%#x
562 #>>&0 use basic-line
563 # Zero-byte marking the end of the BASIC line
564 >-3 ubyte !0 \b, 3 last bytes %#2.2x
565 # Two zero-bytes in place of the pointer to next BASIC line indicates the end of the program
566 >>-2 ubeshort x \b%4.4x
569 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/p/prg-pet.trid.xml
574 # GRR: line above with strength 51 (50+1) is too generic because it matches TTComp archive data, AS…
575 # (strength=48=50-2) handled by ./archive and shared library (strength=50) handled by ./ibm6000
576 … skip TTComp archive data, ASCII, 1K dictionary ttcomp-ascii-1k.bin with "invalid high" second lin…
578 # skip foo with "invalid low" second line offset
580 # skip bar with "invalid end of line"
581 #>>>(2.s-0x0400) ubyte =0 END_OF_LINE_OK
584 >>>0 use pet-prg
587 >>>0 use pet-exe
588 # display information about Commodore PET BASIC program (memory address, line number, token)
589 0 name pet-prg
591 !:mime application/x-commodore-basic
596 >2 use basic-line
597 # jump to 1 byte before next BASIC fragment; this must be zero-byte marking the end of line
598 >(2.s-0x0400) ubyte x
600 >>&0 use basic-line
601 # zero-byte marking the end of the BASIC line
602 >-3 ubyte !0 \b, 3 last bytes %#2.2x
603 # Two zero-bytes in place of the pointer to next BASIC line indicates the end of the program
604 >>-2 ubeshort x \b%4.4x
605 # display information about Commodore PET program (memory address, line number, token)
606 0 name pet-exe
608 !:mime application/x-commodore-exec
613 >2 use basic-line
614 # jump to 1 byte before next BASIC fragment; this must be zero-byte marking the end of line
615 >(2.s-0x0400) ubyte x
616 >>&-1 ubyte !0 \b, no EOL=%#x
618 #>>&0 use basic-line
619 # Zero-byte marking the end of the BASIC line
620 >-3 ubyte !0 \b, 3 last bytes %#2.2x
621 # Two zero-bytes in place of the pointer to next BASIC line indicates the end of the program
622 >>-2 ubeshort x \b%4.4x
623 # display information about tokenized BASIC line (memory address, line number, Token)
624 0 name basic-line
625 # pointer to memory address of beginning of "next" BASIC line
630 # not line number but first 2 data bytes
638 #>>3 string x "%-0.30s"
640 # BASIC line number with range from 0 to 65520; practice to increment numbers by some value (5, 10 …
641 >>2 uleshort x \b, line %u
642 # https://www.c64-wiki.com/wiki/BASIC_token
643 # The "high-bit" bytes from #128-#254 stood for the various BASIC commands and mathematical operato…
645 # https://www.c64-wiki.com/wiki/REM
650 # https://www.c64-wiki.com/wiki/PRINT
652 # string like: "Hello world" "\021 \323ELF-E\330TRACTING-\332IP (64 ONLY)\016\231":\2362141
655 # https://www.c64-wiki.com/wiki/POKE
658 >>>5 regex \^[0-9,\040]+ %s
659 # BASIC command delimiter colon (:=3Ah)
660 >>>>&-2 ubyte =0x3A
663 # https://www.c64-wiki.com/wiki/SYS 0x9e=\236
665 # SYS <Address> parameter is a 16-bit unsigned integer; in the range 0 - 65535
666 >>>5 regex \^[0-9]{1,5} %s
667 # maybe followed by spaces, "control-characters" or colon (:) followed by next commnds or in victra…
670 # https://www.c64-wiki.com/wiki/GOSUB
672 # <line>