lots of testing, source comments and doc updates

This commit is contained in:
Egan Ford 2014-11-29 11:54:56 -07:00
parent e7571ebdcf
commit 23e9c33781
3 changed files with 33 additions and 4 deletions

View File

@ -6,7 +6,7 @@ clean:
rm c2t.h c2t
cd asm; make clean
c2t: c2t.h
c2t: c2t.c c2t.h
gcc -Wall -O3 -o c2t c2t.c
c2t.h: mon/dos33.boot1.mon mon/dos33.boot2.mon asm/autoload.s asm/diskload2.s asm/diskload3.s asm/diskload8000.s asm/diskload9600.s asm/fastload8000.s asm/fastload9600.s asm/fastloadcd.s asm/inflate.s

View File

@ -16,16 +16,21 @@ Examples of `c2t` in action:
- <http://asciiexpress.net/diskserver/readme.html>
## Why?
### Why?
I created this because I needed a convenient way to get data loaded into my //e without dragging my computer out of my office (2nd floor) to my man cave (basement). IOW, I needed an iPhone/iPad/mobile solution. That, and CFFA3000 was sold out--at the time.
## Yeah, but why?
#### Yeah, but why?
You clearly do not understand the awesomeness of the Apple II, move along.
## Version
0.996 (Nov 29 2014)
## Installation
```
@ -59,6 +64,21 @@ gcc -Wall -O3 -static -o c2t c2t.c
> Use the `miniz.h` in the `windows` directory.
## Tested Configurations:
* Apple //e
* disk ][ verified (format and no-format)
* Apple duodisk verified (format and no-format)
* CFFA3000 3.1 verified with USB stick (no-format only)
* CFFA3000 3.1 failed with IBM 4GB Microdrive (too slow)
* Nishida Radio SDISK // (no-format only)
* Apple II+
* disk ][ verified (format and no-format)
* Nishida Radio SDISK // (no-format only)
* Virtual ][ Emulator
* disk ][ verified (format and no-format)
## Synopsis
Output of `c2t -h`:

11
c2t.c
View File

@ -81,7 +81,7 @@ Bugs:
#define ABS(x) (((x) < 0) ? -(x) : (x))
#define VERSION "Version 0.995"
#define VERSION "Version 0.996"
#define OUTFILE argv[argc-1]
#define BINARY 0
#define MONITOR 1
@ -1277,7 +1277,16 @@ int main(int argc, char **argv)
}
else {
//j = 6 + ceil(inflate_times[i-1]); // 6 = write track time, may need to make it 7
// disk ][ verified (format and no-format)
// Virtual ][ emulator verified (format and no-format, 8K only)
// CFFA3000 3.1 failed, needs more time
j = ceil(6.5 + inflate_times[i-1]); // 6 = write track time, may need to make it 7
// disk ][ verified (format and no-format)
// Apple duodisk verified (format and no-format)
// CFFA3000 3.1 verified with USB stick (no-format only)
// CFFA3000 3.1 failed with IBM 4GB Microdrive (too slow)
// Nishida Radio SDISK // (no-format only)
}
if(i==1) // seek time for track 0, just in case
j+=2;