@@ -11,28 +11,68 @@ Issues
1111------
12121) Baud rates are not very accurate.
13132) No hardware flow control other than RxF and TxE signals
14-
15- Todo
16- ----
17- > Means to unload DLL when Vcc exits / crashes
18- > Proper detection of serial port "modem" events when reading:
19- Break, ring, CTS, DSR, RX and DX changes, etc.
20- > Implement DCD DSR flow control.
14+ 3) DLL does not exit if Vcc crashes. (Issue with all Vcc Dll's)
15+ 4) No detection of serial port "modem" events when reading:
16+ Break, ring, CTS, DSR, RX and DX changes, etc.
2117
2218Would be nice
2319-------------
24201) Support for second sc6551 device
2521
26- Acia Quick tutorial
27- -------------------
22+ Acia Quick Start
23+ ----------------
24+ To use acia.dll insert it in the cartridge slot or a MPI slot.
25+ This will cause "Acia Config" to be added to the Cartridge menu.
26+ Clicking on this menu item allows selection of one of the acia
27+ modes: Console, File read, File write, TCPIP (client), and COMx.
28+ The Name and Port fields are used to set parameters for modes
29+ that require them. The text mode check box when checked causes
30+ acia.dll to do CR <-> CRLF translations when using the file
31+ read and write modes. The default mode is CONSOLE.
32+
33+ For a quick test leave the ACIA config mode set to console
34+ and enter and run the following basic program. (You can cut
35+ and paste using Vcc Edit -> Paste Basic Code)
36+
37+ 10 POKE &HFF6A,1
38+ 20 IF (PEEK(&HFF69) AND 8)=0 THEN 20
39+ 30 PRINT CHR$(PEEK(&HFF68));
40+ 40 GOTO20
41+
42+ The Vcc console should come up. The console is a CMD type window
43+ that is connected to the ACIA. Anything typed in the console
44+ will be read and printed by the basic program. To close the
45+ console POKE &FF6A,0 or press F5 from the Vcc window.
46+
47+ The following program does the opposite, characters typed in the
48+ Vcc window are written to the console and CR writes CRLF:
49+
50+ 10 POKE &HFF6A,1
51+ 20 K$=INKEY$: IF K$="" THEN 20
52+ 30 C=ASC(K$)
53+ 40 IF (PEEK(&HFF69) AND 16)=0 THEN 40
54+ 50 POKE &HFF68,C
55+ 60 IF C<>13 THEN 20
56+ 70 C=10: GOTO 40
57+
58+ Console mode is most useful when using Os9 which is described later.
59+
60+ Radio Shack Deluxe RS232 program Pak
61+ -------------------------------------
62+
63+ If the file "rs232.rom" is in the Vcc execution directory it will
64+ be automatically loaded when acia.dll is selected but not started.
65+ To start it do "EXEC &HE010" from RSDOS command prompt. The rom
66+ is a copy of the 4K rom from the Radio Shack Deluxe RS232 program
67+ Pack. If a different ROM is used it must be 4096 bytes long. Note
68+ that if acia.dll is in a MPI slot but not selected it can still be
69+ used but the pack rom will not be accessible. To exec the rom
70+ type EXEC&HE010 at the basic prompt. Note that the pak currently
71+ has trouble with the "goto basic" function on Vcc which limits its
72+ usefulness. Suggestions for a solution would be appreciated.
2873
29- To use acia.dll insert it in the cartridge slot or a MPI slot. This
30- will cause "Acia Config" to be added to the Cartridge menu. Clicking
31- on it allows selection of the acia communication modes: Console,
32- File read, File write, TCPIP (client), and COMx (PC serial port). The
33- Name and Port fields are used to set parameters for the modes. A
34- text mode check box when checked causes acia.dll to do CR <-> CRLF
35- translations when in file modes.
74+ SC6551 Operation
75+ ----------------
3676
3777The sc6551 emulation is controlled one of two blocks of port addresses,
38780xFF68-0xFF6B or 0xFF68-0xFF6F, the block used is selected by a Acia
@@ -46,9 +86,9 @@ a byte of data and a read will receive a byte of data.
4686
47870xFF69 (0xFF6D) is the status byte. The CPU reads this port to determine
4888the status of the sc6551. Bits 0, 1, and 2 of the status byte are
49- unused error indicators. Bit 3 indicates that a data byte is ready
50- to read. Bit 4 indicates that the sc6551 is ready to transmit a byte.
51- Bits 5 and 6 are modem and data set ready bits, and Bit 7 indicates the
89+ error indicators. Bit 3 indicates that a data byte is ready to read.
90+ Bit 4 indicates that the sc6551 is ready to transmit a byte. Bits
91+ 5 and 6 are modem and data set ready bits, and Bit 7 indicates the
5292sc6551 has asserted and IRQ. Acia.dll does not set the error bits and
5393bits 5 and 6 are always clear to indicate mode and data ready states.
5494
@@ -123,6 +163,7 @@ RS232.ROM
123163
124164If the file "rs232.rom" is in the Vcc execution directory it will
125165be automatically loaded when acia.dll is selected but not started.
166+ (make sure Autostart Cart in Misc Config dialog is unchecked)
126167To start it do "EXEC &HE010" from RSDOS command prompt. The rom
127168is a copy of the 4K rom from the Radio Shack Deluxe RS232 program
128169Pack. The RS232 rom is only usefull if FF68 (RS-232 Pak) is selected
@@ -172,10 +213,10 @@ quit=05 bse=08 bell=07 type=80 baud=06 xon=11 xoff=13
172213Some of these settings are not honored by the sc6551 driver.
173214Xon, Xoff, and baud xmode settings seem to have no effect.
174215
175- The basic idea is to match standard text window settings. Acia.dll
176- will translate OS9 text screen control codes to the proper console
177- functions. Colors default to white on black. Only colors 0-7 are
178- supported.
216+ The console uses standard OS9 text window settings. Acia.dll
217+ will translate many OS9 text screen control codes to do the
218+ proper console functions. Colors default to white on black.
219+ Only colors 0-7 are supported.
179220
180221To launch a shell simply do: shell i=/t2 and the console
181222will come up. Typing "ex" in the console window causes the
@@ -213,6 +254,7 @@ I did a brief check of uemacs. It seems to work okay except I find
213254the lack of support of arrow keys annoying and I am too used to
214255vi's use of hjkl for cursor position to adapt to emacs.
215256
257+
216258File Read and File Write Modes
217259------------------------------
218260
0 commit comments