... And why the ROM dumps from BASIC-IN-ROM had each line of ASCII translated hex followed by something like "########cr" (which I removed on the PC)? I don't know what hex value produced the ######## though. Thanks for any clues.
So when SAVING with BASIC-IN-ROM the output routine adds 10 NULs (0s) after each carriage return. I believe this was done to give BASIC more time to tokenize lines when reloading saved programs. So what you end up with is <CR><10 nulls><LF> on each line.
If you need a way to dump things without the NULS see the 3rd message in this thread. It writes <CR> to the serial port directly bypassing the BASIC output routines.
Here is a list of OS65D devices. Device #3 is normally used for S1883 UART on OSI 430 board @FB03
OSI OS65D devices for BASIC
PRINT#,
LIST#
#1 - ACIA Serial port on C1, C2, C4,C8 ($FC00/$F000 on C1) In & Out
#2 - Video OSI540 (output) / Polled Keyboard (input)
#3 - UART Serial port on some modified 430 boards $FB03 (S1883 UART) In & Out
#4 - Centronics parallel port on 65D (null input) $F400
#5 - Memory I/O
#6 - Disk1
#7 - Disk2
#8 - CA-10X Serial RS-232 on 550 boards, 16 possible ($CF00, $CF02, ... $CF1E
#9 - Null
Using OS65D
IO command you can choose a singe input and multiple output devices at a time.
IO NN,MM Changes the Input I/O distributor flag to "NN", and the Output pointer to "MM".
IO ,MM Changes only the output flag.
IO NN Changes only the input flag.
Code: Select all
OS65D Input / Output Devices
Input Output
(values in Hexadecimal)
Low bit set is the selected input, output goes to all selected set bits
00-Null 00-Null
01-Serial ACIA FC00 01-Serial ACIA FC00
02-Keyboard 440/540 02-Video 440/540 board
04-UART on 430 board 04-UART on 430 board
08-Null 08-Line Printer
10-Memory 10-Memory
20-Disk Buffer 1 20-Disk Buffer 1
40-Disk Buffer 2 40-Disk Buffer 2
80-550 board Serial 80-550 Board Serial Port
So
DISK!"IO ,06" would direct OS65D to screen and device#3 until an error or break was encountered as Daniel stated earlier.
DISK!"IO ,03" will send to screen and serial port.
-Mark