Search found 92 matches

by Phlamethrower
Sat Nov 03, 2018 1:15 pm
Forum: programming
Topic: The Dreaded goto
Replies: 4
Views: 264

Re: The Dreaded goto

When goto's become ugly/confusing I tend to try and restructure the code into a subroutine, so that the goto's become return's: static inline int cat_name_cmp(const char *nam_ptr, const char *cat_ptr) { const char *cat_nxt = cat_ptr + 16; do { char cat_ch = *cat_ptr++; char nam_ch = *nam_ptr++; if (...
by Phlamethrower
Thu Nov 01, 2018 7:10 pm
Forum: software
Topic: RISC OS relicensed: now under Apache 2.0!
Replies: 81
Views: 2250

Re: RISC OS relicensed: now under Apache 2.0!

If that's how you choose to interpret it, then I guess it's up to you. Seems you read the first two sentences you quoted but not the third - which clearly (I thought) explained that it was a different focus. I think that wasn't as clear from your last post. I took your "retro OS" comment from one o...
by Phlamethrower
Thu Nov 01, 2018 2:08 pm
Forum: software
Topic: RISC OS relicensed: now under Apache 2.0!
Replies: 81
Views: 2250

Re: RISC OS relicensed: now under Apache 2.0!

So I'm wondering, what would the development focus be for a "retro" hobby OS version of RISC OS? Are they incompatible with the above, or have I misunderstood you and your "retro" hobby OS is actually my "modern" hobby OS? I think this has been answered already above but just to be direct: It's not...
by Phlamethrower
Wed Oct 31, 2018 9:43 pm
Forum: software
Topic: RISC OS relicensed: now under Apache 2.0!
Replies: 81
Views: 2250

Re: RISC OS relicensed: now under Apache 2.0!

It would be great if the contributors to this thread could step back and take a breath. Normally the atmosphere here on StarDot is positive and encouraging. Apologies if I brought things down a bit. I know I have been part of "the problem" at times, and in the long run that's never likely to work o...
by Phlamethrower
Wed Oct 31, 2018 2:03 pm
Forum: software
Topic: RISC OS relicensed: now under Apache 2.0!
Replies: 81
Views: 2250

Re: RISC OS relicensed: now under Apache 2.0!

The only necessity for the DDE is if you want to rebuild the whole ROM. If you really want to develop one of the OS modules, most of them are compilable for softloading, and this is (at least theoretically) possible with GCC. Do ROOL accept GCC code? I was under the impression OS ROM code must use ...
by Phlamethrower
Wed Oct 31, 2018 12:17 am
Forum: software
Topic: RISC OS relicensed: now under Apache 2.0!
Replies: 81
Views: 2250

Re: RISC OS relicensed: now under Apache 2.0!

For someone to sponsor a bounty of that size would mean that you'd have to have some sort of viable business model to give you a sizeable ROI that was critical for that bounty to be completed AND be something only RISC OS could do. I can't think of any situation that would make that a long term via...
by Phlamethrower
Tue Oct 30, 2018 9:11 pm
Forum: software
Topic: RISC OS relicensed: now under Apache 2.0!
Replies: 81
Views: 2250

Re: RISC OS relicensed: now under Apache 2.0!

It was the ROOL talk (or perhaps both talks?)

https://youtu.be/110El6TbMY0?t=1000
by Phlamethrower
Mon Oct 29, 2018 9:37 pm
Forum: software
Topic: RISC OS relicensed: now under Apache 2.0!
Replies: 81
Views: 2250

Re: RISC OS relicensed: now under Apache 2.0!

Remember that there are still a few closed-source components (at least MbufManager, Resolver and ShareFS). They're on ROOL's list of things to sort out, but until that happens you're going to be left a bit short if you're interested in a fully open-source OS.
by Phlamethrower
Wed Oct 17, 2018 1:13 pm
Forum: hardware
Topic: MEMC1A timeline and documentation
Replies: 7
Views: 402

Re: MEMC1A timeline and documentation

I'd be interested in seeing a summary of the differences between MEMC and MEMC1A. It looks like some of the differences are: Improved performance (mostly due to implementing proper fixes for some bugs that MEMC used workarounds for?) Support for chaining multiple MEMC's together to allow for >4MB of...
by Phlamethrower
Tue Oct 09, 2018 9:02 pm
Forum: programming
Topic: Ray Traced Spheres
Replies: 26
Views: 983

Re: Ray Traced Spheres

Nice!

One easy optimisation: Move line 130 down to 165 (or just get rid of the pp variable completely, since it's only used once)
by Phlamethrower
Mon Oct 08, 2018 12:32 pm
Forum: general
Topic: A new article about the first ARM processors
Replies: 14
Views: 905

Re: A new article about the first ARM processors

A few factual mistakes: "RSUB R1, R0, R0 shl 6" - the correct mnemonic for reverse subtract is RSB. I don't think I've ever seen an assembler which accepts "RSUB". "You can load only 12 bits at a time, although the constant can be inverted and shifted." - you can only load 8 bits at a time, since 4 ...
by Phlamethrower
Fri Sep 21, 2018 5:15 pm
Forum: emulators
Topic: RPCEmu 0.9.0 and Macs - beta testers wanted
Replies: 61
Views: 3017

Re: RPCEmu 0.9.0 and Macs - beta testers wanted

There was a "mailing list glitch" recently, so if you don't get any feedback in the next day or two then it's probably worth trying to send it again (or a test message, at least)

http://www.riscos.info/index.php?title= ... itch_fixed
by Phlamethrower
Mon Sep 17, 2018 12:13 pm
Forum: general
Topic: Remarkable videos recently posted on Youtube
Replies: 180
Views: 19304

Re: Remarkable videos recently posted on Youtube

davidb wrote:
Tue Sep 04, 2018 1:50 pm
The Centre for Computing History has put up a few interesting videos related to ARM recently. Here's one that I found quite intriguing: Historic ARM Presentation to Apple Computer - 1992.
Interesting to learn about the genesis of some of the ARM6's features - thanks for bringing it up!
by Phlamethrower
Wed Sep 12, 2018 12:37 pm
Forum: general
Topic: 4corn update 12/09/2017 - 8 Unpublished/draft manuals
Replies: 1
Views: 156

Re: 4corn update 12/09/2017 - 8 Unpublished/draft manuals

4corn update 12/09/2017
I think you've been spending too long looking at old documents - it's 2018, not 2017!
by Phlamethrower
Tue Sep 11, 2018 9:19 pm
Forum: other vintage computer hardware, software and games
Topic: Acorn games on other platforms
Replies: 16
Views: 573

Re: Acorn games on other platforms

There's an Iconbar thread with a few examples of Arc games that made it to other platforms. You might need to do a bit of digging to get working URLs, though. https://www.iconbar.com/forums/viewthread.php?threadid=11135&page=3#110631 There's also 1992 Olympics tie-in Quest for Gold, which appeared o...
by Phlamethrower
Mon Sep 03, 2018 9:02 pm
Forum: programming
Topic: BBC BASIC integer arithmetic
Replies: 52
Views: 897

Re: BBC BASIC integer arithmetic

Somebody knowledgeable about the limitations of floating-point arithmetic wouldn't find them surprising, but they ought to be very surprised by what Acorn's BASICs do with my example! Someone familiar with Acorn BASIC wouldn't be surprised by Acorn BASIC's behaviour either. Horses for courses :) Th...
by Phlamethrower
Mon Sep 03, 2018 6:47 pm
Forum: programming
Topic: BBC BASIC integer arithmetic
Replies: 52
Views: 897

Re: BBC BASIC integer arithmetic

there are a great many number of unexpected and potentially dangerous things that can go wrong with traditional floating point arithmetic as well. Sooner or later the programmer has to learn that these issues exist. Can you give an example? If you're thinking of the well-known issues associated wit...
by Phlamethrower
Mon Sep 03, 2018 1:22 pm
Forum: programming
Topic: BBC BASIC integer arithmetic
Replies: 52
Views: 897

Re: BBC BASIC integer arithmetic

Can anybody offer an explanation for why Acorn/Sophie might have felt that such a (superficially) unhelpful behaviour is desirable? The best I can think of is that it was born from a desire to emulate the behaviour of the CPU. The 6502 integer addition/subtraction instructions wrap, therefore BASIC...
by Phlamethrower
Fri Aug 24, 2018 12:46 pm
Forum: other vintage computer hardware, software and games
Topic: Calling conventions for functions on various architectures?
Replies: 18
Views: 531

Re: Calling conventions for functions on various architectures?

My understanding was that on APCS at least 4(?) function arguments/parameters were passed in registers. Yes, the basic approach is that the first four (integer) values are passed in registers, with the rest being pushed to the stack. But there are many different variants of APCS, both for 32bit and...
by Phlamethrower
Wed Aug 22, 2018 11:02 pm
Forum: programming
Topic: Dispatch tables...
Replies: 5
Views: 357

Re: Dispatch tables...

I haven't looked at the algorithms in any detail, but for current RISC OS versions: SWIs number -> handler lookup is via a hash table (mapping to handlers for each SWI chunk), except for kernel SWIs which use a lookup table for each SWI number Interrupt handlers and vector claimants use arrays (inde...
by Phlamethrower
Mon Aug 20, 2018 12:42 pm
Forum: emulators
Topic: [SOLVED] RPCEmu and Hard Disc images
Replies: 3
Views: 367

Re: RPCEmu and Hard Disc images

I don't understand the underlying issue, all I know is that real hard disc images need tweaking a bit to work in RPCEmu.

https://www.iconbar.com/forums/viewthre ... adid=12152
by Phlamethrower
Mon Aug 20, 2018 12:15 pm
Forum: software
Topic: Unreleased games
Replies: 41
Views: 2511

Re: Unreleased games

Perhaps someone with more time than I, would like to try it and come up with a list of what the keys do. Not sure if it's true for all versions, but the VOTI release of the designer had a section of the BASIC program that contained a listing of the controls (probably accessible in-editor by pressin...
by Phlamethrower
Sun Aug 19, 2018 10:05 pm
Forum: software
Topic: Unreleased games
Replies: 41
Views: 2511

Re: Unreleased games

On the subject of "Unreleased games", were Stunt Racer 2000 Extra Tracks Series 3 or the Stunt Racer 2000 Track Designer ever released? I have both, which could probably be released if someone is prepared to test them to confirm they work. I don't know if the track designer was ever officially rele...
by Phlamethrower
Sat Aug 18, 2018 9:01 pm
Forum: programming
Topic: BBC BASIC INTERPRETER differences between versions on Acorn/RISC OS machines (links)
Replies: 3
Views: 243

Re: BBC BASIC INTERPRETER differences between versions on Acorn/RISC OS machines (links)

RISC OS 5 Improvements to BASIC 5: (BASIC V) BASIC 1.32 -: https://web.archive.org/web/20111227182632/http://www.iyonix.com/32bit/BASIC.shtml (Archive copy) (I'm not sure what other improvements were made in Risc OS Open..) Conveniently, the "open" part of the name means you can just check the CVS ...
by Phlamethrower
Sat Aug 18, 2018 12:21 pm
Forum: programming
Topic: Floating point representation examples?
Replies: 8
Views: 535

Re: Floating point representation examples?

RISC OS BASIC contains code for converting to and from 5-byte and IEEE double precision - if you can decipher the sources. https://www.riscosopen.org/viewer/view/castle/RiscOS/Sources/Programmer/BASIC/s/Stmt2?rev=1.18#l1842 The code at lines 1856-1865 convert 5-byte floats to double precision, lines...
by Phlamethrower
Thu Aug 16, 2018 12:21 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC V for Linux with SDL: V1.21.16 released
Replies: 380
Views: 12264

Re: Matrix Brandy BASIC V for Linux with SDL: V1.21.9 released

One difference between this and RISC OS 3.71 (which is what I have running in RPCEmu) is that in RISC OS, setting the eigen value to values other than 1 alter the drawing coordinates but the mouse coordinates are NOT changed. In Brandy, both are changed keeping the mouse in step with the drawing. I...
by Phlamethrower
Wed Aug 15, 2018 4:19 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC V for Linux with SDL: V1.21.16 released
Replies: 380
Views: 12264

Re: Matrix Brandy BASIC V for Linux with SDL: V1.21.9 released

If you're after a way of using arbitrary modes, it might be worth improving Brandy's support for the extensions to the MODE statement that were introduced in RISC OS 3.5: MODE <n> If the unsigned value of N is less than 256, it's treated as a mode number. Otherwise, it's treated as a pointer to a mo...
by Phlamethrower
Tue Aug 14, 2018 7:22 pm
Forum: software
Topic: !Tracker music software
Replies: 22
Views: 658

Re: !Tracker music software

The one I'm most familiar with is APTracker, by Andrew Pepperell (but based on work by Hugo Fiennes, Fabrice Mercier, and Matt Farrow, according to the docs). Although it presents a wimp interface by default, you can switch to the full-screen edit/play mode by adjust-clicking the iconbar icon. You c...
by Phlamethrower
Sun Aug 12, 2018 10:26 am
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC V for Linux with SDL: V1.21.16 released
Replies: 380
Views: 12264

Re: Matrix Brandy BASIC V for Linux with SDL: V1.21.9 released

Don't forget that RISC OS has OS_Byte 112/113 for controlling screen banking. It's not quite the same functionality as *REFRESH, but if the intention is to keep Matrix Brandy programs compatible with RISC OS BASIC (and vice-versa) then supporting those calls would be useful. Richard Russell's BASIC...
by Phlamethrower
Sun Aug 12, 2018 12:55 am
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC V for Linux with SDL: V1.21.16 released
Replies: 380
Views: 12264

Re: Matrix Brandy BASIC V for Linux with SDL: V1.21.9 released

Don't forget that RISC OS has OS_Byte 112/113 for controlling screen banking. It's not quite the same functionality as *REFRESH, but if the intention is to keep Matrix Brandy programs compatible with RISC OS BASIC (and vice-versa) then supporting those calls would be useful. Richard Russell's BASICs...