-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathREADME
62 lines (41 loc) · 1.67 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Mini-EDSAC
## Notes from 19 Oct 2017
Update to biloader.c. Earlier version immediately closed the device after
writing data. This caused the last few bytes to be discarded, rather than
sent, and the loader was simply waiting for these last few bytes.
I've now added a call to =tcdrain()= to my code before the close, and this has
cured it for me.
Attached is my C code - it's fairly simple. Just type:
biloader filename
(feel free to think of a better name!).
By default it writes to /dev/ttyACM0, but you can override this with
biloader -D /dev/ttyACM1 filename
or whatever device you have. If you regularly use some other port then
you can type:
export BIPORT=/dev/ttyUSB0
or whatever.
Note that this version uses threads, and so compile with -lpthread.
Feel free to adapt or pass on to anyone that could use it.
Enjoy!
Bill
## Notes from 12 Sep 2017
This is the extended Mini-EDSAC implementation for the
MyStorm BlackIce board. This implements the basic Mini-EDSAC
as used at ChipHack 2017, with extensions as proposed in my
talk to add the B-Line register and associated orders.
The Makefile should compile the code ready for downloading
to the BlackIce board. You can type either:
make mini to make the basic (without extensions)
or
make minib to make it with the extensions.
To run it you need to run miniserve on the PC (or Mac).
That now lives in a separate folder (Programs) along with
test and demo programs.
Upload the binary with either:
make upload for the basic version, or
make uploadb for the exetnded version
To run the squares demo, cd to the Programs folder and
run:
./miniserve -t squares.txt
Have fun!
Bill 12th September, 2017