Hearsay
Colin (478) 2433 posts |
|
Ronald (387) 195 posts |
I have no aborts with hearsay with @setserialdev(“SerialUSB”) with the new !serialdev I get a Hearsay throwback window with: Errors in file: ADFS::Hit75.$.Comms.SerialDev Line Type Description 290 Serious error Wrong number of arguments I had setserialdev(“SerialUSB”,0) before this. |
Rick Murray (539) 13840 posts |
Argh! You can’t say that in 2020! Social Justice Warriors might feign offence on behalf of those who are gaga nuts bonkers batshit*t crazy as a soup sandwich. |
Rick Murray (539) 13840 posts |
With respect to Connector… how big is the driver, and how much space does Connector allocate? |
Colin (478) 2433 posts |
Ronald. My apologies it should be Rick it dynamically allocates the memory. It’s failing with the InternalPC driver. I’ve checked a pandaboard now that works ok too. So it’s just the pi4 and iyonix that fail armx6 and pandaboard work. iyonix is an old rom pi4 newish. Hearsay no problem on all machines. There are no choices saved for connector on any machine so it’s just using the default driver. Fails with ROOL’s version of Connector and the one I compiled. |
Colin (478) 2433 posts |
The problem appears to be in the Desk Library which is unfortunate as it is binary only. |
Ronald (387) 195 posts |
it should be setserialdev(“SerialUSB”,0) in hearsay yes thats what you said originally in the thread. No joy with Hearsay/SerialUSB or Connector/SerialUSB here, but I connected the same device (pizero) through Internal32,0 on my Iyonix and both Hearsay and Connector worked quite easily, |
Colin (478) 2433 posts |
It crashes for me without serialusb on the machine. If you fetch SerialUSB double click on the SerialUSB module, double click on !terminal does it work/crash? |
David Pilling (8394) 96 posts |
I should know better – is the SerialUSB thing a problem with getting the new version loaded. Maybe the new !SerialDev needs double clicking, before running Hearsay etc. DeskLib – seems sources are available – https://www.riscos.info/index.php/DeskLib#Source |
Colin (478) 2433 posts |
Ronald. I’ve tried a piB+ and that works fine. As David pointed out the problem may be you not loading the new !serialdev. Looking at the run file if BlockDriver is already running double clicking on !serialdev will not load the new version. David. According to the ROOL sources ReadMe
|
Steve Fryatt (216) 2105 posts |
DeskLib isn’t Desk, unfortunately. The two parted ways back in the early 1990s, IIRC. |
Rick Murray (539) 13840 posts |
If you want to try building with a more recently compiled DDE oriented DeskLib, look at http://heyrick.ddns.net/desklib/ If it’s actually using Desk, and not DeskLib, you’re probably out of luck unless you can rebuild from source, as few people made the transition… |
Ronald (387) 195 posts |
If you fetch SerialUSB double click on the SerialUSB module, double click on !terminal does it work Iyonix, yes though I had to run your terminal a second time /after/ Raspbian had booted. Could be just a Raspbian thing. |
Colin (478) 2433 posts |
Thanks Rick but it’s using Desk. |
Colin (478) 2433 posts |
I’m back in the game. Despite DDT stopping when it met a Desk function the problem was that Connector defaults to using the InternalPC serialdev which is 26bit. So I’ve defaulted to Internal32 – that crashed but I found the offending 26bit instruction. Not many serialdevs work on the Pi4 but Internal32 and SerialUSB do for me. For some reason the Dummy SerialDev also fails. Anyway back to the beginning would anyone like to try ConnectorTest. Hopefully it works now. If you are already using SerialDev double clicking on the attached version will now load the updated driver. The SerialUSB module is in !SerialDev and is loaded by the SerialDev driver. I’ve changed the default settings to be more useful so if you need 115200 8N1 it should work straight away. If you have saved Connector settings those will be used but if a driver other than InternalPC or SerialUSB is loaded it may well crash. |
Rick Murray (539) 13840 posts |
This is a solved problem. Connector needs to be updated to reject drivers that aren’t 32 bit compliant on 32 bit systems. |
Ronald (387) 195 posts |
anyone like to try ConnectorTest. Iyonix -works well, you probably know about the slight behaviour difference of the choices save button not closing the window. OK is of course doing the job though. It seems to have also made the sun shine for the first time in weeks, so will have to put back trying it on the pi zero til later. |
David Pilling (8394) 96 posts |
Ronald – I’m sure there is something to click on in Hearsay to save the configuration (AutoRun.!Config). I don’t have a copy here so I can’t say more. We used to worry about configuration files and status files. Configuration was something global like your modem type. Status was things for the system you were calling. There would be many different systems one would call. |
Rick Murray (539) 13840 posts |
Unfortunately Hearsay has two ways of saving its configuration. One obvious, one less so.
|
Colin (478) 2433 posts |
Anyone like to try Connector-1_09_01 I’ve added special character set mappings and it now converts unicode back to the character set connector uses – at least for the characters I found. So line drawing works when connected to raspian or armbian (one uses unicode the other special characters). tmux works, though of limited use on a small screen, raspi-config and armbian config both work. |
Ronald (387) 195 posts |
Menu → Script → Save as default Sorry, my fault, I didn’t look at that one. raspi-config and armbian config both work. My raspian is showing en-GB-utf8 in the LANG and vt102, however I get multiple characters instead of lines. It is possible to start Hearsay with an argument from !Launcher, and by changing the system variable of Hearsay$Library in the !Run file to suit the argument. eg ‘!Hearsay USB0’ Set Hearsay$Library <Hearsay$Dir>.Library You can specify a sprite in Launcher, but would need to do same as above for an alternative sprite set, to get the iconbar icon to show a USB0 stylised icon. |
Colin (478) 2433 posts |
Just use the ANSI setting in Connector. I have found that Alsamixer uses a different method of switching special graphics which doesn’t work in 1.19.01 which I’ve now fixed. There is a new version of !SerialDev on the xat website. Your findings with no USB device is normal Connector doesn’t dynamically detect devices and will do nothing if there is no serialusb devices and it is configured for SerialUSB. Neither does it allow you to select between SerialUSB devices. My intention is not to alter the interface to connector but just get it usable so I can use it as a serial terminal from RISC OS so I can use git/nano from the RISC OS desktop. |
Colin Ferris (399) 1814 posts |
What are you connecting too? A modem! Are there any phone BBS left – Arcade ? What is the last version of ArcBBS – is it downloadable? Does using a USBSerial lead help isolate your computer from the phone line? |
Colin (478) 2433 posts |
I’m just connecting to Linux on an orangepipc or pi on my desktop from my armx6 using a null modem cable. Connector has never worked for me so I decided to do something about it and with the help of Paul at Xat I have serialdevs working with SerialUSB and connector not crashing when I try to use it. The dialup interface just gets in the way. Luckily it can mostly be configured away except if you want to change what the function keys send in which case you need to use the telephone book. |
Ronald (387) 195 posts |
Just use the ANSI setting in Connector. That’s better, do you get 3-4 characters cropped down the right side? What is the last version of ArcBBS – is it downloadable?There is a recent discussion about the new web location in aldershot. |