[net.micro.cbm] c64 as a slave computer

chen@uiucdcsb.UUCP (12/22/84)

  I have been trying to make my c64 talk/listen to the user port (device #2)
while running the BASIC interpreter. The idea is to use c64 as a slave
computer under the total control of a master computer, while taking
advantage of all the convenient features provided by the BASIC.
I was only marginally successful doing it the following way:

1) Open device #2. No problem here.
2) Poke 154,2. This sets the default output device to the user port.
   This actually worked, except that it switched the default output
   device back to the screen whenever 
   a) numbered basic statements are entered
   b) there are error of any type
   also the echoed characters did not go to the user port.
3) Poke 153,2. Supposedly this should set the default input device
   to the user port, but the command always irreversably send the c64
   into some unknown state.

I will appreciate any pointer to the solution of this problem.


Kaihu Chen
uiucdcs!chen