Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
boards:ecb:cassette_intf:start [2020/01/25 23:53] b1ackmai1er [Usage Notes] |
boards:ecb:cassette_intf:start [2020/01/31 07:04] (current) b1ackmai1er [Serial Mode] |
||
---|---|---|---|
Line 149: | Line 149: | ||
====== Saving and Loading files ====== | ====== Saving and Loading files ====== | ||
- | Due to the lack of specific software for the ECB Cassette to load and save files, CP/M redirection facilities are used to load and save files. This requires all files to be converted to a text format and in our case the HEX file format is used. The UNLOAD.COM program is used to save a text HEX version of a file. This utility can be downloaded below in the files list (UNLOAD.ZIP). To convert the HEX format file back to binary, the LOAD command | + | Due to the lack of specific software for the ECB Cassette to load and save files, CP/M redirection facilities are used. This requires all files to be converted to a text format and in our case the HEX file format is used. The UNLOAD.COM program is used to save a text HEX version of a file. To convert the HEX format file back to binary, the LOAD.COM program |
__Saving__ | __Saving__ | ||
Line 158: | Line 158: | ||
\\ | \\ | ||
- | '' | + | '' |
- | 2. Press Record on cassette | + | 2. Press Record on the cassette |
- | 3. Key PIP command ie. PIP PUN: | + | 3. Key PIP command ie. PIP PUN: |
__Loading__ | __Loading__ | ||
+ | '' | ||
+ | 2. Press Play on the cassette player.\\ | ||
+ | 3. If you have a load/save switch installed, toggle switch to LOAD.'' | ||
\\ | \\ | ||
- | '' | + | '' |
- | 2.press play\\ | + | |
- | 3.If you have a load/save switch installed, toggle switch to LOAD'' | + | |
- | \\ | + | |
- | '' | + | |
example: LOAD TEST.HEX < | example: LOAD TEST.HEX < | ||
- | —–> creates TEST.COM\\ | + | —–> creates TEST.COM'' |
- | \\ | + | |
- | Handling large files.\\ | + | '' |
\\ | \\ | ||
+ | '' | ||
\\ | \\ | ||
- | files over 25K split into smaller files with notepad.\\ | + | Due to LOAD and UNLOAD being limited to files that fit into memory, |
- | for retrieval, concatenate files with PIP.\\ | + | For retrieval, concatenate files with PIP.\\ |
example: PIP WHOLEFILE.HEX=1STFILE.HEX[ I ], | example: PIP WHOLEFILE.HEX=1STFILE.HEX[ I ], | ||
Line 230: | Line 231: | ||
Set the port address of the board to 80h, jumper P1 3-4: | Set the port address of the board to 80h, jumper P1 3-4: | ||
- | If another port setting is required | + | If another port setting is required then a custom build of ROMWBW is requires. Update the uart.asm source as shown below |
< | < | ||
Line 239: | Line 240: | ||
.DB $80 ; IO PORT BASE (RBR, THR) <<< | .DB $80 ; IO PORT BASE (RBR, THR) <<< | ||
.DB $80 + UART_LSR ; LINE STATUS PORT (LSR) <<< | .DB $80 + UART_LSR ; LINE STATUS PORT (LSR) <<< | ||
- | .DW SER_300_8N1 | + | .DW UARTCASSPD |
.FILL 2,$FF ; FILLER | .FILL 2,$FF ; FILLER | ||
#ENDIF | #ENDIF | ||
</ | </ | ||
- | Set the baud rate selector mode jumpers P5 to 1-2. This reconfigures the UART transmit and receive clock to use the crystal derived source. | + | The default cassette or serial speed can also be changed by adding the following change to your customer configuration file. Other speed options are listed in the std.asm file but generally take the form SER_XXX_8N1. |
+ | |||
+ | < | ||
+ | |||
+ | UARTCASSPD | ||
+ | </ | ||
+ | |||
+ | | ||
Line 318: | Line 326: | ||
====== Troubleshooting ====== | ====== Troubleshooting ====== | ||
+ | |||
+ | It is helpful to be able to output a stream of characters to the ECB-Cassette for testing. The CSTSO utility from the CASSUTIL archive can be used: | ||
+ | |||
+ | < | ||
+ | B> | ||
+ | USAGE: CSTSO x y.z | ||
+ | |||
+ | x = ROMWBW unit number (0-9) | ||
+ | y = Character to output | ||
+ | * used if none given | ||
+ | z = Add control character Z | ||
+ | |||
+ | Example: | ||
+ | |||
+ | CSTSO 0 #.Z | ||
+ | |||
+ | Will output a stream of #'s to ROMWBW character device 0, appended with a Ctrl-Z character. | ||
+ | </ | ||
+ | |||
+ | For example, the following shows a string of characters output the the console device CIO 0. | ||
+ | |||
+ | < | ||
+ | B> | ||
+ | ###################################################################################### | ||
+ | |||
+ | ###################################################################################### | ||
+ | |||
+ | ###################################################################################### | ||
+ | |||
+ | ###################################################################################### | ||
+ | |||
+ | ###################################################################################### | ||
+ | |||
+ | ###################################################################################### | ||
+ | </ | ||
+ | |||
+ | Change the unit number to match that of your ECB-Cassette board. This information is listed at boot. i.e. UART1: is the ECB-Cassette and assigned as CIO 2. So __<font inherit/ | ||
+ | |||
+ | < | ||
+ | Unit Device | ||
+ | ---------- | ||
+ | Char 0 UF0: RS-232 | ||
+ | Char 1 UART0: | ||
+ | Char 2 UART1: | ||
+ | </ | ||
+ | |||
+ | — | ||
Initial recording and playback testing can be done by connecting the ECB-Cassette board to a computer' | Initial recording and playback testing can be done by connecting the ECB-Cassette board to a computer' |