summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarley Travis <harleytravis123@outlook.com>2026-05-24 00:18:23 -0500
committerHarley Travis <harleytravis123@outlook.com>2026-05-24 00:18:23 -0500
commit4cfd66ec457ad44a2fc50c61a7f718bc2b0a6c42 (patch)
tree28bfa81063b1d556535216e383b195b1dbbe9919
parentba700f0759a59551159e90aff2bd6d547c27179b (diff)
Modify copyright statementsHEADmain
I have modified (and added) copyright statements on all applicable files so that they are (mostly) in the form recommended by the WTFPL FAQ, which may be found at https://www.wtfpl.net/faq.
-rw-r--r--DskImg.HC9
-rw-r--r--KFloppy.HC11
-rw-r--r--KFloppyA.HH9
-rw-r--r--KFloppyB.HH7
-rw-r--r--KFloppyDMA.HC7
-rw-r--r--ReadMe.TXT14
6 files changed, 41 insertions, 16 deletions
diff --git a/DskImg.HC b/DskImg.HC
index 077a986..d2a0c93 100644
--- a/DskImg.HC
+++ b/DskImg.HC
@@ -4,6 +4,13 @@
#define IMG_SIZE 1474560
/*
+ Copyright (C) 2025 Harley Travis <yoshi128k@gmail.com>.
+ This work is free. You can redistribute it and/or modify it under the
+ terms of the Do What The Fuck You Want To Public License, Version 2,
+ as published by Sam Hocevar. See the Copying.TXT file for more details.
+*/
+
+/*
Make sure IRQ6 is on and
pointed to the correct handler!
@@ -64,4 +71,4 @@ U8 DskImg()
return 0;
}
-DskImg; \ No newline at end of file
+DskImg;
diff --git a/KFloppy.HC b/KFloppy.HC
index 32f1675..cfebfed 100644
--- a/KFloppy.HC
+++ b/KFloppy.HC
@@ -1,8 +1,9 @@
/*
- New, (hopefully) Less Messy Floppy Driver
- Copyright (C) 2025 Yoshi128k.
- Licensed under version 2 of the Do What The Fuck You Want To Public License
- See COPYING for details.
+ New, (hopefully) Less Messy Floppy Driver
+ Copyright (C) 2025 Harley Travis <yoshi128k@gmail.com>.
+ This work is free. You can redistribute it and/or modify it under the
+ terms of the Do What The Fuck You Want To Public License, Version 2,
+ as published by Sam Hocevar. See the Copying.TXT file for more details.
*/
Bool FDCIrq = FALSE;
@@ -474,4 +475,4 @@ U0 FDCWriteMulti(U16 base, U8 cyl, U8 head, U8 sect, U8 trklen)
AdamLog("Read Results:\nST0: %d\nST1: %d\nST2: %d\nCyl: %d\nHead: %d\nSect: %d\nSect Size: %d\n",st0,st1,st2,rcyl,rhd,rsect,rsectsize);
FDCMotorCtrl(base, FDC_MOTOR_OFF);
-} \ No newline at end of file
+}
diff --git a/KFloppyA.HH b/KFloppyA.HH
index 4e5cfdb..29bb7e3 100644
--- a/KFloppyA.HH
+++ b/KFloppyA.HH
@@ -1,3 +1,10 @@
+/*
+ Copyright (C) 2025 Harley Travis <yoshi128k@gmail.com>.
+ This work is free. You can redistribute it and/or modify it under the
+ terms of the Do What The Fuck You Want To Public License, Version 2,
+ as published by Sam Hocevar. See the Copying.TXT file for more details.
+*/
+
// FDC uses IRQ6 = int 26h
#define I_FDC 0x26
#define IRQ_FDC 6
@@ -95,4 +102,4 @@
#define FDC_ST1_NO_WRITE 0x02 // Not Writable: set when attempting to write to a write-protected disk
#define FDC_ST1_NO_ID 0x01 // No Addr. Mark: set when an ID/(deleted) data address mark cannot be found.
-// Status Register 2 (ST2) flags \ No newline at end of file
+// Status Register 2 (ST2) flags
diff --git a/KFloppyB.HH b/KFloppyB.HH
index 7fb9e36..f046126 100644
--- a/KFloppyB.HH
+++ b/KFloppyB.HH
@@ -1,3 +1,10 @@
+/*
+ Copyright (C) 2025 Harley Travis <yoshi128k@gmail.com>.
+ This work is free. You can redistribute it and/or modify it under the
+ terms of the Do What The Fuck You Want To Public License, Version 2,
+ as published by Sam Hocevar. See the Copying.TXT file for more details.
+*/
+
// headers for floppy driver
public extern Bool FDCIrq;
public extern U16 fdc_base;
diff --git a/KFloppyDMA.HC b/KFloppyDMA.HC
index bde62ff..9b2e963 100644
--- a/KFloppyDMA.HC
+++ b/KFloppyDMA.HC
@@ -1 +1,8 @@
+/*
+ Copyright (C) 2025 Harley Travis <yoshi128k@gmail.com>.
+ This work is free. You can redistribute it and/or modify it under the
+ terms of the Do What The Fuck You Want To Public License, Version 2,
+ as published by Sam Hocevar. See the Copying.TXT file for more details.
+*/
+
U8 FDC_DMA[0x4800]; // Floppy DMA buffer
diff --git a/ReadMe.TXT b/ReadMe.TXT
index 2c84cb2..b67d7af 100644
--- a/ReadMe.TXT
+++ b/ReadMe.TXT
@@ -1,11 +1,7 @@
-Copyright (c) 2025 Yoshi128k.
-The source code included in this package is licensed under Version 2
-of the Do What The Fuck You Want To Public License; the exact distribution
-terms are described in Copying.TXT.
-The driver and all demonstration software included with this software package comes
-with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
-
-
+Copyright (C) 2025 Harley Travis <yoshi128k@gmail.com>.
+This work is free. You can redistribute it and/or modify it under the
+terms of the Do What The Fuck You Want To Public License, Version 2,
+as published by Sam Hocevar. See the Copying.TXT file for more details.
These files contain the code required for the low-level floppy disk driver.
Currently, there is no block device code that implements this driver as I
@@ -51,4 +47,4 @@ This is a bit ambiguous, as there are two principle forms of DMA in the PC world
2. PCI Busmastering, which is used by modern hardware and is very different from ISA DMA.
TheTinkerer on the TOS Discord suggested that Terry *may* have been fine ISA DMA, but I would still
-consider my usage of it to be at least a little blasphemous (though it is not mentioned in the Charter). \ No newline at end of file
+consider my usage of it to be at least a little blasphemous (though it is not mentioned in the Charter).