You can shift-double click on any file in order to load it into the current text editor.
You can also load files into applications by dragging them to the relevant icon on the icon bar.
Search found 121 matches
- Sun Aug 23, 2020 11:06 am
- Forum: 32-bit acorn hardware
- Topic: A3010 FOR A FROG
- Replies: 13
- Views: 959
- Thu Aug 20, 2020 6:32 pm
- Forum: 32-bit acorn hardware
- Topic: A3010 FOR A FROG
- Replies: 13
- Views: 959
Re: A3010 FOR A FROG
Copy & paste isn't very well supported in RISC OS 3, so I'm not sure that would work. The method I was intending you to use was to save the file and then double-click it. Double-clicking a BASIC file will automatically start BASIC and then load and run the program. The file must have its file ty...
- Thu Aug 20, 2020 1:56 pm
- Forum: 32-bit acorn hardware
- Topic: A3010 FOR A FROG
- Replies: 13
- Views: 959
Re: A3010 FOR A FROG
If you're a complete RISC OS newbie, it's probably worth taking a look at the RISC OS 3 User Guide & "User Guide Applications Guide". You can find copies of them on 4corn: http://www.4corn.co.uk/articles/docs/ There's also a copy of the A3010 Welcome Guide there, which contains pin-out...
- Tue Aug 04, 2020 10:30 am
- Forum: 32-bit acorn software: other
- Topic: Roll your own RISC OS 3.1x
- Replies: 11
- Views: 3357
Re: Roll your own RISC OS 3.1x
The problem with SharedCLibrary is that the compiler is incapable of producing read-only, position-independent code. It can produce read-only code, and it can produce position-independent code, but it can't do both at the same time. Position-independent code is supported by having the program run a ...
- Wed Jul 08, 2020 11:12 am
- Forum: 32-bit acorn hardware
- Topic: Iyonix video card
- Replies: 3
- Views: 518
Re: Iyonix video card
Another thing to bear in mind is that historically RISC OS has used a pixel format where the low bits of the pixel are the red channel and the high bits are the blue channel. This is the opposite to what the nVidia cards used, and would have resulted in a red/blue swapped display. On early cards (Ge...
- Wed Jul 08, 2020 10:27 am
- Forum: 32-bit acorn hardware
- Topic: RISC OS 3.20 ROM's?
- Replies: 161
- Views: 20502
Re: RISC OS 3.20 ROM's?
I have absolutely no idea what the last two words in ROM do, so I haven't touched them. Some kind of 64bit CRC going by the Romlinker source code (https://gitlab.riscosopen.org/RiscOS/Utilities/Release/romlinker/-/blob/master/c/makerom#L561), but Romlinker is very definitely calculating them incorr...
- Wed Jun 10, 2020 2:28 pm
- Forum: 8-bit acorn emulators
- Topic: Threads and emulators
- Replies: 38
- Views: 2518
Re: Threads and emulators
I remember that a few years ago I read an article about an emulator that was able to improve its performance either by implementing threading or decoupling some of the processing (e.g. so processing of each component is "chunky" instead of round-robin on every clock cycle). I'm fairly cert...
- Tue Apr 28, 2020 11:55 am
- Forum: 32-bit acorn software: other
- Topic: How Many Directory Levels Can the RISC OS Desktop Filer Show?
- Replies: 4
- Views: 598
Re: How Many Directory Levels Can the RISC OS Desktop Filer Show?
I believe the limit for the desktop is around 240 characters, because so much of the desktop is reliant on passing file/path names around in Wimp messages (which have a max size of 256 characters). However I think the "not enough stack to call filing system" error is something different: T...
- Mon Mar 02, 2020 7:00 pm
- Forum: off-topic
- Topic: Memory for old rope
- Replies: 3
- Views: 653
Re: Memory for old rope
Also this 1965 documentary from MIT. At around 12:20 they start getting into the manufacturing and testing processes. Amazing stuff.
https://www.youtube.com/watch?v=ndvmFlg1WmE
https://www.youtube.com/watch?v=ndvmFlg1WmE
- Fri Aug 16, 2019 10:35 am
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
(As a total aside, I also notice that time_t is 32-bits so will fall foul of the Y2038 bug...) Apparently that's a common limitation - POSIX defines time_t as an "unsigned long", and there's been no real consensus on how to fix it for platforms where long is 32 bits. So different OSes hav...
- Wed Aug 14, 2019 11:51 am
- Forum: programming
- Topic: !GCC on RISC OS with -O2 and cexpf
- Replies: 5
- Views: 821
Re: !GCC on RISC OS with -O2 and cexpf
Which version of GCC? I don't think I've run into any problems like that (but, I'm not sure if I've ever compiled anything that uses complex numbers)
- Mon Aug 05, 2019 7:02 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
The "negative pitch correlates to frequency in Hz" is a feature of the Sound_Control / Sound_ControlPacked SWI that SOUND is just a wrapper around (and really the key thing is for the lower 16 bits of the pitch to be between &8000 and &FFFF) http://www.riscos.com/support/developers...
- Wed Jul 24, 2019 4:54 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
though I struggle to be convinced that getting a correct answer than a wrap-around is a bug! True - without a proper specification for the BBC BASIC language this is all conjecture, and different implementations are free to do as they please. BASIC VI will quite happily allow me to add 2 integer co...
- Wed Jul 24, 2019 4:05 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Due to the way Brandy works, I can't make it precisely match BASIC VI's behaviour, either it wraps for immediate integers and integer variables, or it doesn't, I can't separate them into wrapping on integer variables but not immediate integers. I think that's one variation I'm just going to have to...
- Wed Jul 24, 2019 3:09 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
&CC00000 is an approximation of 2^31/10 (&CCCCCCC), chosen because &CC00000 can be used as an immediate value in the CMP instruction. It's checking to see if the next digit will cause an overflow Oh, so it's only used in decimal to binary comversion? That's not at all the area of code I...
- Wed Jul 24, 2019 1:51 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
So at some point during the code conversion process the &CC00000 threshold was added, and the logic for coercing the number into an integer was removed. Can you explain how this threshold works? I don't know about Brandy but there's nothing similar in my BASICs: I allow an integer overflow to o...
- Wed Jul 24, 2019 1:02 am
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
OK, let me rephrase: It was a conscious choice to change the code, but it wasn't intended for it to change the arithmetic behaviour. Wouldn't the minimum-effort solution have been to leave the parsing code substantially unchanged when updating from 40-bit to 64-bit floats, or was that impossible for...
- Tue Jul 23, 2019 10:29 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC V for Linux with SDL: V1.21.21 released
That Acorn modified it in BASIC VI may suggest they felt the same. I don't think it was a conscious choice to modify the behaviour. It's all down to whether the expression parser decides to classify the number as being integer or floating point (and thus whether the subtraction is integer or floati...
- Wed Jul 17, 2019 11:23 am
- Forum: new projects and releases: demoscene
- Topic: Wave Runner Demo Details
- Replies: 20
- Views: 3131
Re: Wave Runner Demo Details
A link to the demo would be useful.
Nice use of animated GIFs
Nice use of animated GIFs

- Sat Jul 13, 2019 8:47 pm
- Forum: 32-bit acorn software: other
- Topic: OS Version
- Replies: 14
- Views: 1570
Re: OS Version
Yes. There are a couple of kernel workspace locations which the routine writes to (which will generally be read-only from user mode), and on Archimedes machines if the screen is scrolled then some of the screen may be inaccessible from user mode.
- Sat Jul 13, 2019 12:10 pm
- Forum: 32-bit acorn software: other
- Topic: OS Version
- Replies: 14
- Views: 1570
Re: OS Version
The OS's horizontal line routine should work - I've used it myself under RISC OS 5 (and I'm fairly certain the OS will be using it itself). Can you share your code?
- Mon Jul 08, 2019 3:50 pm
- Forum: general
- Topic: Today I received.....
- Replies: 6133
- Views: 701123
Re: Today I received.....
That's the first I've heard of that approach as well. I can't find any explanations for why some of the solutions work (I guess it's just a slightly dodgy electrical connection for the pixel?), but it's good to know that there are a few tried-and-tested solutions available. https://www.wikihow.com/F...
- Mon Jul 08, 2019 12:12 pm
- Forum: 32-bit acorn hardware
- Topic: A3010 (VGA monitortype) - LCD won't sync
- Replies: 8
- Views: 1217
Re: A3010 (VGA monitortype) - LCD won't sync
When getting my A3010 to work with the monitors I start with a 'power on delete'. This sets the monitor type to Auto and mode to be VGA. Most LCD monitors will work with this setting and show a desk top. It's been a long time since I've touched an Archimedes, but if you're setting the monitor type ...
- Fri Jun 14, 2019 9:44 am
- Forum: 32-bit acorn software: other
- Topic: Trying to find a procedurally generated text adventure I may have Imagined - Billion?
- Replies: 4
- Views: 875
Re: Trying to find a procedurally generated text adventure I may have Imagined - Billion?
You didn't hallucinate it (unless it was a shared hallucination!). I think it was distributed via magazine cover disc back in the day (mid to late nighties). I'll track it down when I get home tonight (unless someone else beats me to it).
- Tue May 14, 2019 12:51 pm
- Forum: modern implementations of classic programming languages
- Topic: BBC BASIC for SDL 2.0 version 1.03a released
- Replies: 12
- Views: 2636
Re: BBC BASIC for SDL 2.0 version 1.03a released
Correct, RISC OS BASIC is still written in assembler. ROOL converting it to C++ would be an odd choice, since the compiler that's used for ROM builds has abysmal C++ support (it's reliant on cfront!). C would be more believable, but even then it would be an odd choice since there are other component...
- Wed Mar 06, 2019 10:48 pm
- Forum: 32-bit acorn software: other
- Topic: Detecting Risc PC vs earlier machines in assembly code
- Replies: 12
- Views: 1626
Re: Detecting Risc PC vs earlier machines in assembly code
Detecting Archimedes vs. newer machines is easy - the MRS & MSR instructions are NOPs in ARMv2, so you can do something like: MOVS R0,#0 MRS R0,CPSR CMP R0,#0 ; NE = IOMD-era, EQ = IOC-era (I'm using MOVS for the first instruction instead of MOV just to guarantee that one of the PSR bits is set ...
- Fri Feb 08, 2019 1:29 pm
- Forum: 32-bit acorn software: other
- Topic: Sprite routines in MODE 13 - how did YOU do it?
- Replies: 34
- Views: 7146
Re: Sprite routines in MODE 13 - how did YOU do it?
IIRC "generate 4 different copies of the sprite at different pixel offsets" is the basic approach that was used by FastSpr sprite plotter used by Asylum and Oddball. It's also the approach that I used myself back in the day (not sure exactly where I discovered the approach - probably I jus...
- Wed Jan 09, 2019 10:39 am
- Forum: 32-bit acorn hardware
- Topic: "Arcflash" A3000/A3xx/A4xx/A5xx/A5000 in-system programmable ROM -- any interest?
- Replies: 179
- Views: 17608
Re: A3000 in-system programmable ROM -- any interest?
(That said, http://armconverter.com/hextoarm/ decodes the EAE00069 instruction as "b #FF8001AC" (I guess b #0x38001AC when you mask out everything above bit 26) when executed at 0, and "b #0x30001AC" when run at 0x3800000, so maybe it will only work when run from 0.) Yeah, B and...
- Thu Dec 06, 2018 4:27 pm
- Forum: archive requests
- Topic: Dungeon of Doom from Usborne
- Replies: 2
- Views: 744
Re: Dungeon of Doom from Usborne
I was going to link you to the (textless) PDFs that Usborne released a while ago - but on reviewing the thread here on *., it looks like someone's already sorted out a BBC version of Dungeon of Doom:
viewtopic.php?p=131258#p131258
viewtopic.php?p=131258#p131258
- Sat Nov 03, 2018 1:15 pm
- Forum: programming
- Topic: The Dreaded goto
- Replies: 4
- Views: 935
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 (...