summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarley Travis <harleytravis123@outlook.com>2026-07-04 17:31:43 -0500
committerHarley Travis <harleytravis123@outlook.com>2026-07-04 17:31:43 -0500
commit5f3d71b514e25f9359637b4bf1a2e63e4d52abcb (patch)
treebecf2b12f3b178ee34b09186472da8a1c0841597
parent3787fcdb5e4c5eef790fa29887e6a68c7a511729 (diff)
downloadtempleos-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.
-rw-r--r--Examples/DskImg.HC3
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