Status of Zap
Chris Evans (457) 1614 posts |
Thanks Peter and Chris. I’ll have a read whilst I’m holiday this coming 7 days. |
Colin Ferris (399) 1814 posts |
Making use of Procedure (space) I’ve added some patches to Zap module. I was going to use Rick’s BreakAid – but instead used Reporter. It looks like swi OS_HeapSort doesn’t use flags – and have given As a note -:is there a easy way of converting - |
Chris Hall (132) 3554 posts |
As a note -:is there a easy way of converting - a%=(&3F << 26) |
Colin Ferris (399) 1814 posts |
What about (29,30) |
Vince M Hudd (116) 534 posts |
The early posts in this thread are amongst those I’ve never read before due to a computer transition – so I’ve only now seen the comment about the mailing lists…
I’ve no idea about importing the archives – I’ve just had a look at the options available to me via the hosting I use, and can see no obvious way. That doesn’t mean it’s not possible – just that I don’t know how. However, I note the suggestion in the OP:
Along with the comment that the current lists are quiet I’m inclined to think multiple lists would probably be wasteful – so even if I could see how to import the archives, importing different messages from multiple lists might be ‘interesting’. :) That said, if the list archives are available, I should be able to devise some way to make them readable online separatly. (A quick look on the old mailing list page shows the lists themselves are now shut down). So, with all that in mind zap-list at riscository.co.uk is now set up. (Edit: deliberately split up the email address because the forum was automatically turning it into a mailto rather than use the link I’d used for the mailing list page.) |
Colin Ferris (399) 1814 posts |
Ref strange numbers generated via :- INPUT " ""Example &29,30 =&A4 "" "A$,B% Could BASIC Assembler be make to handle variables like - |
Clive Semmens (2335) 3276 posts |
Not in a single operation, no. It does have Logical Shift Left and Logical Shift Right (<< and >>> operators) and Bitwise OR, so you can construct it fairly simply: R1% = (R2% << (32-n)) OR (R2% >>> n) |
André Timmermans (100) 655 posts |
I have updated Tank’s source up to Zap 1.48 tnk-11 and put them in an archive http://www.riscos-digitalcd.net/apps/ZapSource148tnk11.zip The built module differs in its binary due to the way of encoding constants in instruction because I still use an old DDE version (the newer seem to encode the value without shift if possible when the old one nearly systematically encode it as a shifted constant) but it disassemble to the same code. |
Martin Avison (27) 1494 posts |
I am using Zap v1.48 (12 Jul 2015) tnk-11, and fairly frequently I get swamped by one particular ZeroPain problem. Today I had over 300 in about 2 minutes. Since I noticed them I have been trying to identify what I did to provoke them, but as yet I have found no specific correlation – but Basic mode is likely to be involved. I will post an extract from one of the logs in the hope that someone can help with a fix… Location: Offset 00018788 in module Zap R0 = 00000003 R1 = 000019fa R2 = 000019f8 R3 = 0000004d R15 = 20dba764 = Zap +18790 = cln_forward +138 20dba71c : 1a000005 : BNE &20DBA738 Other possibly relevant versions are: |
André Timmermans (100) 655 posts |
I have updated Tank’s 1.48 tnk11 sources to fix all the ZeroPains that occurred on my machine and put them all will a compiled Zap module in an archive http://www.riscos-digitalcd.net/apps/ZapSource148tim01.zip. Well, fix is big word since I merely added checks in the Mode0 entry points to avoid try to process documents marked as “deleted” (i.e. buffer pointer set to -1). I haven’t figured why such calls where made on “deleted” documents though. I have used this version for a month now without noticeable side effect but then again I probably don’t use much of Zap’s functionality so don’t forget to backup your copy of of of the module (!Zap.Code.Zap) before trying my version. Edit: just updated the archive as I had not replaced “tnk-11” by “tim-01” to mark my version. |
Chris Hall (132) 3554 posts |
Now I’m puzzled. How do I find the compiled code to copy over my version of !Zap tnk-11? The ‘o’ directory seems to have files of type ‘Data’. |
Frederick Bambrough (1372) 837 posts |
Root dir of !ZapSource. !ZapSource.Zap. Took me a while. It’s just the module. |
Andrew McCarthy (3688) 605 posts |
I like to thank those individuals (Rick, Julie,…) who have put their valuable time and energy into keeping !Zap alive. It’s amazing that its almost 2021 and its still running on RISC OS!
That’s understandable. Just a thought. Would putting !Zap into Package Manager be a viable alternative solution? |
Steve Fryatt (216) 2105 posts |
For what? Package Manager isn’t a source control system. Zap is already on GitHub.com, and the ReadMe is clear that should anyone wish to take it on, they should talk to the former(?) developers about handing over the code. The stumbling block last time was that those who have done some of the work up to now were vocal in their opposition to keeping the code in Git to enable collaborative devlopment; there is a strong hint in the notes above, however, that this could well be a (very valid and reasonable) prerequisite. I’d suggest that someone still needs to talk to the Zap developers about this, and find a way forward to reunite all of the different patched versions that have been produced. PS. Sprow said all of this, and more, back in 2016. |
Rick Murray (539) 13840 posts |
Thank you – but thanks mostly due to Tank, Julie, and Fred for finding the complicated problems.
And that’s not even what the quoted poster was saying – " without knowing that Zap has a legal future ".
My versions, probably like Tank’s, are not any sort of official acceptance so much as “tweaking it to work on my system” that has been beneficial to others.
I’m not vocal about this issue 1. I just don’t Git. I haven’t Git, ever, and it’s only recently that some sort of Git appeared on RISC OS. Plus, my two attempts at Git on the PC were abject failures, a lot of online information is contradictory gibberish, and even Randall points out that Git can be a complicated pain in the arse. However… I agree, it would be good to have somebody overseeing any development on Zap (even if they’re only the custodian for patches submitted by others) because this and that and the other version on this or that or the other website is not ideal. It’s about as much of a mess as trying to find the right (working) build of Samba 2… At least, to aid in this respect, I have put my version on !Store so that people who want it can get it from a centralised location instead of hunting for it. 1 You want me to be vocal? How about the stupidity of having an incarnation of GitLab displaying the RISC OS sources in a nice webified format that cannot be viewed on the most commonly used RISC OS browser. That’s worth pointing out loudly. ;-) 2 Which, weirdly, appears to have failed as of November. My phone can access RISC OS Samba shares without a problem. However my XP box can connect, but attempts to look at the files within causes an error reported on XP as the server doesn’t support this operation. |
Steve Fryatt (216) 2105 posts |
You forgot a bit, Rick: “e.g. could be included in ROOL’s distrubtion, and can be hosted on GitHub by us to manage contributions”.
Not for an Open, collaborative project, they’re not.
So, a serious question: would anyone else be interested in collaboratively doing this? I’m not going to do it alone, but if there are a few others willing to use GitHub and share the handling of any submissions and admin, I might be prepared to look into what would be required in the new year. I feel that any approach to the Zap folk would need to be a team effort, however, as I don’t think that it would be useful to saddle any one person as “Zap Maintainer”. Rick? Julie? Anyone else? |
Andreas Skyman (8677) 170 posts |
I am comfortable with Git 0 and GitHub, and insofar as I can be of use I am happy to help, but I am not a Zap user, and I am emphatically not a competent Risc OS developer, so I cannot in good conscience take command of code review and the like. 0 I mean, reasonably comfortable. I still need to look things up regularly, because (g)it is a beast. I am more comfortable with it than any other VCS paradigm though. I have worked with mercurial quite a bit as well, but I once had a (very memorable) nightmare after a particularly nasty three-way merge… |
Dave Higton (1515) 3526 posts |
Collaboratively: yes, though I really don’t take well to Git. It would mean that I have to get at least a minimal level of competence with it, though, and the responsibility should give me a firm push in that direction. |
Julie Stamp (8365) 474 posts |
Yes, let’s do it.
Rick’s on the money here. The licensing is key, everything else comes after. |
Tank (53) 375 posts |
When I did the original changes I asked the developers if they wanted the new version. At that time they said that they no longer developed !Zap, but allowed me to put my version on my web site and linked to it from their tartarus.org web site. My mods were very belt and braces, just to get it working on the Beagleboard (at the time). |
Paolo Fabio Zaino (28) 1882 posts |
@ Steve Fryatt
Sure, on github we can also create a community repo, for instance RISC OS Community and create teams, so no limitations on that regards. As always I am happy to work in teams and support which ever project is considered useful. My limitation is time (due my “day job” which is already very demanding), but if I can help with my limited time I am in :) |
Steve Pampling (1551) 8170 posts |
Can’t recall ever having seen that editor at all. |
Rick Murray (539) 13840 posts |
Maybe he means this: https://ksquiggle.neocities.org/asmutil/tedit.htm |
Clive Semmens (2335) 3276 posts |
tEEDit is the tedious version of tedit. |
Steve Pampling (1551) 8170 posts |
Nah, couldn’t be: Info says the author is a “Computer Science major at the University of Wisconsin” so that narrows the search area. 1 Probably not make it that far |