diff options
| author | Harley Travis <harleytravis123@outlook.com> | 2026-07-04 17:31:43 -0500 |
|---|---|---|
| committer | Harley Travis <harleytravis123@outlook.com> | 2026-07-04 17:31:43 -0500 |
| commit | 5f3d71b514e25f9359637b4bf1a2e63e4d52abcb (patch) | |
| tree | becf2b12f3b178ee34b09186472da8a1c0841597 /Examples | |
| parent | 3787fcdb5e4c5eef790fa29887e6a68c7a511729 (diff) | |
| download | templeos-floppy-driver-5f3d71b514e25f9359637b4bf1a2e63e4d52abcb.tar.gz | |
Update DskImg.HC
I renamed xfer_blk to xfer_cyl, and added a jump to the start of this label.
Diffstat (limited to 'Examples')
| -rw-r--r-- | Examples/DskImg.HC | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Examples/DskImg.HC b/Examples/DskImg.HC index 5912302..f0cb3a7 100644 --- a/Examples/DskImg.HC +++ b/Examples/DskImg.HC @@ -21,7 +21,7 @@ U8 DskImg() // Allocate a buffer for the cylinders buf=MAlloc(cyl_len*bd->blk_size) - xfer_blk: + xfer_cyl: // If we are past the last blk, stop. if (blk>bd->max_blk) goto done; @@ -33,6 +33,7 @@ U8 DskImg() // Move to the next cylinder blk+=cyl_len; + goto xfer_cyl; done: // Close the image file and release the buffer |
