Add links and update to reference slot 3

This commit is contained in:
kris 2022-07-22 14:53:00 +01:00
parent cf24da1228
commit a7c8a2ff2b
2 changed files with 14 additions and 3 deletions

View File

@ -3,7 +3,7 @@
High quality audio player for streaming audio over Ethernet, for the Apple II.
Requires:
* Uthernet II (currently assumed to be in slot 1)
* Uthernet II (currently assumed to be in slot 3)
* Enhanced //e or (untested) //gs.
* The player should run on 6502 but about 10% _faster_ on a 6502 than 65c02 (and with lower audio quality, until
the encoder understands this). See "future work" below.
@ -39,6 +39,10 @@ where:
TODO: document flags
## Playback
Download the (bootable) Apple II player disk image [here](player/player.dsk)
## Serving
This runs a HTTP server listening on port 1977 to which the player connects, then unidirectionally streams it the data.
@ -47,6 +51,13 @@ This runs a HTTP server listening on port 1977 to which the player connects, the
$ ./play_audio.py <filename.a2s>
```
A sample audio file can be downloaded [here](examples/adventure.a2s.bz2) ("Adventure" by [Alexander Nakarada](http://www.serpentsoundstudios.com), licensed under [CC BY Attribution 4.0](https://creativecommons.org/licenses/by/4.0/)). It first needs to be uncompressed, e.g.
```
% bunzip2 adventure.a2s.bz2
% ./play_audio adventure.a2s
```
# Details
## Theory of operation

View File

@ -42,11 +42,11 @@ FADDR: .byte 10,0,0,1 ; 10.0.0.1 FOREIGN IP
FPORT: .byte $07,$b9 ; 1977 FOREIGN PORT
MAC: .byte $00,$08,$DC,$01,$02,$03 ; W5100 MAC ADDRESS
; SLOT 1 I/O ADDRESSES FOR THE W5100
; SLOT 3 I/O ADDRESSES FOR THE W5100
; Change this to support the Uthernet II in another slot
;
; TODO: make slot I/O addresses customizable at runtime - would probably require somehow
; compiling a list of all of the binary offsets at which we reference $C09x and patching
; compiling a list of all of the binary offsets at which we reference $C0bx and patching
; them in memory or on-disk.
WMODE = $C0b4
WADRH = $C0b5