From 908ad1308e66c2a2301870d4965c56fd1b062333 Mon Sep 17 00:00:00 2001 From: Bill Beech Date: Wed, 11 Jul 2012 12:23:03 -0700 Subject: [PATCH] Corrected copyright dates on all files --- swtp6800/common/bootrom.c | 6 +++--- swtp6800/common/dc-4.c | 26 +++++++++++++------------- swtp6800/common/i2716.c | 2 +- swtp6800/common/m6800.c | 2 +- swtp6800/common/m6810.c | 2 +- swtp6800/common/mp-8m.c | 2 +- swtp6800/common/mp-a.c | 2 +- swtp6800/common/mp-a2.c | 2 +- swtp6800/common/mp-b2.c | 2 +- swtp6800/swtp6800/mp-a2_sys.c | 2 +- swtp6800/swtp6800/mp-a_sys.c | 2 +- 11 files changed, 25 insertions(+), 25 deletions(-) diff --git a/swtp6800/common/bootrom.c b/swtp6800/common/bootrom.c index c3ecc6e8..d3e8d6e1 100644 --- a/swtp6800/common/bootrom.c +++ b/swtp6800/common/bootrom.c @@ -1,6 +1,6 @@ /* bootrom.c: Boot ROM simulator for Motorola processors - Copyright (c) 2010-2011, William A. Beech + Copyright (c) 2010-2012, William A. Beech Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), @@ -24,8 +24,8 @@ in this Software without prior written authorization from William A. Beech. These functions support a single simulated 2704 to 2764 EPROM device on - an 8-bit computer system.. This device allows the the device buffer to - be loaded from a binary file containing the emulated EPROM code. + an 8-bit computer system.. This device allows the buffer to be loaded from + a binary file containing the emulated EPROM code. These functions support a simulated 2704, 2708, 2716, 2732 or 2764 EPROM device on a CPU board. The byte get and put routines use an offset into diff --git a/swtp6800/common/dc-4.c b/swtp6800/common/dc-4.c index 80cfd54d..e6935baf 100644 --- a/swtp6800/common/dc-4.c +++ b/swtp6800/common/dc-4.c @@ -1,6 +1,6 @@ /* dc4.c: SWTP DC-4 FDC Simulator - Copyright (c) 2005-2011, William A. Beech + Copyright (c) 2005-2012, William A. Beech Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), @@ -551,18 +551,18 @@ int32 fdcdata(int32 io, int32 data) } return 0; } else { /* read byte from fdc */ - if (dsk_unit[cur_dsk].pos < SECSIZ) { /* copy bytes from buffer */ - if (dsk_dev.dctrl & DEBUG_read) - printf("\nfdcdata: Reading byte %d u3=%02X", dsk_unit[cur_dsk].pos, dsk_unit[cur_dsk].u3); - val = *((uint8 *)(dsk_unit[cur_dsk].filebuf) + dsk_unit[cur_dsk].pos) & 0xFF; - dsk_unit[cur_dsk].pos++; /* step counter */ - if (dsk_unit[cur_dsk].pos == SECSIZ) { /* done? */ - dsk_unit[cur_dsk].u3 &= ~(BUSY | DRQ); /* clear flags */ - if (dsk_dev.dctrl & DEBUG_write) - printf("\nfdcdata: Sector read complete"); - } - return val; - } else + if (dsk_unit[cur_dsk].pos < SECSIZ) { /* copy bytes from buffer */ + if (dsk_dev.dctrl & DEBUG_read) + printf("\nfdcdata: Reading byte %d u3=%02X", dsk_unit[cur_dsk].pos, dsk_unit[cur_dsk].u3); + val = *((uint8 *)(dsk_unit[cur_dsk].filebuf) + dsk_unit[cur_dsk].pos) & 0xFF; + dsk_unit[cur_dsk].pos++; /* step counter */ + if (dsk_unit[cur_dsk].pos == SECSIZ) { /* done? */ + dsk_unit[cur_dsk].u3 &= ~(BUSY | DRQ); /* clear flags */ + if (dsk_dev.dctrl & DEBUG_write) + printf("\nfdcdata: Sector read complete"); + } + return val; + } else return 0; } } diff --git a/swtp6800/common/i2716.c b/swtp6800/common/i2716.c index 5395055e..b429d812 100644 --- a/swtp6800/common/i2716.c +++ b/swtp6800/common/i2716.c @@ -1,6 +1,6 @@ /* i2716.c: Intel 2716 EPROM simulator for 8-bit processors - Copyright (c) 2011, William A. Beech + Copyright (c) 2011-2012, William A. Beech Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/swtp6800/common/m6800.c b/swtp6800/common/m6800.c index c7f8bf02..43a6e08a 100644 --- a/swtp6800/common/m6800.c +++ b/swtp6800/common/m6800.c @@ -1,6 +1,6 @@ /* m6800.c: SWTP 6800 CPU simulator - Copyright (c) 2005-2011, William Beech + Copyright (c) 2005-2012, William Beech Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/swtp6800/common/m6810.c b/swtp6800/common/m6810.c index 3bb5660a..a752fb2b 100644 --- a/swtp6800/common/m6810.c +++ b/swtp6800/common/m6810.c @@ -1,6 +1,6 @@ /* m6810.c: Motorola m6810 RAM emulator - Copyright (c) 2011, William A. Beech + Copyright (c) 2011-2012, William A. Beech Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/swtp6800/common/mp-8m.c b/swtp6800/common/mp-8m.c index 9126b05a..69f5bb9d 100644 --- a/swtp6800/common/mp-8m.c +++ b/swtp6800/common/mp-8m.c @@ -1,6 +1,6 @@ /* mp-8m.c: SWTP 8K Byte Memory Card emulator - Copyright (c) 2011, William A. Beech + Copyright (c) 2011-2012, William A. Beech Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/swtp6800/common/mp-a.c b/swtp6800/common/mp-a.c index 6dd77509..b6517bac 100644 --- a/swtp6800/common/mp-a.c +++ b/swtp6800/common/mp-a.c @@ -1,6 +1,6 @@ /* mp-a.c: SWTP MP-A M6800 CPU simulator - Copyright (c) 2011, William Beech + Copyright (c) 2011-2012, William Beech Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/swtp6800/common/mp-a2.c b/swtp6800/common/mp-a2.c index 21805dcb..e333a7f4 100644 --- a/swtp6800/common/mp-a2.c +++ b/swtp6800/common/mp-a2.c @@ -1,6 +1,6 @@ /* mp-a2.c: SWTP MP-A2 M6800 CPU simulator - Copyright (c) 2011, William Beech + Copyright (c) 2011-2012, William Beech Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/swtp6800/common/mp-b2.c b/swtp6800/common/mp-b2.c index 7b93d7d5..fef0b2c6 100644 --- a/swtp6800/common/mp-b2.c +++ b/swtp6800/common/mp-b2.c @@ -1,6 +1,6 @@ /* mp-b2.c: SWTP SS-50/SS-30 MP-B2 Mother Board - Copyright (c) 2011, William A. Beech + Copyright (c) 2011-2012, William A. Beech Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/swtp6800/swtp6800/mp-a2_sys.c b/swtp6800/swtp6800/mp-a2_sys.c index 8a043061..0d917255 100644 --- a/swtp6800/swtp6800/mp-a2_sys.c +++ b/swtp6800/swtp6800/mp-a2_sys.c @@ -1,6 +1,6 @@ /* mp-a_sys.c: SWTP 6800 system interface - Copyright (c) 2005, William Beech + Copyright (c) 2005-2012, William Beech Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/swtp6800/swtp6800/mp-a_sys.c b/swtp6800/swtp6800/mp-a_sys.c index 4460b781..6929709a 100644 --- a/swtp6800/swtp6800/mp-a_sys.c +++ b/swtp6800/swtp6800/mp-a_sys.c @@ -1,6 +1,6 @@ /* mp-a_sys.c: SWTP 6800 system interface - Copyright (c) 2005, William Beech + Copyright (c) 2005-2012, William Beech Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),