Vim for RISC OS 5?
Pages: 1 2
Andrew McCarthy (3688) 606 posts |
Does anyone have a working copy of Vim for RISC OS 5? Or knows how to fix the s.swis file so that it compiles. I have stumbled around in the source code and I did manage to get most of the object files created, but hit a brick wall with the Assembler file. If anyone can help? The source code is here → website Vim does work under Aemulor, but for some reason it doesn’t load the C syntax file checker. |
Jeffrey Lee (213) 6048 posts |
For anyone attempting the same:
That is some pretty funky assembler! Both asasm and objasm choke on the use of register names as symbols (which is a bit silly when you consider the C compiler’s “output assembler” option) Converting it to gas syntax should work. |
Andrew McCarthy (3688) 606 posts |
Thank you! As you might expect, I can confirm those changes work a treat! Anyone up for converting the assembler to gas syntax? That’s in the s.swis file… |
Rick Murray (539) 13851 posts |
Wow, that’s some really freaky assembler.
Oh, objasm choked on a _lot_ in that file. The colons, the lowercase, the malformed AREA directives… and that’s before it even got to the “what? r0 as a label?” crisis.
Sorry, I’m a DDE guy. Gas is what heats my pasta. ;-) Although, to be honest, I get worried when I see comments to the effect of: ; The Wimp_Poll swis have to be done specially because, ; for some reason, r13 sometimes gets corrupted by Wimp_Poll ; (eg when running FileFind) I’ve never, not once had crashes due to Wimp_Poll(Idle) screwing up R13. I have screwed up R13 plenty, but not the Wimp. Oh, and, it messes with the FPA status register too, setting it to zero on return from poll… which incidentally it doesn’t indicate to the Wimp to save FP state. Why? |
Andrew McCarthy (3688) 606 posts |
Thank you for looking into Vim and for the points you made. If anyone with the skills decides to update the s.swis file to make it work, then great! IMHO it would certainly help people with Vi(m) skills to move between platforms, lowering the re-learning threshold. From another perspective it’s good to see that the !Zap developers had this covered by including the Emacs keyboard keymap. |
entityfree (3332) 77 posts |
i am interested. probably dont have the skills yet. still do not have my compilers completely installed and setup. what i was trying for is there some kind of x11 shell on 4Risc from which i can run apps on the 4Raspbian card. wow so i am not only one who cant use 4Vim today? says ‘’segmentation fault __unix_raise_signal() |
Rick Murray (539) 13851 posts |
Alright, I give up. What’s with all the fours? |
entityfree (3332) 77 posts |
4English grammar. |
Martin Avison (27) 1494 posts |
Sorry – still makes no sense to me. And I find the extra 4s make reading your posts difficult. |
Chris Hughes (2123) 336 posts |
I think its text speak. 4 = for |
Gavin Smith (1413) 95 posts |
Still makes no sense. Perhaps there’s something wrong with the Shift key, as most of them appear before a capital letter! |
David Feugey (2125) 2709 posts |
My guess: 4 is for ! |
Dave Higton (1515) 3534 posts |
Nope, neither “for” nor ! makes any sense to me, if substituted into what he wrote. |
Rick Murray (539) 13851 posts |
“4English grammar” One number, two words. The only thing that I managed to parse out of this is that possibly he’s dyslexic and has been horrifically miseducated to the point of making indications of what nouns are 1, and thus all the nouns are prefixed with a ‘4’ for reasons known pretty much only to him. I gave up. 1 Don’t laugh – I met a kid who was taught to write with bits of sentences either written in different colours or the words underlined. Colours for nouns, adjectives, etc. 2 “Rick saw the man on the hill with a telescope” – which one of us has the telescope? Don’t get started on gerunds, or the precise order of adjectives (that is practically never taught, just learned through osmosis). |
GavinWraith (26) 1563 posts |
Language comes first. Grammar comes after. |
John WILLIAMS (8368) 495 posts |
This will become clear through what we call “contextual clues”: Do we already know that Rick, or the man, has a telescope available? Do we have any clues as to whether it is the man or Rick on the hill from the surrounding text? The surrounding text provides the context, and if this does not provide enough clues, then it’s a very poor piece of writing!
When I trained as a teacher, ITA (no, not the television authority) was popular – Initial Teaching Alphabet (Google it!). Where is it now? |
entityfree (3332) 77 posts |
lol :-/ ? i didnt notice(your all s posts were here)…i really do wonder how get Vim work with Aemulor. to some amount. so. where left off yesterday was tried four(?) different versions of ’’Zap. this(?) will lead to me trying understand the font system. it seems there are at least 3 different systems. i wonder which i will like and what about small amount of memory which is a property i value too at least in some situations. so i have not learned yet why 4Vim asks for 4Zap fonts or really what zap fonts are. and to review what all i will be needing for multilingual support and utf. as well as my continuing interest in 4 and 5 bit character sets. but besides the 4Aemulor question recognize that is a bunch for this thread. i tried 4wimpslot command too. |
Ronald (387) 195 posts |
If anyone with the skills decides to update the s.swis file to make it work, then great! Vim was last built with gcc3 20 years ago by the looks. It runs OK on my Iyonix and on RPCEmu. I haven’t tried but I have seen Raspberry be picky about the same code that runs OK on Iyonix. |
entityfree (3332) 77 posts |
😮 ™vim™ works on my new installation. i can colon and quit even save a file to root directory. except does give error in white box before ‘click mouse or space bar to continue’. …and should see through this falsehood, the hill has the telescope. ™english™ should not rule the world. it only one hill. 😛. maybe ™lojban™ will do better with that problem. |
Bryan (8467) 468 posts |
I would interested in that. |
David Feugey (2125) 2709 posts |
Yep. |
Andreas Skyman (8677) 170 posts |
The compiled version from the sparse.net worked fine on my Pi 1, but on my Pi 3 it crashes with a UnixLib-error. I haven’t looked more into it, but it seems likely it’s fixable. |
Chris Gransden (337) 1207 posts |
There’s a port of vim 8.1 available here. It needs to run as an ansi task using Nettle. |
Bryan (8467) 468 posts |
There seems to be more to it than that. What am I missing? I just get a black window. Using a Pi4 running 5.28 |
David Pitt (3386) 1248 posts |
Vim starts up using Nettle on the Titanium with OS5.28 and OS5.29 07-Mar-21, and on the RPi400 with OS5.29 24-Feb-21. The Vim window is scrolled down showing a transient message with plenty of black space above it. |
Pages: 1 2