This is the procedure to use if you want to run RISC OS 5.27 on the Pi 4B but need to construct the SD card image from Windows/macOS/Linux (i.e. you haven’t got another RISC OS machine).
You will need the following items:
[pi4]
enable_gic=1
[all]
The file should look like this when you have finished:
[pi4]
enable_gic=1
[all]
disable_overscan=1
fake_vsync_isr=1
framebuffer_swap=0
gpu_mem=64
init_emmc_clock=100000000
ramfsfile=CMOS
ramfsaddr=0x508000
sdtv_mode=2
kernel=RISCOS.IMG
max_framebuffer_width=2560
max_framebuffer_height=1440
hdmi_pixel_freq_limit=25000000000
Card preparation is now complete. Remember to dismount the SD card before unplugging it.
You will need EITHER a USB-C hub with Power Delivery (this may only work with newer Pi 4 board revisions)1 OR an alternative method of powering the Pi 4 (e.g. via the GPIO pins) so that a conventional USB hub can be used.
Problems you may experience:
1 If you have board revision 1.1 or 1.2, you may have to supply power by another means (e.g. via the GPIO pins).
2 If you are still experiencing problems with low screen resolution, have a look at the Video options page on the Raspberry Pi website.
See Using RISC OS on the Raspberry Pi for information applicable to all models of Raspberry Pi, including the Pi 4.