Skip to content

Commit 744dc31

Browse files
committed
[repo] Updated readme and fw targets
1 parent 9f00449 commit 744dc31

File tree

5 files changed

+76
-6
lines changed

5 files changed

+76
-6
lines changed

README.md

Lines changed: 68 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,81 @@ Homemade floppy disk emulator for Apple II series computers
33

44
> :warning: **Work in progress**: read carefully the README before trying to reproduce this project!
55
6-
![tinyDiskII](tinyDiskII.png)
6+
![tinyDiskII](docs/tinyDiskII.png)
77

88
tinyDiskII is able to simulate an [Apple Disk II](https://it.wikipedia.org/wiki/Disk_II) both in reading and writing.
99
Disk images are stored into a FAT16 formatted SD Card.
1010
Each disk image must be a DOS 3.3 floppy image, saved as .NIC.
1111
A cross platform .NIC <-> .DSK conversion tool will be available soon on this repository.
1212
Floppy formatting is currently not supported, but it is currently under developement.
1313

14+
## BOM
15+
16+
| Reference(s) | Description | Notes |
17+
| :-------------------------------------------- | :-----------------------: | :--------------------: |
18+
| C1, C2, C3, C4, C5, C6, C8, C9, C10, C11, C12 | 0805 100n Capacitor | |
19+
| D1, D2 | 0805 Red LED | |
20+
| J1 | 2x3 male jumper | ICSP connector |
21+
| J2 | SMD SD Card slot | |
22+
| J3 | THT USB B Mini connector | Mount for USB debug |
23+
| J4 | 2x10 male connector | DiskII connector |
24+
| R5, R6 | 330 | |
25+
| R2, R3, R4, R7, R8, R9, R10, R11, R12, R15 | 10k | |
26+
| R13, R14 | 0 | Replaced with a bridge |
27+
| SW1 | RotaryEncoder with switch | |
28+
| U2 | SN74LVC244 | 5V tolerant buffer |
29+
| U3 | CH340C | Mount for USB debug |
30+
| U4 | ATxmega16A4U-A | MCU |
31+
| U5 | 74AHCT125 | Level shifter |
32+
| U7 | 0.96" OLED I2C | 7-pin model |
33+
| U10 | AP1117-33 | 3v3 linear regulator |
34+
35+
36+
### Do Not Place, reserved for future implementations:
37+
38+
| Reference(s) | Feature |
39+
| :----------- | :--------------------: |
40+
| U1 | Flash/EEPROM interface |
41+
| C12 | " |
42+
| R1 | " |
43+
| C13, C14 | USB ESD |
44+
| R13, R14 | " |
45+
| D3, D4 | " |
46+
| C7 | USB self reset |
47+
| J5 | Debugging connector |
48+
49+
## Schematics and PCB
50+
51+
> :warning: Schematics and PCB layout can be found in `/schematics` folder. Please note that **rev1.0 hardware requires some physical changes**, so if you are interested to fabricare the PCB, check out the following updated schematic first.
52+
53+
![tinyDiskII](docs/tinyDiskII-schematics-corrected.png)
54+
55+
Manual fixes are highlighed with red lines:
56+
57+
- LV_DISK_READ connected to U4 pin 21;
58+
- SD_WP connected to U4 pin 22;
59+
- SD_DETECT connected to U4 pin 23;
60+
- Added 10K pull-up resistor to DISK_WRITE_EN;
61+
- Pin 4 and 16 of U3 are shorted together.
62+
63+
## Firmware
64+
65+
Firmware source code is in `/firmware` folder.
66+
Code can be compiled on a linux/wsl machine through `make` command.
67+
Make sure you have `make` and `avr-gcc` toolchanin installed.
68+
Output binary will be generated as `/firmware/output/tinyDiskII.hex`.
69+
70+
In `/firmware/tests` there are some unit tests that can run on host system.
71+
They can be compiled and executed with:
72+
73+
```
74+
cd firmware/tests
75+
cmake -B build .
76+
cd build
77+
cmake --build .
78+
./tinyDiskII-tests
79+
```
80+
1481
## Contributors and references
1582

1683
The whole projects borns as a custom implementation of Koichi Nishida's SdiskII [[1]](https://tulip-house.ddo.jp/digital/SDISK2/english.html) [[2]](https://github.com/suaide/SDisk2), which I used as a starting point for firmware developement.
Lines changed: 3 additions & 0 deletions
Loading
File renamed without changes.

firmware/makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
######################################################################
44

55
# Name of the project
6-
PROJ_NAME := appleii-floppy-emulator
6+
PROJ_NAME := tinyDiskII
77

88
## FILES ##
99
SRCS := main.cpp

firmware/tests/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
cmake_minimum_required(VERSION 3.24)
22

3-
project(tinydiskii-tests)
3+
project(tinyDiskII-tests)
44

5-
add_executable(tinydiskii-tests
5+
add_executable(tinyDiskII-tests
66
test_runner.cpp
77

88
test_fat_filename.cpp
@@ -17,5 +17,5 @@ add_executable(tinydiskii-tests
1717
# SdCard image file must be copied in build directory
1818
file(COPY SAMPLEDISK.bin DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
1919

20-
add_test(NAME tinydiskii-tests
21-
COMMAND tinydiskii-tests)
20+
add_test(NAME tinyDiskII-tests
21+
COMMAND tinyDiskII-tests)

0 commit comments

Comments
 (0)