question about role of modules in riscos
Rick Murray (539) 13840 posts |
TVTropes said:
And somebody delivers pizza. Ho hum. Experience? Paprika, Masamune Shirow, Hackers (film), and anything ever written by William Gibson. ;-) |
h0bby1 (2567) 480 posts |
aaaaa |
h0bby1 (2567) 480 posts |
aaaaa |
WPB (1391) 352 posts |
In any case, Jon makes massive contributions to RISC OS – I’d be surprised if he has a lot of time for anything more! I was really talking about your contribution to RISC OS in the broader sense – not necessarily to the code at ROOL. You’ve certainly uncovered a few bugs, missing features, etc., and helped test the new GraphicsV API. And the JASPP project is hopefully going to bear fruit for the OS as you’ve mentioned recently on the Hypervisor thread. Anyway, just wanted to say that your efforts are much appreciated. Very sorry to hear that you’re unwell. I really hope you get some good news about that soon. |
h0bby1 (2567) 480 posts |
aaaaa |
Rick Murray (539) 13840 posts |
Okay, the dude, not the dudette. Still, I appear to have got it reasonably correct for having never heard of the book. It looks like it would make a pretty good movie1, even if it would seem a bit “been here, done that”. 1 So long as they don’t mess it up like they did with Johnny Mnemonic. |
h0bby1 (2567) 480 posts |
aaaaa |
h0bby1 (2567) 480 posts |
aaaaa |
Rick Murray (539) 13840 posts |
That’s not the impression I got from some nurse romance books I flicked through in a doctor’s waiting room (which must surely have been some sort of meta joke?).
I’m Saggitarius and… something. I don’t remember. I had a chart once that said I was a lively and outgoing person. Ha ha. Anybody that knows me will know I’m the sort of introvert that borders on being just plain antisocial. It also amuses me when people describe me as “shy”. Not quite. Shy people want to be a part of things but don’t quite know how. Strongly introvert people do not want to be a part of things and are generally happier if they are just left the hell alone (see what I mean? ;-) ). So, yeah, don’t put too much faith in people that make prognostications based upon what a bunch of stars are doing. Somebody much more famous than me said There is no fate but what we make for ourselves. |
h0bby1 (2567) 480 posts |
aaaaa |
h0bby1 (2567) 480 posts |
aaaaa |
Jon Abbott (1421) 2651 posts |
http://www.4corn.co.uk/articles/acornc5/ Not old enough I’m afraid, need to back to 87/88 rev. 1 of C for APCS-A / M I’m going to need a copy of the very first C manual, as APCS-A / M were deprecated when RISCOS 2 came out.
Certainly isn’t. Everything I’ve managed to piece together from the web, debugging CLib itself and watching what few game I have that use it are doing, I’ve documented here That covers the register differences in APCS, the CLib initiation SWI, and I’ve managed to figure the two chunk sizes. I’ve yet to confirm the functions match later CLib’s and have no information around any functional differences in the CLib functions themselves. If people could keep an eye out for an original CLib rev.1 manual, I’d really appreciate a copy so I can document it properly. |
Steve Pampling (1551) 8170 posts |
Hmmm, I have found references to the old original Norcroft compiler in the old Beeb related forums. Really speaking it’s the rollover from Beeb to Arc era you’re looking at isn’t it? You could ask Codemist – being academics they probably keep all manner of things in dusty cupboards. :) |
Steve Pampling (1551) 8170 posts |
Back on the original subject of the thread This manages to reproduce information from the ROL branch with the nice 26 bit module header that won’t work on RO5.x Understandable after a fashion since the modules link here is a dead end. Would a slightly updated version of the text from the DDE chapter 14 be in order here, or has someone done a newer version already that hasn’t made it to the web documentation? |
Jon Abbott (1421) 2651 posts |
When I get a chance I’ll add the documentation to the Wiki, I’m surprised it’s not there already though. I guess not many people are writing Modules these days. |
Peter Howkins (211) 236 posts |
“Not old enough I’m afraid, need to back to 87/88 rev. 1 of C for APCS-A / M” There is a small amount about aps-a/m on page 475/476 of the acorn c3 (1989) manual here. |
Steve Pampling (1551) 8170 posts |
I suppose anyone trying in the BASIC assembler and following the documentation would fall at the hurdle of not including the header entries all the way through to 0×30 or possibly end up including 26 bit initialisation and finalisation code as per current documentation. If they have the DDE and follow the examples in there they would be OK, but that presupposes the proto-programmer investing in the DDE just for a bit of hacking around. |
Rick Murray (539) 13840 posts |
I began this: https://www.riscosopen.org/wiki/documentation/show/File%20formats:%20Relocatable%20Module Must get around to finishing it, but I wanted to take apart the OS to verify that what the documentation says is indeed what happens. Of specific note is the extended service call method. TBH – I’m not sure a programmer “hacking around” with writing modules is a great idea. A certain poltergeist might tell me that is elitist, but given that modules run alongside the kernel with the same abilities, we can’t rely upon the OS to catch faults. The usual fault behaviour is a freeze. I don’t want to dissuade people from writing modules, but the RMA isn’t a place to go timidly and without a road map. And maybe guns too. |
Steve Pampling (1551) 8170 posts |
I’m thinking the numbering being in decimal and no hex reference needs changing. Referencing 26 modules as a legacy situation would be good and pointing out that 26/32 neutral is possible with proper coding. Simplest coding would be 32 bit only.
He’d be right, it’s elitist. I wonder how many times Jon has stiffed his test machine while working on ADFFS, or how colourful the language was… Now when it comes to putting the “finished” item out there then it does need care, but initial work? Really? |
Rick Murray (539) 13840 posts |
The point isn’t that they might stiff the machine – God knows I have done it enough times for a variety of dumb reasons. |
Colin (478) 2433 posts |
You don’t have to be a beginner to get things to fail in unexpected ways. The first thing I did on my pi was solder a reset button to it. The reset button on my iyonix is a small hole in the front of a shiny black box. The box is in the dark under my table. I had to put masking tape around the hole so I could see where to poke the matchstick I keep by my side. Stiffing a machine is a fact of life when programming modules – how else would you know when they are working :-) |
G0ST (2668) 79 posts |
It’s just a start it might contain errors and not finished =) |
Steve Pampling (1551) 8170 posts |
You have references to 26 bit style module headers. The correct 32 bit header style is what you used in the filer module work and is below. Note the extra header entries, paticularly the entry for the flags word. Header |
Rick Murray (539) 13840 posts |
And we’re the ones who know (usually!) what we’re doing. My remark was not meant to be elitist, it was meant to be a suggestion that writing modules is not a thing to take lightly. Especially when there are documents that no longer (correctly) apply. As for your Pi’s button… Isn’t this normal? ;-) |
David Pitt (102) 743 posts |
The 32bit module header from ROOL’s PRM, File formats: Relocatable Module |