Skip to content

Instantly share code, notes, and snippets.

@john-clark
Last active July 12, 2024 05:44
Show Gist options
  • Save john-clark/ae31f9d649ac0f8ab40d959d32e12db4 to your computer and use it in GitHub Desktop.
Save john-clark/ae31f9d649ac0f8ab40d959d32e12db4 to your computer and use it in GitHub Desktop.

JiffyDOS cheat sheet commands for C=64

Load/Function keys

  • SHIFT RUN/STOP Load and run 1st program on disk ( shift-esc )

  • C= RUN/STOP load last run program ( tab-esc )

  • F1 @$:* RETURN or @$ RETURN Display directory

  • F2 %D[filename] List a BASIC program from disk

  • F3 /[filename] Load a BASIC program

  • F4 @T[filename] List an ASCII (text) file from disk

  • F5 ↑[filename] Load and run a BASIC program

  • F6 ←[filename] Save a BASIC program

  • F7 %[filename] Load an ML program

  • F8 @"S:[filename] Scratch/Delete a file (cursor up do file in dir)

CTRL keys

  • CTRL+D Default drive toggle
  • CTRL+A Toggle all files for copy
  • CTRL+S Stop / freeze LISTing
  • CTRL+P Screen Dump
  • CTRL+W Toggle single file for copy

Directory

  • F1 or /$
  • @$ list dir without corrupting memory
  • @$/SUBDIR/:* list files in subdir of current dir
  • @$18//DIR/SUBDIR/:* list files in partition 18 in subdir of dir
  • @$=T: Timestamp list @$=T:*=L long timestamp @$=T:*=<01/27/08 files less than date
  • @$=P partition list
  • @$:*=P list prg files (P=PRG, S=SEQ, U=USR, B=subdirs(branches)

Change drive/partition/directory

  • @#8 change to drive 8
  • @#10 change to drive 10
  • @CP1 change to change to partition 1 ...etc
  • @CD:SUBDIR change to directory "subdirname"
  • @CD← change to parent dir (← is made with tilde on vice)
  • @CD// change to root dir

Create/Rename/Remove

  • @MD:SUBDIR make "subdirname"

  • @MD12//DIR/:SUBDIR create subdir in dir on part 12

  • @RD:SUBDIR remove empty dir

  • @R0:NEWNAME=OLDNAME rename dir

  • @R-H:NEWNAME rename dir header

  • @R-P:NEWNAME=OLDNAME rename partition

  • @R:newname=oldname Rename file

  • @S:file Scratch/Delete file

  • /filename LOAD program

  • £filename LOAD program (backslash =£)

  • %filename LOAD and RUN program

  • ↑filename Load and RUN program (F5~ = ←)

  • ←filename Save program (shift ~ = ←)

  • 'filename Verify program

Copy files

(Remember: target first, then source)
  • @C2//:FILENAME=1//:FILENAME copy FILENAME from partition 1 to partition 2
  • @C16//TEMP/:FILE=18//DIR/:FILE copy FILE from partition 18 in DIR to partition 16, dir TEMP
  • @C//DIR2/:TEST=//DIR1/:TEST copy TEST from DIR1 to DIR2 of current partition

Alternative

  1. CTRL-D to select source drive (@#8)
  2. @Xn to set destination (n=target drive ID)
  3. /$ to load directory
  4. CTRL-A to select all files or use LIST and CTRL-W to select individual files
  5. RUN to execute copy

Note

Deleting a directory with a '/' in its name

Unfortunately, it's possible to create a directory with a slash in its name. The command

@MD:AB/CD

will in fact create a directory named AB/CD. Trying to delete it:

@RD:AB/CD

will give a 39,FILE NOT FOUND error, and wild cards won't work:

@RD:AB?CD

will give a 30,SYNTAX ERROR. The only way you can delete it is to rename it first:

@R0:ABCDE=AB/CD @RD:ABCDE

Path sensitivity

LOAD"21/CMD/:HD-TOOLS.64",12 may give an error depending on your working dir LOAD"21//CMD/:HD-TOOLS.64",12 would be correct

https://www.c64-wiki.com/wiki/JiffyDOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment