AnyMode v0.04b released - for the RPi
Steve Harrison (1685) 27 posts |
Ok, it’s not like me to release an update only 1 day after the first release… However, AnyMode v0.04b is here – and it is significantly better than v0.03, it is completely stable, and now works for every RISC OS screen mode. Download AnyMode v0.04b from www.pi-star.co.uk/anymode Reason for this release is because tonight I identified the bug which caused problems with MODE 13… and by fixing it, this has also solved the other problems (MODE 7 and typing “MODE MODE” in BASIC). In my testing tonight, I set my Boot to load a blank mode definition file (well almost blank – it contained just one mode, 640×480, since a blank file was not accepted by DisplayManager). Then I included AnyMode in $.!Boot.Choices.Boot.PreDesk. After reseting, and changing resolution back to my usual 1280 × 1024 (and doing the same in !Boot), my RPi is now running successfully and functioning correctly in every screen mode. This is really all you need on the RPi – no more mode definition files. Try it and see. Steve |
Jeffrey Lee (213) 6048 posts |
Unless you want 64K colour modes ;-) See here for details on the new block format that Service_EnumerateScreenModes returns when it needs to describe modes that use the new pixel formats. Also, a word on the “width divisible by 16” limitation – the actual limitation (or at least the one that BCMVideo enforces) is that the width (in bytes) must be divisible by 32. So that’s why 1360×768 will work in 16M colours but not 256 colours. |
Steve Harrison (1685) 27 posts |
Thanks Jeffrey! Ah, great to hear support for 64K modes is available on the Pi – I hadn’t realised this… I must update to RO5.21 in that case, then add support to AnyMode for block format 1. TBH I’d only guessed at ‘divisible by 16’ and suspected it may be byte/word related. I’ll correct this at the next update. |
Steve Harrison (1685) 27 posts |
v0.05b is now released at www.pi-star.co.uk/anymode This version supports 64K colour modes when running on RISC OS 5.21+ on the RPi. Also fixed the mode X resolution check, to correctly ensure the new mode width in bytes is divisible by 32. Enjoy! |
Andrew Conroy (370) 740 posts |
This is a great module, very useful, thanks. Is there any progress on the ‘*AddMode’ etc. commands? I can see they would be quite useful. |
Chris Dewhurst (1709) 167 posts |
Steve, when you have a minute can you drop me a line: editor (at) dragdrop (dot) co (dot) uk. I wanted to email you but can’t find your email address anywhere on your site or in the documentation. |
Steve Harrison (1685) 27 posts |
Chris, that’s because I keep a low profile, am being swamped with projects and work at the mo, but have dropped you an email. Andrew – glad you like this. I have made progress but stalled in the past month as have been focused on another project. However it is related, so am hoping to get something out around Easter. |
Steve Harrison (1685) 27 posts |
v0.06b now released, with added support for RPCEmu! Can now select any X and Y size screen mode under RPCEmu as well as the Raspberry Pi, with no need for a mode definition file. |
Steve Pampling (1551) 8170 posts |
Installed as a test, and noted I could use a custom mode to give more screen space without hitting the RPCEmu & PC iconbar redraw bug. Handy as a 1024 × 730 screen size on a laptop. Your planned commands would be handier still. |
Steve Harrison (1685) 27 posts |
Yes, that’s exactly the reason I got it running on RPCEmu :-) am working away from home a lot at the moment and have been using RPCEmu in full 1280×800 widescreen on the laptop! The *commands are definitely on the way, but have another project to finish first (LCDGameModes update and VIDC1 emulation). |
Steve Pampling (1551) 8170 posts |
No problem. This was just me looking for extra desktop area while firtling with some code. |
Clive Semmens (2335) 3276 posts |
. |
Colin Ferris (399) 1814 posts |
Hi Steve H – do you have a contact address – I have got ‘AnyMode’ working on VRPC-DL – plus some patches. |