memacs3.11
Willard Goosey (5119) 257 posts |
I actually got memacs (microemacs 3.11) to compile. It even seems to work! In the process, I was able to compile most of the util library it depends on. Some of lib util’s functionality depends on header files that aren’t in the archive, or on assembly code (also missing). It turns out memacs doesn’t need any of the missing functions. memacs itself is very full screen only, it will hang RISC OS if run from a taskwindow or a !graphtask. :-( If anybody cares I can package this up for download. |
David Feugey (2125) 2687 posts |
It can be useful… |
Colin Ferris (399) 1733 posts |
Err – what does it do? |
Steve Pampling (1551) 7920 posts |
Those having brushed with Unix at sometime will recognise Emacs and thus microemacs, but for those not familiar: “MicroEMACS is a small, portable Emacs-like text editor originally written by Dave Conroy in 1985, and further developed by Daniel M. Lawrence and was maintained by him.” Wikipedia In short it’s an editor that, like most things UNIX, has quirky key definitions to carry out specific functions. |
Rick Murray (539) 13384 posts |
That’s why Zap is way better than StrongEd. It does everything. ;-) |
Willard Goosey (5119) 257 posts |
Err, hold on, memacs does have 1 asm file… I just thought about it this morning. Yep, ObjAsm -32 made warnings but didn’t fail. What did MOVNV R0,R0 do and what do I change it to? (Sorry ARM noob here) |
Jeffrey Lee (213) 6046 posts |
The “NV” condition code means that the instruction will never be executed – i.e. it’s an intentional no-op used for padding. However “NV” isn’t supported any more (ARM realised it was a bit silly to dedicate 1/16th of your instruction set space to instructions that will do nothing), so it needs changing to a different no-op instruction. Luckily “MOV R0,R0” is also a no-op (move a register to itself), so deleting the “NV” is all you should need to do. |
Colin Ferris (399) 1733 posts |
Hmm – I suppose the instruction before ‘movnv r0,r0’ – isn’t bechance TEQP PC,XXX |
Willard Goosey (5119) 257 posts |
first sequence is:
the second sequence is:
So this (according to the comments) started out as a module, and got converted into just a linkable subroutine. This looks like it’s all non-functional code anyway? |
Jeffrey Lee (213) 6046 posts |
Yeah, that code is pretty bogus.
So you can probably delete both sequences without the code becoming more or less broken than it was before. |
Willard Goosey (5119) 257 posts |
32-bit MicroEMACS 3.11 can be downloaded at: The old GNU utils library needed to compile it: full source for both included in their archives |
Chris Mahoney (1684) 2099 posts |
Well, it didn’t take me long to break it :) I wasn’t sure how to quit* so I pressed Alt-Break, which promptly killed the machine. *It turns out that it’s Ctrl-X then Ctrl-C; I was trying variants of “!wq” which is apparently for vi, not Emacs. |
Rick Murray (539) 13384 posts |
Hmm, reminds me of WordStar (used in the long distant past) and it’s many many clones (such as the seemingly bizarre keypresses in TurboC/TurboPascal). |
Rick Murray (539) 13384 posts |
If my phone’s going to autocorrect me, it would be great if it could get it right. Or maybe it is working to French logic (which horrifically abuses the apostrophe). |
Steve Pampling (1551) 7920 posts |
The wife and I refer to it as auto-bolox as that seems far more accurate.
Too many extra bits around the normal characters so they get confused over simple punctuation :) Finally at the stage where this bug1 allows me to see the screen mostly OK instead of a blur. 1 Virus, worse than a cold, not laid me up so it isn’t proper flu. |
Steve Pampling (1551) 7920 posts |
Interestingly the recent Territory work seems to have mucked up on the “.” and “,” use. The correct renditions are to use either a decimal comma or a decimal point but always use a space for numeric groups of three. i.e One million is “1 000 000” and 3.141 and 3,141 are the same |
Rick Murray (539) 13384 posts |
Seems to be loanwords that end in an s need an apostrophe – jean’s, pin’s, sandwich’s (and yes, the missing e bugs me).
That might be some European/ISO standard, but it’s not what I was taught. Commas delimit numbers in groups of three and a dot is a decimal point except here in France where it’s a comma. Of course, if we had a properly configurable territory system, the user could set up their “one true method” of formatting stuff – as you might remember I use the yyyy/mm/dd format (not strictly ISO as it’s a slash not a dash). Everybody has their preferences, and Territory is… I’d better stop here. :-) |
Rick Murray (539) 13384 posts |
I, actually, highlight a specific failing of the Territory system. A British person whose native language is English, in the European timezone, who would prefer € as the currency symbol and numbers to be formatted the traditional English way. That should be simple to set up… Still, at least soon it looks like I won’t be to bother trying to work out why my CET/CEST switch isn’t working automatically. ;-) |
Steve Pampling (1551) 7920 posts |
A decimal point is always a point. A decimal comma is always a comma. I was, by the way, pointing out that the changes were done to “correct” the formt but are in fact as wrong as they were before the change and still follow a personal opinion rather than an agreed standard. |
Rick Murray (539) 13384 posts |
That’s why it needs to (finally) be configurable. Anyway, the French do it one way, the Spanish do it another way, and the English a third. International standard? :-) |
Steve Drain (222) 1620 posts |
This feels like old times. ;-) It cannot be a considered seriously, but did I ever offer you my ‘Region’ configuration plug-in at http://kappa.me.uk/Miscellaneous/swRegion026.zip. It was two years ago, and effectively abandoned, but might give some ideas. |
Steve Pampling (1551) 7920 posts |
Oops “Basalt: Constants file cannot be opened” |
Steve Drain (222) 1620 posts |
Runs here on mini.m with RO 5.24, but any number of problems might show up elsewhere. As it is is unsupported I am unlikely to go bug hunting, but I would be interested to know the version of Basalt that is running on your machine. You might also have a bit of joy by going into |
Steve Pampling (1551) 7920 posts |
None. I deliberately treated it as a standalone install so all its requirements would need to be in the package. |
Rick Murray (539) 13384 posts |
I saw screenshots, don’t recall if I downloaded the plug-in. I don’t think so…
Oh, so I have to install stuff to get it working… Hmmm… Do I even have Basalt on this machine?
Two years? Is that all? That’s like “yesterday” in RISC OS terms. ;-)
Sure does. Problem is, it’s a lot easier to talk about what’s wrong and what “ought to be done” than it is to actually do something. Something that sounds simple can quickly become an “oh my God”. But a few things are extremely obvious:
By the way, don’t worry too much about Ulaanbataar (timezone ‘H’, UTC+8). FontManager doesn’t have a hope in hell of rendering it written in native script. |