Emulation of RS232 VIC20 for running multiplayer games
Posted: Wed Jul 03, 2019 8:23 am
Hello guys,
back in the 80s I was able to connect two VIC20s (mine and a friend's) and developed a few two-player, network games, plus a chat program.
Nowadays, I have got all programs on a .d64 and would really like to see them running on two emulators, installed on two computer connected to the net.
I am running WinVICE and saw that it has a nice RS232 emulation option but, despite the several efforts, I could not get two machines to communicate using the same LAN.
Here is the simple program I am using on both machines:
the above would set up a 2400 baud comm channel on the RS232 and send whatever you type on the keyboard to the other end, and printing out what it receives.
On both emulators I set up RS232 emulation:
Settings/RS232 userport settings,Enable ON, Userport device 2 and 2400 baud.
Then Settings/RS232 settings, device #2, the IP address of the other PC plus the suggested port (25232) eg.: 192.168.0.193:25232
unfortunately they will not speak each other and I have no clue at what's going wrong.
I can guarantee that with two physical VIC20s it works - I have a cross-linked cable working with the above program, I use it just to see if the two VICs are communicating then I know I can run the network games successfully.
Anybody out there had been successful in making two emulators speak each other this way?
back in the 80s I was able to connect two VIC20s (mine and a friend's) and developed a few two-player, network games, plus a chat program.
Nowadays, I have got all programs on a .d64 and would really like to see them running on two emulators, installed on two computer connected to the net.
I am running WinVICE and saw that it has a nice RS232 emulation option but, despite the several efforts, I could not get two machines to communicate using the same LAN.
Here is the simple program I am using on both machines:
Code: Select all
10 OPEN2,2,0,CHR$(138)+CHR$(32)
20 GET#2,A$:PRINTA$;
30 GETA$:PRINTA$;:IFA$<>""THENS$=S$+A$
40 IFA$=CHR$(13)THENPRINT#2,S$;:S$=""
50 GOTO20
On both emulators I set up RS232 emulation:
Settings/RS232 userport settings,Enable ON, Userport device 2 and 2400 baud.
Then Settings/RS232 settings, device #2, the IP address of the other PC plus the suggested port (25232) eg.: 192.168.0.193:25232
unfortunately they will not speak each other and I have no clue at what's going wrong.
I can guarantee that with two physical VIC20s it works - I have a cross-linked cable working with the above program, I use it just to see if the two VICs are communicating then I know I can run the network games successfully.
Anybody out there had been successful in making two emulators speak each other this way?