You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

duplct.src 707B

123456789101112131415161718192021222324252627282930313233
  1. .page 'duplicate'
  2. ; duplicate disk
  3. duplct
  4. lda #badcmd
  5. jmp cmderr
  6. ; transfer format code to buffer 0
  7. ; & start controller formatting
  8. format
  9. lda #$4c
  10. sta bufs+$300
  11. lda #<formt
  12. sta bufs+$301
  13. lda #>formt
  14. sta bufs+$302
  15. ;
  16. lda #3
  17. jsr seth
  18. lda drvnum
  19. ora #exec
  20. sta jobs+3
  21. fmt105 lda jobs+3
  22. bmi fmt105
  23. cmp #2
  24. bcc fmt110
  25. lda #3
  26. ldx #0
  27. jmp error
  28. fmt110 rts
  29. ;
  30. ;
  31. ;.end