Iyonix PC recognising 1023MB when 1GB of RAM is installed with RISC OS 5.28
Paolo Fabio Zaino (28) 1792 posts |
Just a quick question for who has done this already (just making sure everything is ok with my Iyonix): I just installed 1GB RAM and, with RISC OS 5.28 installed, at boot it recognise 1023MB. Is that correct? Thanks guys! |
David J. Ruck (33) 1495 posts |
Close enough! What is the total memory in K reported by Task Manager? |
Paolo Fabio Zaino (28) 1792 posts |
Hey Druck, That total seems to include the Video RAM on the PCI video card… Now 1,047,552K – 1,024,000K = 23,552K so not the amount of memory you’d expect on a video card… And obviously 1,047,552K – 32,768K = 1,014,784 so again an unexpected number. Finally if (for whatever reason) the video card has 24MB, then 1,047,552 – 24,576 = 1,022,976 which gets close to the 1023MB of the boot… So something looks a little weird… Is it some limitation on the Iyonix or is it something on RISC OS 5.28? |
Steve Fryatt (216) 2044 posts |
It’s been a while since I powered mine up and so this is from a dim memory, but doesn’t the Iyonix put the OS image from flash into RAM as part of its hardware/firmware boot sequence, removing that RAM from view in the process? |
Doug Webb (190) 1129 posts |
Just booted up my Iyonix that is flashed for 5.28 and get RISC OS 512MB in the start up screen. Once at the desktop task manager reports 524288K/512MB. Hope that helps. |
David J. Ruck (33) 1495 posts |
RISC OS doesn’t count any memory on the video card, so I think Steve’s explanation is the most plausible. Like Doug my 512MB Iyonix reports 512MB, so maybe it’s a rounding error when you get to 1GB. |
Steve Pampling (1551) 7921 posts |
I think ALL the RO5 releases copy the ROM into RAM and run from that. Paolo might recall that bit from the follow up to Rick reminding everyone about how to hack the RAM copy of the ROM – as published in his 2016 blog entry. (he linked to it again today) |
Paolo Fabio Zaino (28) 1792 posts |
Thanks everyone! :) So, about the ROM copying, I don’t think this is what is causing “The mystery of the missing 1MB”. The reason for this thought is that with 512MB it displays 512MB on boot (I re-tested mine with 512MB and it’s identical to Doug’s output, thanks Doug for pointing it out!). I’ve got confused too at the beginning with the ROM copy to RAM because, for example, the Kinetic Card on the RiscPC does that and RISC OS “removes” the used RAM from the total RAM at boot, but RISC OS 5 on the Iyonix does not remove it from the output. I also got confused with the RAM on the PCI card because (again) the RiscPC actually do add the video RAM to the total available on the boot message.
Yes I do and thanks for pointing it out. Anyway looks like it’s time to have a deeper look at: https://gitlab.riscosopen.org/RiscOS/Sources/Kernel/-/blob/master/s/HAL and https://gitlab.riscosopen.org/RiscOS/Sources/HAL/HAL_Tungsten/-/blob/master/s/RAM |
Steve Pampling (1551) 7921 posts |
Have fun. Interesting you should be looking in that when that area is basically part of the secure/non-secure discussion |