Skip to content

Commit 8d4185b

Browse files
committed
Add initial README and license
1 parent 67c6ec5 commit 8d4185b

File tree

2 files changed

+83
-0
lines changed

2 files changed

+83
-0
lines changed

LICENSE.mit

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Copyright 2019 Giovanni Bajo
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of
4+
this software and associated documentation files (the "Software"), to deal in
5+
the Software without restriction, including without limitation the rights to use,
6+
copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
7+
the Software, and to permit persons to whom the Software is furnished to do so,
8+
subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
14+
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
15+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
16+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
17+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
18+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
## g64drive - a Linux/Mac tool for operating 64drive by Retroactive
2+
3+
### Installation (binary)
4+
5+
g64drive ships as a static binary on both Linux and macOS, with no additional dependencies
6+
required. Just download it and put it in your `PATH` (eg: `/usr/local/bin`) .
7+
8+
### Installation (source)
9+
10+
Make sure you have Go 1.12 or newer installed on your system. To download, compile and install
11+
g64drive from source code, simply run:
12+
13+
```
14+
$ GO111MODULE=on go build github.com/rasky/g64drive
15+
```
16+
17+
### Usage quicksheet
18+
19+
Make sure you can reach your 64drive:
20+
```
21+
$ g64drive list -v
22+
Found 1 64drive device(s):
23+
* 0: Retroactive 64drive USB device (serial: RA3B53SW)
24+
-> Hardware: HW2 (Rev B), Firmware: 2.05
25+
```
26+
27+
Upload a ROM to the CARTROM bank (with byteswap and CIC type autodetection):
28+
```
29+
$ g64drive upload myrom.v64 -v
30+
64drive serial: RA3B53SW
31+
upload bank: BankCARTROM
32+
byteswap: 2
33+
size: 33554432
34+
offset: 0
35+
myrom.z64 100% |████████████████████████████████████████| [1s:0s]
36+
```
37+
38+
Download data from the CARTROM bank:
39+
```
40+
$ g64drive download myrom.v64 -v --size 32M
41+
64drive serial: RA3B53SW
42+
download bank: BankCARTROM
43+
byteswap: 0
44+
size: 33554432
45+
offset: 0
46+
myrom.z64 100% |████████████████████████████████████████| [1s:0s]
47+
```
48+
49+
### Features
50+
51+
* Support 64drive HW1 and HW2
52+
* Upload and download data from any available bank
53+
* Transparent byteswapping (with autodetection from ROM header)
54+
* Transparent CIC detection when uploading a ROM
55+
* Can specify sizes and offsets in decimale, hex, or even kilobytes/megabytes
56+
* CTRL+C clean shutdown -- doesn't need to power-cycle 64drive after it
57+
* Shipped as static binary, very easy to install on any Linux and macOS system
58+
59+
What's missing:
60+
* Firmware upgrades
61+
* Standalone mode
62+
63+
### Bugs?
64+
65+
Please [file an issue](https://github.com/rasky/g64drive/issues/new) on GitHub.

0 commit comments

Comments
 (0)