serial_cable - vc64web/virtualc64web GitHub Wiki

vc64web features a virtual serial RS232 cabel which is connected with the user port of the emulated c64 ... on the host side this cable is connected to javascript

to configure the speed use

wasm_configure('OPT_SER_SPEED',600);

To send bytes via the serial cable into the c64 use:

wasm_write_string_to_ser('hello commodore');

the outgoing serial byte/textbuffer from the c64 is copied into a javascript variable

rs232_message